ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RawClusterBuilderFwd Class Reference

#include <coresoftware/blob/master/offline/packages/CaloReco/RawClusterBuilderFwd.h>

+ Inheritance diagram for RawClusterBuilderFwd:
+ Collaboration diagram for RawClusterBuilderFwd:

Public Member Functions

 RawClusterBuilderFwd (const std::string &name="RawClusterBuilder")
 
 ~RawClusterBuilderFwd () 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)
 
bool CorrectPhi (RawCluster *cluster, RawTowerContainer *towers, RawTowerGeomContainer *towergemom)
 

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")
 

Detailed Description

Definition at line 14 of file RawClusterBuilderFwd.h.

View newest version in sPHENIX GitHub at line 14 of file RawClusterBuilderFwd.h

Constructor & Destructor Documentation

RawClusterBuilderFwd::RawClusterBuilderFwd ( const std::string &  name = "RawClusterBuilder")

Definition at line 95 of file RawClusterBuilderFwd.cc.

View newest version in sPHENIX GitHub at line 95 of file RawClusterBuilderFwd.cc

RawClusterBuilderFwd::~RawClusterBuilderFwd ( )
inlineoverride

Definition at line 18 of file RawClusterBuilderFwd.h.

View newest version in sPHENIX GitHub at line 18 of file RawClusterBuilderFwd.h

Member Function Documentation

void RawClusterBuilderFwd::checkenergy ( const int  i = 1)
inline

Definition at line 26 of file RawClusterBuilderFwd.h.

View newest version in sPHENIX GitHub at line 26 of file RawClusterBuilderFwd.h

References chkenergyconservation.

bool RawClusterBuilderFwd::CorrectPhi ( RawCluster cluster,
RawTowerContainer towers,
RawTowerGeomContainer towergemom 
)
private

Definition at line 257 of file RawClusterBuilderFwd.cc.

View newest version in sPHENIX GitHub at line 257 of file RawClusterBuilderFwd.cc

References e, RawCluster::get_energy(), RawTower::get_energy(), RawTower::get_id(), RawTowerGeom::get_phi(), RawTowerGeomContainer::get_tower_geometry(), RawCluster::get_towers(), RawTowerContainer::getTower(), M_PI, phi, MATSCAN::phimin, RawCluster::set_phi(), and sum.

+ Here is the call graph for this function:

void RawClusterBuilderFwd::CreateNodes ( PHCompositeNode topNode)
private

Definition at line 314 of file RawClusterBuilderFwd.cc.

View newest version in sPHENIX GitHub at line 314 of file RawClusterBuilderFwd.cc

References _clusters, PHCompositeNode::addNode(), ClusterNodeName, detector, PHNodeIterator::findFirst(), and PHWHERE.

Referenced by InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void RawClusterBuilderFwd::Detector ( const std::string &  d)
inline

Definition at line 23 of file RawClusterBuilderFwd.h.

View newest version in sPHENIX GitHub at line 23 of file RawClusterBuilderFwd.h

References d, and detector.

Referenced by B0ECAL_Clusters(), BWD_Clusters(), EEMC_Clusters(), EEMCH_Clusters(), EHCAL_Clusters(), FEMC_Clusters(), and FHCAL_Clusters().

+ Here is the caller graph for this function:

int RawClusterBuilderFwd::End ( PHCompositeNode )
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 309 of file RawClusterBuilderFwd.cc.

View newest version in sPHENIX GitHub at line 309 of file RawClusterBuilderFwd.cc

References Fun4AllReturnCodes::EVENT_OK.

int RawClusterBuilderFwd::InitRun ( PHCompositeNode )
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 104 of file RawClusterBuilderFwd.cc.

View newest version in sPHENIX GitHub at line 104 of file RawClusterBuilderFwd.cc

References CreateNodes(), e, Fun4AllReturnCodes::EVENT_OK, and PHWHERE.

+ Here is the call graph for this function:

void RawClusterBuilderFwd::set_threshold_energy ( const float  e)
inline

Definition at line 25 of file RawClusterBuilderFwd.h.

View newest version in sPHENIX GitHub at line 25 of file RawClusterBuilderFwd.h

References _min_tower_e, and e.

Referenced by B0ECAL_Clusters(), BWD_Clusters(), EHCAL_Clusters(), FEMC_Clusters(), and FHCAL_Clusters().

+ Here is the caller graph for this function:

Member Data Documentation

RawClusterContainer* RawClusterBuilderFwd::_clusters
private

Definition at line 32 of file RawClusterBuilderFwd.h.

View newest version in sPHENIX GitHub at line 32 of file RawClusterBuilderFwd.h

Referenced by CreateNodes(), and process_event().

float RawClusterBuilderFwd::_min_tower_e
private

Definition at line 34 of file RawClusterBuilderFwd.h.

View newest version in sPHENIX GitHub at line 34 of file RawClusterBuilderFwd.h

Referenced by process_event(), and set_threshold_energy().

int RawClusterBuilderFwd::chkenergyconservation
private

Definition at line 35 of file RawClusterBuilderFwd.h.

View newest version in sPHENIX GitHub at line 35 of file RawClusterBuilderFwd.h

Referenced by checkenergy(), and process_event().

std::string RawClusterBuilderFwd::ClusterNodeName
private

Definition at line 38 of file RawClusterBuilderFwd.h.

View newest version in sPHENIX GitHub at line 38 of file RawClusterBuilderFwd.h

Referenced by CreateNodes().

std::string RawClusterBuilderFwd::detector
private

Definition at line 37 of file RawClusterBuilderFwd.h.

View newest version in sPHENIX GitHub at line 37 of file RawClusterBuilderFwd.h

Referenced by CreateNodes(), Detector(), and process_event().


The documentation for this class was generated from the following files: