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

#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4InputFilter.h>

+ Inheritance diagram for PHG4InputFilter:
+ Collaboration diagram for PHG4InputFilter:

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
}
 

Detailed Description

Definition at line 12 of file PHG4InputFilter.h.

View newest version in sPHENIX GitHub at line 12 of file PHG4InputFilter.h

Constructor & Destructor Documentation

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

PHG4InputFilter::~PHG4InputFilter ( )
inlineoverride

Definition at line 16 of file PHG4InputFilter.h.

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

Member Function Documentation

double PHG4InputFilter::get_eta ( const double  x,
const double  y,
const double  z 
)
protected

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().

+ Here is the caller graph for this function:

int PHG4InputFilter::process_event ( PHCompositeNode )
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().

+ Here is the call graph for this function:

void PHG4InputFilter::set_eta_range ( const double  min,
const double  max 
)
inline

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.

void PHG4InputFilter::set_etamax ( const double  max)
inline

Definition at line 22 of file PHG4InputFilter.h.

View newest version in sPHENIX GitHub at line 22 of file PHG4InputFilter.h

References etamax.

void PHG4InputFilter::set_etamin ( const double  min)
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.

void PHG4InputFilter::set_ptmax ( const double  max)
inline

Definition at line 24 of file PHG4InputFilter.h.

View newest version in sPHENIX GitHub at line 24 of file PHG4InputFilter.h

References ptmax.

void PHG4InputFilter::set_ptmin ( const double  min)
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.

Member Data Documentation

double PHG4InputFilter::etamax
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().

double PHG4InputFilter::etamin
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().

double PHG4InputFilter::ptmax
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().

double PHG4InputFilter::ptmin
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().


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