ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4tpc/PHG4TpcDisplayAction.h>
Public Member Functions | |
PHG4TpcDisplayAction (const std::string &name) | |
~PHG4TpcDisplayAction () override | |
void | ApplyDisplayAction (G4VPhysicalVolume *physvol) override |
ApplyDisplayAction method. | |
void | AddVolume (G4LogicalVolume *logvol, const std::string &mat) |
void | AddTpcInnerLayer (G4LogicalVolume *logvol) |
void | AddTpcOuterLayer (G4LogicalVolume *logvol) |
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 | |
std::map< G4LogicalVolume *, std::string > | m_LogicalVolumeMap |
std::vector< G4VisAttributes * > | m_VisAttVec |
std::vector< G4LogicalVolume * > | m_TpcInnerLayersVec |
std::vector< G4LogicalVolume * > | m_TpcOuterLayersVec |
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 PHG4TpcDisplayAction.h.
View newest version in sPHENIX GitHub at line 16 of file PHG4TpcDisplayAction.h
PHG4TpcDisplayAction::PHG4TpcDisplayAction | ( | const std::string & | name | ) |
Definition at line 17 of file PHG4TpcDisplayAction.cc.
View newest version in sPHENIX GitHub at line 17 of file PHG4TpcDisplayAction.cc
|
override |
Definition at line 22 of file PHG4TpcDisplayAction.cc.
View newest version in sPHENIX GitHub at line 22 of file PHG4TpcDisplayAction.cc
References it, and m_VisAttVec.
|
inline |
Definition at line 25 of file PHG4TpcDisplayAction.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4TpcDisplayAction.h
References m_TpcInnerLayersVec.
Referenced by PHG4TpcDetector::ConstructTpcCageVolume().
|
inline |
Definition at line 26 of file PHG4TpcDisplayAction.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4TpcDisplayAction.h
References m_TpcOuterLayersVec.
Referenced by PHG4TpcDetector::ConstructTpcCageVolume().
|
inline |
Definition at line 24 of file PHG4TpcDisplayAction.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4TpcDisplayAction.h
References m_LogicalVolumeMap, and mat.
Referenced by PHG4TpcDetector::ConstructMe(), PHG4TpcDetector::ConstructTpcExternalSupports(), and PHG4TpcDetector::ConstructTpcGasVolume().
|
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 31 of file PHG4TpcDisplayAction.cc.
View newest version in sPHENIX GitHub at line 31 of file PHG4TpcDisplayAction.cc
References color(), G4LogicalVolume::GetVisAttributes(), it, m_LogicalVolumeMap, m_TpcInnerLayersVec, m_TpcOuterLayersVec, m_VisAttVec, G4VisAttributes::SetColor(), G4VisAttributes::SetForceSolid(), G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), PHG4TpcColorDefs::tpc_cu_color, PHG4TpcColorDefs::tpc_gas_color, PHG4TpcColorDefs::tpc_honeycomb_color, PHG4TpcColorDefs::tpc_kapton_color, and PHG4TpcColorDefs::tpc_pcb_color.
|
private |
Definition at line 29 of file PHG4TpcDisplayAction.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4TpcDisplayAction.h
Referenced by AddVolume(), and ApplyDisplayAction().
|
private |
Definition at line 31 of file PHG4TpcDisplayAction.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4TpcDisplayAction.h
Referenced by AddTpcInnerLayer(), and ApplyDisplayAction().
|
private |
Definition at line 32 of file PHG4TpcDisplayAction.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4TpcDisplayAction.h
Referenced by AddTpcOuterLayer(), and ApplyDisplayAction().
|
private |
Definition at line 30 of file PHG4TpcDisplayAction.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4TpcDisplayAction.h
Referenced by ApplyDisplayAction(), and ~PHG4TpcDisplayAction().