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

#include <coresoftware/blob/master/simulation/g4simulation/g4mvtx/PHG4MvtxHitReco.h>

+ Inheritance diagram for PHG4MvtxHitReco:
+ Collaboration diagram for PHG4MvtxHitReco:

Public Member Functions

 PHG4MvtxHitReco (const std::string &name="PHG4MvtxRECO")
 
 ~PHG4MvtxHitReco () override
 
int InitRun (PHCompositeNode *topNode) override
 module initialization
 
int process_event (PHCompositeNode *topNode) override
 event processing
 
void Detector (const std::string &d)
 
double get_timing_window_min (const int i)
 
double get_timing_window_max (const int i)
 
void set_timing_window (const int detid, const double tmin, const double tmax)
 
void SetDefaultParameters () override
 
- 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 PHParameterContainerInterface
 PHParameterContainerInterface (const std::string &name)
 
 PHParameterContainerInterface (const PHParameterContainerInterface &)=delete
 
virtual ~PHParameterContainerInterface ()
 
void set_name (const std::string &name)
 
void set_double_param (const int id, const std::string &name, const double dval)
 
double get_double_param (const int id, const std::string &name) const
 
void set_int_param (const int id, const std::string &name, const int ival)
 
int get_int_param (const int id, const std::string &name) const
 
void set_string_param (const int id, const std::string &name, const std::string &sval)
 
std::string get_string_param (const int id, const std::string &name) const
 
void UpdateParametersWithMacro ()
 
void CreateInitialize (const int detid)
 
void SaveToNodeTree (PHCompositeNode *runNode, const std::string &nodename)
 
void PutOnParNode (PHCompositeNode *parNode, const std::string &nodename)
 
int ExistDetid (const int detid) const
 

Protected Attributes

std::string detector
 
std::string hitnodename
 
std::string geonodename
 
std::map< int, std::pair
< double, double > > 
tmin_max
 

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 PHParameterContainerInterface
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 ()
 
const PHParametersContainer * GetParamsContainer ()
 
PHParametersContainer * GetParamsContainerModify ()
 
const PHParameters * GetDefaultParameters ()
 

Detailed Description

Definition at line 14 of file PHG4MvtxHitReco.h.

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

Constructor & Destructor Documentation

PHG4MvtxHitReco::PHG4MvtxHitReco ( const std::string &  name = "PHG4MvtxRECO")
explicit

Definition at line 44 of file PHG4MvtxHitReco.cc.

View newest version in sPHENIX GitHub at line 44 of file PHG4MvtxHitReco.cc

References SetDefaultParameters(), and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

PHG4MvtxHitReco::~PHG4MvtxHitReco ( )
inlineoverride

Definition at line 19 of file PHG4MvtxHitReco.h.

View newest version in sPHENIX GitHub at line 19 of file PHG4MvtxHitReco.h

Member Function Documentation

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

Definition at line 27 of file PHG4MvtxHitReco.h.

View newest version in sPHENIX GitHub at line 27 of file PHG4MvtxHitReco.h

References d, and detector.

double PHG4MvtxHitReco::get_timing_window_max ( const int  i)
inline

Definition at line 30 of file PHG4MvtxHitReco.h.

View newest version in sPHENIX GitHub at line 30 of file PHG4MvtxHitReco.h

References tmin_max.

double PHG4MvtxHitReco::get_timing_window_min ( const int  i)
inline

Definition at line 29 of file PHG4MvtxHitReco.h.

View newest version in sPHENIX GitHub at line 29 of file PHG4MvtxHitReco.h

References tmin_max.

int PHG4MvtxHitReco::InitRun ( PHCompositeNode *  topNode)
overridevirtual

module initialization

Reimplemented from SubsysReco.

Definition at line 54 of file PHG4MvtxHitReco.cc.

View newest version in sPHENIX GitHub at line 54 of file PHG4MvtxHitReco.cc

References PHCompositeNode::addNode(), detector, Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), PHNodeIterator::findFirst(), geonodename, hitnodename, PHG4CylinderGeomContainer::identify(), PHWHERE, and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

void PHG4MvtxHitReco::set_timing_window ( const int  detid,
const double  tmin,
const double  tmax 
)

Definition at line 551 of file PHG4MvtxHitReco.cc.

View newest version in sPHENIX GitHub at line 551 of file PHG4MvtxHitReco.cc

References it, and tmin_max.

void PHG4MvtxHitReco::SetDefaultParameters ( )
overridevirtual

Implements PHParameterContainerInterface.

Definition at line 564 of file PHG4MvtxHitReco.cc.

View newest version in sPHENIX GitHub at line 564 of file PHG4MvtxHitReco.cc

References tmin_max.

Referenced by PHG4MvtxHitReco().

+ Here is the caller graph for this function:

Member Data Documentation

std::string PHG4MvtxHitReco::detector
protected

Definition at line 36 of file PHG4MvtxHitReco.h.

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

Referenced by Detector(), and InitRun().

std::string PHG4MvtxHitReco::geonodename
protected

Definition at line 38 of file PHG4MvtxHitReco.h.

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

Referenced by InitRun(), and process_event().

std::string PHG4MvtxHitReco::hitnodename
protected

Definition at line 37 of file PHG4MvtxHitReco.h.

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

Referenced by InitRun(), and process_event().

std::map<int, std::pair<double, double> > PHG4MvtxHitReco::tmin_max
protected

Definition at line 39 of file PHG4MvtxHitReco.h.

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

Referenced by get_timing_window_max(), get_timing_window_min(), process_event(), set_timing_window(), and SetDefaultParameters().


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