ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/packages/CaloReco/RawClusterBuilderGraph.h>
Public Member Functions | |
RawClusterBuilderGraph (const std::string &name="RawClusterBuilderGraph") | |
~RawClusterBuilderGraph () override | |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
int | End (PHCompositeNode *topNode) override |
Called at the end of all processing. | |
void | Detector (const std::string &d) |
void | set_threshold_energy (const float e) |
void | checkenergy (const int i=1) |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
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 | CreateNodes (PHCompositeNode *topNode) |
Private Attributes | |
RawClusterContainer * | _clusters |
float | _min_tower_e |
int | chkenergyconservation |
std::string | detector |
std::string | ClusterNodeName |
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 11 of file RawClusterBuilderGraph.h.
View newest version in sPHENIX GitHub at line 11 of file RawClusterBuilderGraph.h
RawClusterBuilderGraph::RawClusterBuilderGraph | ( | const std::string & | name = "RawClusterBuilderGraph" | ) |
Definition at line 115 of file RawClusterBuilderGraph.cc.
View newest version in sPHENIX GitHub at line 115 of file RawClusterBuilderGraph.cc
|
inlineoverride |
Definition at line 15 of file RawClusterBuilderGraph.h.
View newest version in sPHENIX GitHub at line 15 of file RawClusterBuilderGraph.h
Definition at line 23 of file RawClusterBuilderGraph.h.
View newest version in sPHENIX GitHub at line 23 of file RawClusterBuilderGraph.h
References chkenergyconservation.
|
private |
Definition at line 284 of file RawClusterBuilderGraph.cc.
View newest version in sPHENIX GitHub at line 284 of file RawClusterBuilderGraph.cc
References _clusters, PHCompositeNode::addNode(), ClusterNodeName, detector, PHNodeIterator::findFirst(), and PHWHERE.
Referenced by InitRun().
|
inline |
Definition at line 20 of file RawClusterBuilderGraph.h.
View newest version in sPHENIX GitHub at line 20 of file RawClusterBuilderGraph.h
Referenced by CEMC_Clusters(), HCALInner_Clusters(), and HCALOuter_Clusters().
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 279 of file RawClusterBuilderGraph.cc.
View newest version in sPHENIX GitHub at line 279 of file RawClusterBuilderGraph.cc
References Fun4AllReturnCodes::EVENT_OK.
|
overridevirtual |
Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.
Reimplemented from SubsysReco.
Definition at line 124 of file RawClusterBuilderGraph.cc.
View newest version in sPHENIX GitHub at line 124 of file RawClusterBuilderGraph.cc
References CreateNodes(), e, Fun4AllReturnCodes::EVENT_OK, and PHWHERE.
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 139 of file RawClusterBuilderGraph.cc.
View newest version in sPHENIX GitHub at line 139 of file RawClusterBuilderGraph.cc
References _clusters, _min_tower_e, Fun4AllReturnCodes::ABORTEVENT, RawClusterContainer::AddCluster(), RawCluster::addTower(), chkenergyconservation, detector, Fun4AllReturnCodes::DISCARDEVENT, e, Fun4AllReturnCodes::EVENT_OK, RawTowerGeom::get_center_x(), RawTowerGeom::get_center_y(), RawTowerGeom::get_center_z(), RawTower::get_energy(), RawCluster::get_id(), RawTower::get_id(), twrs::get_id(), RawTowerGeomContainer::get_phibins(), RawTowerGeomContainer::get_tower_geometry(), RawCluster::get_towermap(), RawClusterContainer::getClustersMap(), RawClusterContainer::getTotalEdep(), RawTowerContainer::getTotalEdep(), RawTowerContainer::getTower(), RawTowerContainer::getTowers(), RawCluster::identify(), PHMakeGroups(), PHWHERE, RawCluster::set_energy(), twrs::set_id(), twrs::set_maxphibin(), RawCluster::set_phi(), RawCluster::set_r(), RawCluster::set_z(), and Fun4AllBase::Verbosity().
|
inline |
Definition at line 22 of file RawClusterBuilderGraph.h.
View newest version in sPHENIX GitHub at line 22 of file RawClusterBuilderGraph.h
References _min_tower_e, and e.
|
private |
Definition at line 28 of file RawClusterBuilderGraph.h.
View newest version in sPHENIX GitHub at line 28 of file RawClusterBuilderGraph.h
Referenced by CreateNodes(), and process_event().
|
private |
Definition at line 30 of file RawClusterBuilderGraph.h.
View newest version in sPHENIX GitHub at line 30 of file RawClusterBuilderGraph.h
Referenced by process_event(), and set_threshold_energy().
|
private |
Definition at line 31 of file RawClusterBuilderGraph.h.
View newest version in sPHENIX GitHub at line 31 of file RawClusterBuilderGraph.h
Referenced by checkenergy(), and process_event().
|
private |
Definition at line 34 of file RawClusterBuilderGraph.h.
View newest version in sPHENIX GitHub at line 34 of file RawClusterBuilderGraph.h
Referenced by CreateNodes().
|
private |
Definition at line 33 of file RawClusterBuilderGraph.h.
View newest version in sPHENIX GitHub at line 33 of file RawClusterBuilderGraph.h
Referenced by CreateNodes(), Detector(), and process_event().