Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RawClusterBuilderGraph Class Reference

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

+ Inheritance diagram for RawClusterBuilderGraph:
+ Collaboration diagram for RawClusterBuilderGraph:

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 = std::numeric_limits<int>::max() - 10
}
 
- Protected Member Functions inherited from SubsysReco
 SubsysReco (const std::string &name="NONAME")
 

Detailed Description

Definition at line 11 of file RawClusterBuilderGraph.h.

View newest version in sPHENIX GitHub at line 11 of file RawClusterBuilderGraph.h

Constructor & Destructor Documentation

RawClusterBuilderGraph::RawClusterBuilderGraph ( const std::string &  name = "RawClusterBuilderGraph")
explicit

Definition at line 114 of file RawClusterBuilderGraph.cc.

View newest version in sPHENIX GitHub at line 114 of file RawClusterBuilderGraph.cc

RawClusterBuilderGraph::~RawClusterBuilderGraph ( )
inlineoverride

Definition at line 15 of file RawClusterBuilderGraph.h.

View newest version in sPHENIX GitHub at line 15 of file RawClusterBuilderGraph.h

Member Function Documentation

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

Definition at line 23 of file RawClusterBuilderGraph.h.

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

References chkenergyconservation, and i.

void RawClusterBuilderGraph::CreateNodes ( PHCompositeNode topNode)
private

Definition at line 283 of file RawClusterBuilderGraph.cc.

View newest version in sPHENIX GitHub at line 283 of file RawClusterBuilderGraph.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 RawClusterBuilderGraph::Detector ( const std::string &  d)
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().

+ Here is the caller graph for this function:

int RawClusterBuilderGraph::End ( PHCompositeNode )
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 278 of file RawClusterBuilderGraph.cc.

View newest version in sPHENIX GitHub at line 278 of file RawClusterBuilderGraph.cc

References Fun4AllReturnCodes::EVENT_OK.

int RawClusterBuilderGraph::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 123 of file RawClusterBuilderGraph.cc.

View newest version in sPHENIX GitHub at line 123 of file RawClusterBuilderGraph.cc

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

+ Here is the call graph for this function:

void RawClusterBuilderGraph::set_threshold_energy ( const float  e)
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 Acts::UnitConstants::e.

Member Data Documentation

RawClusterContainer* RawClusterBuilderGraph::_clusters
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().

float RawClusterBuilderGraph::_min_tower_e
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().

int RawClusterBuilderGraph::chkenergyconservation
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().

std::string RawClusterBuilderGraph::ClusterNodeName
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().

std::string RawClusterBuilderGraph::detector
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(), and process_event().


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