Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4ohcal/PHG4OHCalDisplayAction.h>
Public Member Functions | |
PHG4OHCalDisplayAction (const std::string &name) | |
~PHG4OHCalDisplayAction () override | |
void | ApplyDisplayAction (G4VPhysicalVolume *physvol) override |
ApplyDisplayAction method. | |
void | SetMyTopVolume (G4VPhysicalVolume *vol) |
void | AddScintiVolume (G4LogicalVolume *vol) |
void | AddSteelVolume (G4LogicalVolume *vol) |
void | AddChimSteelVolume (G4LogicalVolume *vol) |
Public Member Functions inherited from PHG4DisplayAction | |
PHG4DisplayAction ()=delete | |
constructor | |
PHG4DisplayAction (const std::string &name) | |
virtual | ~PHG4DisplayAction () |
destructor | |
virtual void | SetName (const std::string &name) |
virtual std::string | GetName () const |
virtual void | Print (const std::string &="ALL") |
Private Attributes | |
G4VPhysicalVolume * | m_MyTopVolume = nullptr |
G4LogicalVolume * | m_SteelVol = nullptr |
G4LogicalVolume * | m_ChimSteelVol = nullptr |
std::vector< G4VisAttributes * > | m_VisAttVec |
std::vector< G4VisAttributes * > | m_VisAttVec2 |
std::set< G4LogicalVolume * > | m_ScintiLogVolSet |
Additional Inherited Members | |
Public Types inherited from PHG4DisplayAction | |
enum | CheckReturnCodes { ABORT = -1, FAILED = 0, ACCEPT = 1 } |
Protected Member Functions inherited from PHG4DisplayAction | |
int | FindVolumes (G4VPhysicalVolume *physvol) |
find FindVolume method | |
virtual int | CheckVolume (G4VPhysicalVolume *) |
find CheckVolume method | |
virtual void | ApplyVisAttributes (G4VPhysicalVolume *) |
ApplyVisAttributes method. | |
Definition at line 16 of file PHG4OHCalDisplayAction.h.
View newest version in sPHENIX GitHub at line 16 of file PHG4OHCalDisplayAction.h
|
explicit |
Definition at line 9 of file PHG4OHCalDisplayAction.cc.
View newest version in sPHENIX GitHub at line 9 of file PHG4OHCalDisplayAction.cc
|
override |
Definition at line 14 of file PHG4OHCalDisplayAction.cc.
View newest version in sPHENIX GitHub at line 14 of file PHG4OHCalDisplayAction.cc
References it, m_ScintiLogVolSet, and m_VisAttVec.
|
inline |
Definition at line 27 of file PHG4OHCalDisplayAction.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4OHCalDisplayAction.h
References m_ChimSteelVol.
Referenced by PHG4OHCalDetector::ConstructOHCal().
|
inline |
Definition at line 25 of file PHG4OHCalDisplayAction.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4OHCalDisplayAction.h
References m_ScintiLogVolSet.
Referenced by PHG4OHCalDetector::ConstructOHCal().
|
inline |
Definition at line 26 of file PHG4OHCalDisplayAction.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4OHCalDisplayAction.h
References m_SteelVol.
Referenced by PHG4OHCalDetector::ConstructOHCal().
|
overridevirtual |
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) |
Implements PHG4DisplayAction.
Definition at line 24 of file PHG4OHCalDisplayAction.cc.
View newest version in sPHENIX GitHub at line 24 of file PHG4OHCalDisplayAction.cc
References it, m_ChimSteelVol, m_ScintiLogVolSet, m_SteelVol, m_VisAttVec, and m_VisAttVec2.
|
inline |
Definition at line 24 of file PHG4OHCalDisplayAction.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4OHCalDisplayAction.h
References m_MyTopVolume.
Referenced by PHG4OHCalDetector::ConstructMe().
|
private |
Definition at line 32 of file PHG4OHCalDisplayAction.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4OHCalDisplayAction.h
Referenced by AddChimSteelVolume(), and ApplyDisplayAction().
|
private |
Definition at line 30 of file PHG4OHCalDisplayAction.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4OHCalDisplayAction.h
Referenced by SetMyTopVolume().
|
private |
Definition at line 35 of file PHG4OHCalDisplayAction.h.
View newest version in sPHENIX GitHub at line 35 of file PHG4OHCalDisplayAction.h
Referenced by AddScintiVolume(), ApplyDisplayAction(), and ~PHG4OHCalDisplayAction().
|
private |
Definition at line 31 of file PHG4OHCalDisplayAction.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4OHCalDisplayAction.h
Referenced by AddSteelVolume(), and ApplyDisplayAction().
|
private |
Definition at line 33 of file PHG4OHCalDisplayAction.h.
View newest version in sPHENIX GitHub at line 33 of file PHG4OHCalDisplayAction.h
Referenced by ApplyDisplayAction(), and ~PHG4OHCalDisplayAction().
|
private |
Definition at line 34 of file PHG4OHCalDisplayAction.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4OHCalDisplayAction.h
Referenced by ApplyDisplayAction().