ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4OuterHcalDisplayAction.h>
Public Member Functions | |
PHG4OuterHcalDisplayAction (const std::string &name) | |
~PHG4OuterHcalDisplayAction () override | |
void | ApplyDisplayAction (G4VPhysicalVolume *physvol) override |
ApplyDisplayAction method. | |
void | SetMyTopVolume (G4VPhysicalVolume *vol) |
void | AddScintiVolume (G4LogicalVolume *vol) |
void | AddSteelVolume (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 |
G4LogicalVolume * | m_SteelVol |
std::vector< G4VisAttributes * > | m_VisAttVec |
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 PHG4OuterHcalDisplayAction.h.
View newest version in sPHENIX GitHub at line 16 of file PHG4OuterHcalDisplayAction.h
PHG4OuterHcalDisplayAction::PHG4OuterHcalDisplayAction | ( | const std::string & | name | ) |
Definition at line 9 of file PHG4OuterHcalDisplayAction.cc.
View newest version in sPHENIX GitHub at line 9 of file PHG4OuterHcalDisplayAction.cc
|
override |
Definition at line 16 of file PHG4OuterHcalDisplayAction.cc.
View newest version in sPHENIX GitHub at line 16 of file PHG4OuterHcalDisplayAction.cc
References it, m_ScintiLogVolSet, and m_VisAttVec.
|
inline |
Definition at line 25 of file PHG4OuterHcalDisplayAction.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4OuterHcalDisplayAction.h
References m_ScintiLogVolSet.
Referenced by PHG4OuterHcalDetector::ConstructHcalScintillatorAssembly().
|
inline |
Definition at line 26 of file PHG4OuterHcalDisplayAction.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4OuterHcalDisplayAction.h
References m_SteelVol.
Referenced by PHG4OuterHcalDetector::ConstructOuterHcal().
|
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 26 of file PHG4OuterHcalDisplayAction.cc.
View newest version in sPHENIX GitHub at line 26 of file PHG4OuterHcalDisplayAction.cc
References G4LogicalVolume::GetVisAttributes(), G4Colour::Green(), G4Colour::Grey(), it, m_ScintiLogVolSet, m_SteelVol, m_VisAttVec, G4VisAttributes::SetColor(), G4VisAttributes::SetForceSolid(), G4LogicalVolume::SetVisAttributes(), and G4VisAttributes::SetVisibility().
|
inline |
Definition at line 24 of file PHG4OuterHcalDisplayAction.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4OuterHcalDisplayAction.h
References m_MyTopVolume.
Referenced by PHG4OuterHcalDetector::ConstructMe().
|
private |
Definition at line 29 of file PHG4OuterHcalDisplayAction.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4OuterHcalDisplayAction.h
Referenced by SetMyTopVolume().
|
private |
Definition at line 32 of file PHG4OuterHcalDisplayAction.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4OuterHcalDisplayAction.h
Referenced by AddScintiVolume(), ApplyDisplayAction(), and ~PHG4OuterHcalDisplayAction().
|
private |
Definition at line 30 of file PHG4OuterHcalDisplayAction.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4OuterHcalDisplayAction.h
Referenced by AddSteelVolume(), and ApplyDisplayAction().
|
private |
Definition at line 31 of file PHG4OuterHcalDisplayAction.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4OuterHcalDisplayAction.h
Referenced by ApplyDisplayAction(), and ~PHG4OuterHcalDisplayAction().