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

#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4intt/PHG4InttHitReco.h>

+ Inheritance diagram for PHG4InttHitReco:
+ Collaboration diagram for PHG4InttHitReco:

Public Member Functions

 PHG4InttHitReco (const std::string &name="PHG4InttHitReco")
 
 ~PHG4InttHitReco () override
 
int InitRun (PHCompositeNode *topNode) override
 module initialization
 
int process_event (PHCompositeNode *topNode) override
 event processing
 
void SetDefaultParameters () override
 set default parameter values
 
void Detector (const std::string &d)
 
- 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.
 
- Public Member Functions inherited from PHParameterInterface
 PHParameterInterface (const std::string &name)
 
 PHParameterInterface (const PHParameterInterface &)=delete
 
virtual ~PHParameterInterface ()
 
void set_paramname (const std::string &name)
 
void set_double_param (const std::string &name, const double dval)
 
double get_double_param (const std::string &name) const
 
void set_int_param (const std::string &name, const int ival)
 
int get_int_param (const std::string &name) const
 
void set_string_param (const std::string &name, const std::string &sval)
 
std::string get_string_param (const std::string &name) const
 
void UpdateParametersWithMacro ()
 
void SaveToNodeTree (PHCompositeNode *runNode, const std::string &nodename)
 
void PutOnParNode (PHCompositeNode *parNode, const std::string &nodename)
 

Protected Attributes

std::string m_Detector
 
std::string m_HitNodeName
 
std::string m_CellNodeName
 
std::string m_GeoNodeName
 
double m_Tmin
 
double m_Tmax
 
gsl_vector * m_LocalOutVec
 
gsl_vector * m_PathVec
 
gsl_vector * m_SegmentVec
 

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")
 
- Protected Member Functions inherited from PHParameterInterface
void set_default_double_param (const std::string &name, const double dval)
 
void set_default_int_param (const std::string &name, const int ival)
 
void set_default_string_param (const std::string &name, const std::string &sval)
 
void InitializeParameters ()
 

Detailed Description

Definition at line 16 of file PHG4InttHitReco.h.

View newest version in sPHENIX GitHub at line 16 of file PHG4InttHitReco.h

Constructor & Destructor Documentation

PHG4InttHitReco::PHG4InttHitReco ( const std::string &  name = "PHG4InttHitReco")

Definition at line 48 of file PHG4InttHitReco.cc.

View newest version in sPHENIX GitHub at line 48 of file PHG4InttHitReco.cc

References PHParameterInterface::InitializeParameters(), m_CellNodeName, m_Detector, m_GeoNodeName, m_HitNodeName, m_LocalOutVec, m_PathVec, and m_SegmentVec.

+ Here is the call graph for this function:

PHG4InttHitReco::~PHG4InttHitReco ( )
override

Definition at line 65 of file PHG4InttHitReco.cc.

View newest version in sPHENIX GitHub at line 65 of file PHG4InttHitReco.cc

References m_LocalOutVec, m_PathVec, and m_SegmentVec.

Member Function Documentation

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

Definition at line 31 of file PHG4InttHitReco.h.

View newest version in sPHENIX GitHub at line 31 of file PHG4InttHitReco.h

References d, and m_Detector.

int PHG4InttHitReco::InitRun ( PHCompositeNode topNode)
overridevirtual

module initialization

Reimplemented from SubsysReco.

Definition at line 72 of file PHG4InttHitReco.cc.

View newest version in sPHENIX GitHub at line 72 of file PHG4InttHitReco.cc

References PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, exit(), PHNodeIterator::findFirst(), PHParameterInterface::get_double_param(), PHG4CylinderGeomContainer::identify(), m_Detector, m_GeoNodeName, m_HitNodeName, m_Tmax, m_Tmin, Fun4AllBase::Name(), PHWHERE, PHParameterInterface::PutOnParNode(), PHParameterInterface::SaveToNodeTree(), PHParameterInterface::UpdateParametersWithMacro(), and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

void PHG4InttHitReco::SetDefaultParameters ( )
overridevirtual

set default parameter values

Implements PHParameterInterface.

Definition at line 432 of file PHG4InttHitReco.cc.

View newest version in sPHENIX GitHub at line 432 of file PHG4InttHitReco.cc

References PHParameterInterface::set_default_double_param().

+ Here is the call graph for this function:

Member Data Documentation

std::string PHG4InttHitReco::m_CellNodeName
protected

Definition at line 36 of file PHG4InttHitReco.h.

View newest version in sPHENIX GitHub at line 36 of file PHG4InttHitReco.h

Referenced by PHG4InttHitReco().

std::string PHG4InttHitReco::m_Detector
protected

Definition at line 34 of file PHG4InttHitReco.h.

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

Referenced by Detector(), InitRun(), and PHG4InttHitReco().

std::string PHG4InttHitReco::m_GeoNodeName
protected

Definition at line 37 of file PHG4InttHitReco.h.

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

Referenced by InitRun(), PHG4InttHitReco(), and process_event().

std::string PHG4InttHitReco::m_HitNodeName
protected

Definition at line 35 of file PHG4InttHitReco.h.

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

Referenced by InitRun(), PHG4InttHitReco(), and process_event().

gsl_vector* PHG4InttHitReco::m_LocalOutVec
protected

Definition at line 42 of file PHG4InttHitReco.h.

View newest version in sPHENIX GitHub at line 42 of file PHG4InttHitReco.h

Referenced by PHG4InttHitReco(), process_event(), and ~PHG4InttHitReco().

gsl_vector* PHG4InttHitReco::m_PathVec
protected

Definition at line 43 of file PHG4InttHitReco.h.

View newest version in sPHENIX GitHub at line 43 of file PHG4InttHitReco.h

Referenced by PHG4InttHitReco(), process_event(), and ~PHG4InttHitReco().

gsl_vector* PHG4InttHitReco::m_SegmentVec
protected

Definition at line 44 of file PHG4InttHitReco.h.

View newest version in sPHENIX GitHub at line 44 of file PHG4InttHitReco.h

Referenced by PHG4InttHitReco(), process_event(), and ~PHG4InttHitReco().

double PHG4InttHitReco::m_Tmax
protected

Definition at line 40 of file PHG4InttHitReco.h.

View newest version in sPHENIX GitHub at line 40 of file PHG4InttHitReco.h

Referenced by InitRun(), and process_event().

double PHG4InttHitReco::m_Tmin
protected

Definition at line 39 of file PHG4InttHitReco.h.

View newest version in sPHENIX GitHub at line 39 of file PHG4InttHitReco.h

Referenced by InitRun(), and process_event().


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