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

#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4eiccalos/PHG4FPbScSubsystem.h>

+ Inheritance diagram for PHG4FPbScSubsystem:
+ Collaboration diagram for PHG4FPbScSubsystem:

Public Member Functions

 PHG4FPbScSubsystem (const std::string &name="FPBSC")
 constructor
 
virtual ~PHG4FPbScSubsystem (void)
 destructor
 
int Init (PHCompositeNode *)
 init
 
int process_event (PHCompositeNode *)
 event processing
 
virtual PHG4DetectorGetDetector (void) const
 accessors (reimplemented)
 
virtual PHG4SteppingActionGetSteppingAction (void) const
 return pointer to this subsystem stepping action
 
PHG4EventActionGetEventAction () const
 return pointer to this subsystem event action
 
void set_Place (double x, double y, double z)
 
- Public Member Functions inherited from PHG4Subsystem
 PHG4Subsystem (const std::string &name="Generic Subsystem")
 constructor
 
 ~PHG4Subsystem (void) override
 destructor
 
virtual int process_after_geant (PHCompositeNode *)
 event processing
 
virtual PHG4TrackingActionGetTrackingAction (void) const
 return pointer to this subsystem stepping action
 
virtual PHG4DisplayActionGetDisplayAction () const
 return pointer to this subsystem display setting
 
virtual PHG4StackingActionGetStackingAction () const
 
void OverlapCheck (const bool chk=true)
 
bool CheckOverlap () const
 
void SetMotherSubsystem (PHG4Subsystem *subsys)
 
PHG4SubsystemGetMotherSubsystem () const
 
void SetLogicalVolume (G4LogicalVolume *vol)
 
G4LogicalVolumeGetLogicalVolume () const
 
virtual bool CanBeMotherSubsystem () const
 
virtual void AddProcesses (G4ParticleDefinition *)
 
virtual void DefineMaterials ()
 
- 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 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.
 

Private Attributes

PHG4FPbScDetectordetector_
 detector geometry
 
PHG4SteppingActionsteppingAction_
 particle tracking "stepping" action
 
PHG4EventActioneventAction_
 
double x_position
 
double y_position
 
double z_position
 

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")
 

Detailed Description

Definition at line 16 of file PHG4FPbScSubsystem.h.

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

Constructor & Destructor Documentation

PHG4FPbScSubsystem::PHG4FPbScSubsystem ( const std::string &  name = "FPBSC")

constructor

Definition at line 28 of file PHG4FPbScSubsystem.cc.

View newest version in sPHENIX GitHub at line 28 of file PHG4FPbScSubsystem.cc

virtual PHG4FPbScSubsystem::~PHG4FPbScSubsystem ( void  )
inlinevirtual

destructor

Definition at line 23 of file PHG4FPbScSubsystem.h.

View newest version in sPHENIX GitHub at line 23 of file PHG4FPbScSubsystem.h

Member Function Documentation

PHG4Detector * PHG4FPbScSubsystem::GetDetector ( void  ) const
virtual

accessors (reimplemented)

Reimplemented from PHG4Subsystem.

Definition at line 79 of file PHG4FPbScSubsystem.cc.

View newest version in sPHENIX GitHub at line 79 of file PHG4FPbScSubsystem.cc

References detector_.

PHG4EventAction* PHG4FPbScSubsystem::GetEventAction ( void  ) const
inlinevirtual

return pointer to this subsystem event action

Reimplemented from PHG4Subsystem.

Definition at line 46 of file PHG4FPbScSubsystem.h.

View newest version in sPHENIX GitHub at line 46 of file PHG4FPbScSubsystem.h

References eventAction_.

PHG4SteppingAction * PHG4FPbScSubsystem::GetSteppingAction ( void  ) const
virtual

return pointer to this subsystem stepping action

Reimplemented from PHG4Subsystem.

Definition at line 85 of file PHG4FPbScSubsystem.cc.

View newest version in sPHENIX GitHub at line 85 of file PHG4FPbScSubsystem.cc

References steppingAction_.

int PHG4FPbScSubsystem::Init ( PHCompositeNode topNode)
virtual

init

creates the detector_ object and place it on the node tree, under "DETECTORS" node (or whatever) reates the stepping action and place it on the node tree, under "ACTIONS" node creates relevant hit nodes that will be populated by the stepping action and stored in the output DST

Reimplemented from SubsysReco.

Definition at line 40 of file PHG4FPbScSubsystem.cc.

View newest version in sPHENIX GitHub at line 40 of file PHG4FPbScSubsystem.cc

References PHCompositeNode::addNode(), detector_, eventAction_, PHNodeIterator::findFirst(), Fun4AllBase::Name(), PHG4FPbScDetector::set_Place(), steppingAction_, PHG4Detector::topNode(), PHG4Detector::Verbosity(), Fun4AllBase::Verbosity(), x_position, y_position, and z_position.

+ Here is the call graph for this function:

int PHG4FPbScSubsystem::process_event ( PHCompositeNode topNode)
virtual

event processing

get all relevant nodes from top nodes (namely hit list) and pass that to the stepping action

Reimplemented from SubsysReco.

Definition at line 68 of file PHG4FPbScSubsystem.cc.

View newest version in sPHENIX GitHub at line 68 of file PHG4FPbScSubsystem.cc

References detector_, PHG4FPbScDetector::GetSteppingAction(), PHG4SteppingAction::SetInterfacePointers(), and steppingAction_.

+ Here is the call graph for this function:

void PHG4FPbScSubsystem::set_Place ( double  x,
double  y,
double  z 
)
inline

Definition at line 48 of file PHG4FPbScSubsystem.h.

View newest version in sPHENIX GitHub at line 48 of file PHG4FPbScSubsystem.h

References x, x_position, y, y_position, z, and z_position.

Member Data Documentation

PHG4FPbScDetector* PHG4FPbScSubsystem::detector_
private

detector geometry

defives from PHG4Detector

Definition at line 58 of file PHG4FPbScSubsystem.h.

View newest version in sPHENIX GitHub at line 58 of file PHG4FPbScSubsystem.h

Referenced by GetDetector(), Init(), and process_event().

PHG4EventAction* PHG4FPbScSubsystem::eventAction_
private

Definition at line 63 of file PHG4FPbScSubsystem.h.

View newest version in sPHENIX GitHub at line 63 of file PHG4FPbScSubsystem.h

Referenced by GetEventAction(), and Init().

PHG4SteppingAction* PHG4FPbScSubsystem::steppingAction_
private

particle tracking "stepping" action

derives from PHG4SteppingActions

Definition at line 62 of file PHG4FPbScSubsystem.h.

View newest version in sPHENIX GitHub at line 62 of file PHG4FPbScSubsystem.h

Referenced by GetSteppingAction(), Init(), and process_event().

double PHG4FPbScSubsystem::x_position
private

Definition at line 65 of file PHG4FPbScSubsystem.h.

View newest version in sPHENIX GitHub at line 65 of file PHG4FPbScSubsystem.h

Referenced by Init(), and set_Place().

double PHG4FPbScSubsystem::y_position
private

Definition at line 66 of file PHG4FPbScSubsystem.h.

View newest version in sPHENIX GitHub at line 66 of file PHG4FPbScSubsystem.h

Referenced by Init(), and set_Place().

double PHG4FPbScSubsystem::z_position
private

Definition at line 67 of file PHG4FPbScSubsystem.h.

View newest version in sPHENIX GitHub at line 67 of file PHG4FPbScSubsystem.h

Referenced by Init(), and set_Place().


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