Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4mvtx/PHG4MvtxDisplayAction.h>
Public Member Functions | |
PHG4MvtxDisplayAction (const std::string &name) | |
~PHG4MvtxDisplayAction () override | |
void | ApplyDisplayAction (G4VPhysicalVolume *physvol) override |
ApplyDisplayAction method. | |
void | AddVolume (G4LogicalVolume *logvol, const std::string &mat) |
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 |
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 PHG4MvtxDisplayAction.h.
View newest version in sPHENIX GitHub at line 16 of file PHG4MvtxDisplayAction.h
PHG4MvtxDisplayAction::PHG4MvtxDisplayAction | ( | const std::string & | name | ) |
Definition at line 11 of file PHG4MvtxDisplayAction.cc.
View newest version in sPHENIX GitHub at line 11 of file PHG4MvtxDisplayAction.cc
|
override |
Definition at line 16 of file PHG4MvtxDisplayAction.cc.
View newest version in sPHENIX GitHub at line 16 of file PHG4MvtxDisplayAction.cc
References it, and m_VisAttVec.
|
inline |
Definition at line 24 of file PHG4MvtxDisplayAction.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4MvtxDisplayAction.h
References m_LogicalVolumeMap.
Referenced by PHG4MvtxSupport::CreateCable(), PHG4MvtxSupport::CreateCYSS(), PHG4MvtxSupport::CreateServiceBarrel(), PHG4MvtxSupport::GetConeVolume(), PHG4MvtxSupport::GetEndWheelSideN(), PHG4MvtxSupport::GetEndWheelSideS(), PHG4EICMvtxDetector::SetDisplayProperty(), and PHG4MvtxDetector::SetDisplayProperty().
|
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 25 of file PHG4MvtxDisplayAction.cc.
View newest version in sPHENIX GitHub at line 25 of file PHG4MvtxDisplayAction.cc
References it, m_LogicalVolumeMap, m_VisAttVec, and PHG4Utils::SetColour().
|
private |
Definition at line 27 of file PHG4MvtxDisplayAction.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4MvtxDisplayAction.h
Referenced by AddVolume(), and ApplyDisplayAction().
|
private |
Definition at line 28 of file PHG4MvtxDisplayAction.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4MvtxDisplayAction.h
Referenced by ApplyDisplayAction(), and ~PHG4MvtxDisplayAction().