ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4eval/PHG4DstCompressReco.h>
Public Member Functions | |
PHG4DstCompressReco (const std::string &name="PHG4DstCompressReco") | |
~PHG4DstCompressReco () override | |
int | InitRun (PHCompositeNode *topNode) override |
run initialization | |
int | process_event (PHCompositeNode *topNode) override |
event processing | |
void | AddHitContainer (const std::string &name) |
void | AddCellContainer (const std::string &name) |
void | AddTowerContainer (const std::string &name) |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | End (PHCompositeNode *) |
Called at the end of all processing. | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Init (PHCompositeNode *) |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. | |
void | Print (const std::string &="ALL") const override |
Public Member Functions inherited from Fun4AllBase | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. | |
virtual void | Name (const std::string &name) |
Sets the name of this module. | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual int | Verbosity () const |
Gets the verbosity of this module. | |
Private Member Functions | |
void | SearchG4HitNodes (PHCompositeNode *topNode) |
Private Attributes | |
PHG4TruthInfoContainer * | _truth_info |
std::set< std::string > | _compress_g4hit_names |
std::set< std::string > | _compress_g4cell_names |
std::set< std::string > | _compress_tower_names |
std::set< PHG4CellContainer * > | _g4cells |
std::set< PHG4HitContainer * > | _g4hits |
std::set< PHG4HitContainer * > | _keep_g4hits |
std::set< RawTowerContainer * > | _towers |
Additional Inherited Members | |
Public Types inherited from Fun4AllBase | |
enum | enu_Verbosity { VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3, VERBOSITY_A_LOT = 4, VERBOSITY_MAX = INT_MAX - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 17 of file PHG4DstCompressReco.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4DstCompressReco.h
PHG4DstCompressReco::PHG4DstCompressReco | ( | const std::string & | name = "PHG4DstCompressReco" | ) |
Definition at line 29 of file PHG4DstCompressReco.cc.
View newest version in sPHENIX GitHub at line 29 of file PHG4DstCompressReco.cc
|
inlineoverride |
Definition at line 21 of file PHG4DstCompressReco.h.
View newest version in sPHENIX GitHub at line 21 of file PHG4DstCompressReco.h
|
inline |
Definition at line 30 of file PHG4DstCompressReco.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4DstCompressReco.h
References _compress_g4cell_names.
Referenced by ShowerCompress().
|
inline |
Definition at line 29 of file PHG4DstCompressReco.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4DstCompressReco.h
References _compress_g4hit_names.
Referenced by ShowerCompress().
|
inline |
Definition at line 31 of file PHG4DstCompressReco.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4DstCompressReco.h
References _compress_tower_names.
Referenced by ShowerCompress().
|
overridevirtual |
run initialization
Reimplemented from SubsysReco.
Definition at line 40 of file PHG4DstCompressReco.cc.
View newest version in sPHENIX GitHub at line 40 of file PHG4DstCompressReco.cc
References _compress_g4cell_names, _compress_tower_names, _g4cells, _towers, _truth_info, Fun4AllReturnCodes::ABORTRUN, Fun4AllReturnCodes::EVENT_OK, and SearchG4HitNodes().
|
overridevirtual |
event processing
Reimplemented from SubsysReco.
Definition at line 78 of file PHG4DstCompressReco.cc.
View newest version in sPHENIX GitHub at line 78 of file PHG4DstCompressReco.cc
References _g4cells, _g4hits, _keep_g4hits, _towers, _truth_info, RawTower::clear_g4cells(), PHG4Shower::clear_g4hit_id(), PHG4Shower::clear_g4particle_id(), PHG4Shower::clear_g4vertex_id(), PHG4TruthInfoContainer::delete_particle(), PHG4TruthInfoContainer::delete_vtx(), Fun4AllReturnCodes::EVENT_OK, PHG4Hit::get_trkid(), PHG4Particle::get_vtx_id(), PHG4HitContainer::getHits(), PHG4TruthInfoContainer::GetSecondaryParticleRange(), PHG4TruthInfoContainer::GetSecondaryVtxRange(), PHG4TruthInfoContainer::GetShowerRange(), RawTowerContainer::getTowers(), hits(), particle, PHG4CellContainer::Reset(), and PHG4HitContainer::Reset().
|
private |
Definition at line 193 of file PHG4DstCompressReco.cc.
View newest version in sPHENIX GitHub at line 193 of file PHG4DstCompressReco.cc
References _compress_g4hit_names, _g4hits, _keep_g4hits, PHDataNode< T >::getData(), and PHNodeIterator::ls().
Referenced by InitRun().
|
private |
Definition at line 38 of file PHG4DstCompressReco.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4DstCompressReco.h
Referenced by AddCellContainer(), and InitRun().
|
private |
Definition at line 37 of file PHG4DstCompressReco.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4DstCompressReco.h
Referenced by AddHitContainer(), and SearchG4HitNodes().
|
private |
Definition at line 39 of file PHG4DstCompressReco.h.
View newest version in sPHENIX GitHub at line 39 of file PHG4DstCompressReco.h
Referenced by AddTowerContainer(), and InitRun().
|
private |
Definition at line 41 of file PHG4DstCompressReco.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4DstCompressReco.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 42 of file PHG4DstCompressReco.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4DstCompressReco.h
Referenced by process_event(), and SearchG4HitNodes().
|
private |
Definition at line 43 of file PHG4DstCompressReco.h.
View newest version in sPHENIX GitHub at line 43 of file PHG4DstCompressReco.h
Referenced by process_event(), and SearchG4HitNodes().
|
private |
Definition at line 45 of file PHG4DstCompressReco.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4DstCompressReco.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 36 of file PHG4DstCompressReco.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4DstCompressReco.h
Referenced by InitRun(), and process_event().