Analysis Software
Documentation for sPHENIX simulation 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::ApplyDisplayAction ( G4VPhysicalVolume physvol)
pure virtual

ApplyDisplayAction method.

pure virtual - has to be implemented by derived class creates and set VisAttributes for volumes

Parameters
[in]physvolstarting volume in hierarchy (typically world volume)

Implemented in PHG4MicromegasDisplayAction, PHG4SpacalDisplayAction, BeamLineMagnetDisplayAction, PHG4BbcDisplayAction, PHG4BlockDisplayAction, PHG4ConeDisplayAction, PHG4CylinderDisplayAction, PHG4InnerHcalDisplayAction, PHG4OuterHcalDisplayAction, PHG4SectorDisplayAction, PHG4ZDCDisplayAction, PHG4EPDDisplayAction, PHG4IHCalDisplayAction, PHG4InttDisplayAction, PHG4PhenixDisplayAction, PHG4MvtxDisplayAction, PHG4OHCalDisplayAction, PHG4TpcDisplayAction, PHG4TpcEndCapDisplayAction, and G4Example03DisplayAction.

Referenced by PHG4Reco::ApplyDisplayAction().

+ Here is the caller graph for this function:

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(), and i.

+ 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 cpp.ast.AstBuilder::_GetBases(), cpp.ast.AstBuilder::_GetClass(), cpp.ast.AstBuilder::_GetReturnTypeAndClassName(), cpp.ast.AstBuilder::_GetTemplatedTypes(), PHG4BbcDisplayAction::ApplyDisplayAction(), PHG4ZDCDisplayAction::ApplyDisplayAction(), PHG4EPDDisplayAction::ApplyDisplayAction(), cpp.ast.AstBuilder::handle_namespace(), and cpp.ast.AstBuilder::handle_struct().

+ 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, and perf_headwind::name.

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: