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

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

+ Inheritance diagram for PHG4DisplayAction:
+ Collaboration diagram for PHG4DisplayAction:

Public Types

enum  CheckReturnCodes { ABORT = -1, FAILED = 0, ACCEPT = 1 }
 

Public Member Functions

 PHG4DisplayAction ()=delete
 constructor
 
 PHG4DisplayAction (const std::string &name)
 
virtual ~PHG4DisplayAction ()
 destructor
 
virtual void ApplyDisplayAction (G4VPhysicalVolume *physvol)=0
 ApplyDisplayAction method.
 
virtual void SetName (const std::string &name)
 
virtual std::string GetName () const
 
virtual void Print (const std::string &="ALL")
 

Protected Member Functions

int FindVolumes (G4VPhysicalVolume *physvol)
 find FindVolume method
 
virtual int CheckVolume (G4VPhysicalVolume *)
 find CheckVolume method
 
virtual void ApplyVisAttributes (G4VPhysicalVolume *)
 ApplyVisAttributes method.
 

Private Attributes

std::string m_Detector
 

Detailed Description

Definition at line 10 of file PHG4DisplayAction.h.

View newest version in sPHENIX GitHub at line 10 of file PHG4DisplayAction.h

Member Enumeration Documentation

Enumerator:
ABORT 
FAILED 
ACCEPT 

Definition at line 40 of file PHG4DisplayAction.h.

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

Constructor & Destructor Documentation

PHG4DisplayAction::PHG4DisplayAction ( )
delete

constructor

PHG4DisplayAction::PHG4DisplayAction ( const std::string &  name)
inline

Definition at line 17 of file PHG4DisplayAction.h.

View newest version in sPHENIX GitHub at line 17 of file PHG4DisplayAction.h

virtual PHG4DisplayAction::~PHG4DisplayAction ( )
inlinevirtual

destructor

Definition at line 23 of file PHG4DisplayAction.h.

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

Member Function Documentation

virtual void PHG4DisplayAction::ApplyVisAttributes ( G4VPhysicalVolume )
inlineprotectedvirtual

ApplyVisAttributes method.

Parameters
[in]physvolselected physical volume

Definition at line 64 of file PHG4DisplayAction.h.

View newest version in sPHENIX GitHub at line 64 of file PHG4DisplayAction.h

Referenced by FindVolumes().

+ Here is the caller graph for this function:

virtual int PHG4DisplayAction::CheckVolume ( G4VPhysicalVolume )
inlineprotectedvirtual

find CheckVolume method

Definition at line 58 of file PHG4DisplayAction.h.

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

Referenced by FindVolumes().

+ Here is the caller graph for this function:

int PHG4DisplayAction::FindVolumes ( G4VPhysicalVolume physvol)
protected

find FindVolume method

Definition at line 6 of file PHG4DisplayAction.cc.

View newest version in sPHENIX GitHub at line 6 of file PHG4DisplayAction.cc

References ApplyVisAttributes(), CheckVolume(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), and G4LogicalVolume::GetNoDaughters().

+ Here is the call graph for this function:

virtual std::string PHG4DisplayAction::GetName ( ) const
inlinevirtual

Definition at line 36 of file PHG4DisplayAction.h.

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

References m_Detector.

Referenced by PHG4BbcDisplayAction::ApplyDisplayAction(), PHG4EPDDisplayAction::ApplyDisplayAction(), and PHG4ZDCDisplayAction::ApplyDisplayAction().

+ Here is the caller graph for this function:

virtual void PHG4DisplayAction::Print ( const std::string &  = "ALL")
inlinevirtual

Definition at line 38 of file PHG4DisplayAction.h.

View newest version in sPHENIX GitHub at line 38 of file PHG4DisplayAction.h

virtual void PHG4DisplayAction::SetName ( const std::string &  name)
inlinevirtual

Definition at line 34 of file PHG4DisplayAction.h.

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

References m_Detector.

Member Data Documentation

std::string PHG4DisplayAction::m_Detector
private

Definition at line 67 of file PHG4DisplayAction.h.

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

Referenced by GetName(), and SetName().


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