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

#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4main/PHG4StackingAction.h>

+ Inheritance diagram for PHG4StackingAction:
+ Collaboration diagram for PHG4StackingAction:

Public Member Functions

 PHG4StackingAction (const std::string &name, const int i=0)
 
virtual ~PHG4StackingAction ()
 
virtual G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *)
 stacking action. This gets called by the stacking action when a new track is generated
 
virtual void PrepareNewEvent ()
 
virtual void Verbosity (const int i)
 
virtual int Verbosity () const
 
virtual int Init ()
 
virtual void SetInterfacePointers (PHCompositeNode *)
 
virtual void Print (const std::string &) const
 
std::string GetName () const
 
void SetName (const std::string &name)
 

Private Attributes

int m_Verbosity = 0
 
std::string m_Name
 

Detailed Description

Definition at line 16 of file PHG4StackingAction.h.

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

Constructor & Destructor Documentation

PHG4StackingAction::PHG4StackingAction ( const std::string &  name,
const int  i = 0 
)

Definition at line 5 of file PHG4StackingAction.cc.

View newest version in sPHENIX GitHub at line 5 of file PHG4StackingAction.cc

virtual PHG4StackingAction::~PHG4StackingAction ( )
inlinevirtual

Definition at line 20 of file PHG4StackingAction.h.

View newest version in sPHENIX GitHub at line 20 of file PHG4StackingAction.h

Member Function Documentation

virtual G4ClassificationOfNewTrack PHG4StackingAction::ClassifyNewTrack ( const G4Track *  )
inlinevirtual

stacking action. This gets called by the stacking action when a new track is generated

Reimplemented in G4EicDircStackingAction.

Definition at line 27 of file PHG4StackingAction.h.

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

std::string PHG4StackingAction::GetName ( void  ) const
inline

Definition at line 35 of file PHG4StackingAction.h.

View newest version in sPHENIX GitHub at line 35 of file PHG4StackingAction.h

References m_Name.

virtual int PHG4StackingAction::Init ( void  )
inlinevirtual

Definition at line 31 of file PHG4StackingAction.h.

View newest version in sPHENIX GitHub at line 31 of file PHG4StackingAction.h

virtual void PHG4StackingAction::PrepareNewEvent ( )
inlinevirtual

Reimplemented in G4EicDircStackingAction.

Definition at line 28 of file PHG4StackingAction.h.

View newest version in sPHENIX GitHub at line 28 of file PHG4StackingAction.h

virtual void PHG4StackingAction::Print ( const std::string &  ) const
inlinevirtual

Definition at line 34 of file PHG4StackingAction.h.

View newest version in sPHENIX GitHub at line 34 of file PHG4StackingAction.h

virtual void PHG4StackingAction::SetInterfacePointers ( PHCompositeNode )
inlinevirtual

Definition at line 33 of file PHG4StackingAction.h.

View newest version in sPHENIX GitHub at line 33 of file PHG4StackingAction.h

void PHG4StackingAction::SetName ( const std::string &  name)
inline

Definition at line 36 of file PHG4StackingAction.h.

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

References m_Name, and name.

virtual void PHG4StackingAction::Verbosity ( const int  i)
inlinevirtual

Definition at line 29 of file PHG4StackingAction.h.

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

References m_Verbosity.

Referenced by G4EicDircSubsystem::InitRunSubsystem().

+ Here is the caller graph for this function:

virtual int PHG4StackingAction::Verbosity ( ) const
inlinevirtual

Definition at line 30 of file PHG4StackingAction.h.

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

References m_Verbosity.

Referenced by G4EicDircStackingAction::PrepareNewEvent().

+ Here is the caller graph for this function:

Member Data Documentation

std::string PHG4StackingAction::m_Name
private

Definition at line 40 of file PHG4StackingAction.h.

View newest version in sPHENIX GitHub at line 40 of file PHG4StackingAction.h

Referenced by GetName(), and SetName().

int PHG4StackingAction::m_Verbosity = 0
private

Definition at line 39 of file PHG4StackingAction.h.

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

Referenced by Verbosity().


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