Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4InputFilter.h>
Public Member Functions | |
PHG4InputFilter (const std::string &name="G4INPUTFILTER") | |
~PHG4InputFilter () override | |
int | process_event (PHCompositeNode *topNode) override |
void | set_eta_range (const double min, const double max) |
void | set_etamin (const double min) |
void | set_etamax (const double max) |
void | set_ptmin (const double min) |
void | set_ptmax (const double max) |
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 | InitRun (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 | |
double | get_eta (const double x, const double y, const double z) |
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 | |
double | etamin |
double | etamax |
double | ptmin |
double | ptmax |
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 } |
Definition at line 12 of file PHG4InputFilter.h.
View newest version in sPHENIX GitHub at line 12 of file PHG4InputFilter.h
PHG4InputFilter::PHG4InputFilter | ( | const std::string & | name = "G4INPUTFILTER" | ) |
Definition at line 16 of file PHG4InputFilter.cc.
View newest version in sPHENIX GitHub at line 16 of file PHG4InputFilter.cc
|
inlineoverride |
Definition at line 16 of file PHG4InputFilter.h.
View newest version in sPHENIX GitHub at line 16 of file PHG4InputFilter.h
Definition at line 102 of file PHG4InputFilter.cc.
View newest version in sPHENIX GitHub at line 102 of file PHG4InputFilter.cc
References eta, and ActsTests::PropagationDatasets::theta.
Referenced by process_event().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 25 of file PHG4InputFilter.cc.
View newest version in sPHENIX GitHub at line 25 of file PHG4InputFilter.cc
References PHG4InEvent::DeleteParticle(), eta, etamax, etamin, Fun4AllReturnCodes::EVENT_OK, get_eta(), PHG4InEvent::GetParticles_Modify(), PHG4InEvent::identify(), PHWHERE, physmon_track_finding_ttbar::pt, ptmax, ptmin, and Fun4AllBase::Verbosity().
Definition at line 20 of file PHG4InputFilter.h.
View newest version in sPHENIX GitHub at line 20 of file PHG4InputFilter.h
References etamax, etamin, and Acts::UnitConstants::min.
|
inline |
Definition at line 22 of file PHG4InputFilter.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4InputFilter.h
References etamax.
|
inline |
Definition at line 21 of file PHG4InputFilter.h.
View newest version in sPHENIX GitHub at line 21 of file PHG4InputFilter.h
References etamin, and Acts::UnitConstants::min.
|
inline |
Definition at line 24 of file PHG4InputFilter.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4InputFilter.h
References ptmax.
|
inline |
Definition at line 23 of file PHG4InputFilter.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4InputFilter.h
References Acts::UnitConstants::min, and ptmin.
|
protected |
Definition at line 29 of file PHG4InputFilter.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4InputFilter.h
Referenced by process_event(), set_eta_range(), and set_etamax().
|
protected |
Definition at line 28 of file PHG4InputFilter.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4InputFilter.h
Referenced by process_event(), set_eta_range(), and set_etamin().
|
protected |
Definition at line 31 of file PHG4InputFilter.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4InputFilter.h
Referenced by process_event(), and set_ptmax().
|
protected |
Definition at line 30 of file PHG4InputFilter.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4InputFilter.h
Referenced by process_event(), and set_ptmin().