ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4eiccalos/PHG4ForwardCalCellReco.h>
Public Member Functions | |
PHG4ForwardCalCellReco (const std::string &name="FWDCALCELLRECO") | |
virtual | ~PHG4ForwardCalCellReco () |
int | InitRun (PHCompositeNode *topNode) |
module initialization | |
int | process_event (PHCompositeNode *topNode) |
event processing | |
int | End (PHCompositeNode *topNode) |
end of process | |
void | Detector (const std::string &d) |
void | checkenergy (const int i=1) |
double | get_timing_window_min (const int i) |
double | get_timing_window_max (const int i) |
void | set_timing_window (const int i, const double tmin, const double tmax) |
void | set_timing_window_defaults (const double tmin, const double tmax) |
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. | |
Protected Member Functions | |
int | CheckEnergy (PHCompositeNode *topNode) |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Protected Member Functions inherited from Fun4AllBase | |
Fun4AllBase (const std::string &name="NONAME") | |
Protected Attributes | |
std::string | detector |
std::string | hitnodename |
std::string | cellnodename |
int | nbins [2] |
int | chkenergyconservation |
std::map< unsigned int, PHG4CylinderCell * > | celllist |
double | tmin_default |
timing window size in ns. This is for a simple simulation of the ADC integration window starting from 0ns to this value. Default to infinity, i.e. include all hits | |
double | tmax_default |
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 } |
Definition at line 15 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 15 of file PHG4ForwardCalCellReco.h
PHG4ForwardCalCellReco::PHG4ForwardCalCellReco | ( | const std::string & | name = "FWDCALCELLRECO" | ) |
Definition at line 29 of file PHG4ForwardCalCellReco.cc.
View newest version in sPHENIX GitHub at line 29 of file PHG4ForwardCalCellReco.cc
References nbins.
|
inlinevirtual |
Definition at line 20 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 20 of file PHG4ForwardCalCellReco.h
Definition at line 32 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4ForwardCalCellReco.h
References chkenergyconservation.
|
protected |
Definition at line 151 of file PHG4ForwardCalCellReco.cc.
View newest version in sPHENIX GitHub at line 151 of file PHG4ForwardCalCellReco.cc
References cellnodename, e, PHG4HitContainer::getHits(), hitnodename, Fun4AllBase::Name(), and Fun4AllBase::Verbosity().
Referenced by process_event().
|
inline |
Definition at line 31 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4ForwardCalCellReco.h
|
virtual |
end of process
Reimplemented from SubsysReco.
Definition at line 146 of file PHG4ForwardCalCellReco.cc.
View newest version in sPHENIX GitHub at line 146 of file PHG4ForwardCalCellReco.cc
References Fun4AllReturnCodes::EVENT_OK.
|
inline |
Definition at line 35 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 35 of file PHG4ForwardCalCellReco.h
References tmax_default.
|
inline |
Definition at line 34 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4ForwardCalCellReco.h
References tmin_default.
|
virtual |
module initialization
Reimplemented from SubsysReco.
Definition at line 41 of file PHG4ForwardCalCellReco.cc.
View newest version in sPHENIX GitHub at line 41 of file PHG4ForwardCalCellReco.cc
References PHCompositeNode::addNode(), cellnodename, detector, Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), PHNodeIterator::findFirst(), hitnodename, and PHWHERE.
|
virtual |
event processing
Reimplemented from SubsysReco.
Definition at line 81 of file PHG4ForwardCalCellReco.cc.
View newest version in sPHENIX GitHub at line 81 of file PHG4ForwardCalCellReco.cc
References PHG4CylinderCellContainer::AddCylinderCellSpecifyKey(), celllist, cellnodename, CheckEnergy(), chkenergyconservation, Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), PHG4HitContainer::getHits(), PHG4HitContainer::getLayers(), hitnodename, G4TTL::layer, Fun4AllBase::Name(), tmax_default, tmin_default, and Fun4AllBase::Verbosity().
|
inline |
Definition at line 36 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4ForwardCalCellReco.h
References tmax_default, and tmin_default.
|
inline |
Definition at line 41 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4ForwardCalCellReco.h
References tmax_default, and tmin_default.
|
protected |
Definition at line 54 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4ForwardCalCellReco.h
Referenced by process_event().
|
protected |
Definition at line 51 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4ForwardCalCellReco.h
Referenced by CheckEnergy(), InitRun(), and process_event().
|
protected |
Definition at line 53 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4ForwardCalCellReco.h
Referenced by checkenergy(), and process_event().
|
protected |
Definition at line 49 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4ForwardCalCellReco.h
Referenced by Detector(), and InitRun().
|
protected |
Definition at line 50 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4ForwardCalCellReco.h
Referenced by CheckEnergy(), InitRun(), and process_event().
|
protected |
Definition at line 52 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4ForwardCalCellReco.h
Referenced by PHG4ForwardCalCellReco().
|
protected |
Definition at line 58 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4ForwardCalCellReco.h
Referenced by get_timing_window_max(), process_event(), set_timing_window(), and set_timing_window_defaults().
|
protected |
timing window size in ns. This is for a simple simulation of the ADC integration window starting from 0ns to this value. Default to infinity, i.e. include all hits
Definition at line 57 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4ForwardCalCellReco.h
Referenced by get_timing_window_min(), process_event(), set_timing_window(), and set_timing_window_defaults().
|
protected |
Definition at line 59 of file PHG4ForwardCalCellReco.h.
View newest version in sPHENIX GitHub at line 59 of file PHG4ForwardCalCellReco.h