Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4DisplayAction.h>
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 |
Definition at line 10 of file PHG4DisplayAction.h.
View newest version in sPHENIX GitHub at line 10 of file PHG4DisplayAction.h
Definition at line 40 of file PHG4DisplayAction.h.
View newest version in sPHENIX GitHub at line 40 of file PHG4DisplayAction.h
|
delete |
constructor
|
inline |
Definition at line 17 of file PHG4DisplayAction.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4DisplayAction.h
|
inlinevirtual |
destructor
Definition at line 23 of file PHG4DisplayAction.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4DisplayAction.h
|
pure virtual |
ApplyDisplayAction method.
pure virtual - has to be implemented by derived class creates and set VisAttributes for volumes
[in] | physvol | starting 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().
|
inlineprotectedvirtual |
ApplyVisAttributes method.
[in] | physvol | selected 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().
|
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().
|
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.
|
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().
|
inlinevirtual |
Definition at line 38 of file PHG4DisplayAction.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4DisplayAction.h
|
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.
|
private |
Definition at line 67 of file PHG4DisplayAction.h.
View newest version in sPHENIX GitHub at line 67 of file PHG4DisplayAction.h