![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4SpacalDisplayAction.h>
Inheritance diagram for PHG4SpacalDisplayAction:
Collaboration diagram for PHG4SpacalDisplayAction:Public Member Functions | |
| PHG4SpacalDisplayAction (const std::string &name) | |
| ~PHG4SpacalDisplayAction () override | |
| void | ApplyDisplayAction (G4VPhysicalVolume *physvol) override |
| ApplyDisplayAction method. | |
| void | AddVolume (G4LogicalVolume *logvol, const std::string &mat) |
| void | SetGeom (const PHG4CylinderGeom_Spacalv1 *geo) |
| void | AddMaterial (const std::string &name, 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 | |
| const PHG4CylinderGeom_Spacalv1 * | m_Geom |
| std::map< G4LogicalVolume *, std::string > | m_LogicalVolumeMap |
| std::vector< G4VisAttributes * > | m_VisAttVec |
| std::map< std::string, std::string > | m_MaterialMap |
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 17 of file PHG4SpacalDisplayAction.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4SpacalDisplayAction.h
| PHG4SpacalDisplayAction::PHG4SpacalDisplayAction | ( | const std::string & | name | ) |
Definition at line 19 of file PHG4SpacalDisplayAction.cc.
View newest version in sPHENIX GitHub at line 19 of file PHG4SpacalDisplayAction.cc
|
override |
Definition at line 25 of file PHG4SpacalDisplayAction.cc.
View newest version in sPHENIX GitHub at line 25 of file PHG4SpacalDisplayAction.cc
References it, and m_VisAttVec.
|
inline |
Definition at line 27 of file PHG4SpacalDisplayAction.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4SpacalDisplayAction.h
References m_MaterialMap, and mat.
Referenced by PHG4FullProjTiltedSpacalDetector::Construct_LightGuide().
Here is the caller graph for this function:
|
inline |
Definition at line 25 of file PHG4SpacalDisplayAction.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4SpacalDisplayAction.h
References m_LogicalVolumeMap, and mat.
Referenced by PHG4FullProjTiltedSpacalDetector::Construct_AzimuthalSeg(), PHG4FullProjSpacalDetector::Construct_AzimuthalSeg(), PHG4SpacalDetector::Construct_AzimuthalSeg(), PHG4SpacalDetector::Construct_Fiber(), PHG4FullProjTiltedSpacalDetector::Construct_LightGuide(), PHG4FullProjTiltedSpacalDetector::Construct_Tower(), PHG4FullProjSpacalDetector::Construct_Tower(), and PHG4SpacalDetector::ConstructMe().
Here is the caller graph for this function:
|
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 34 of file PHG4SpacalDisplayAction.cc.
View newest version in sPHENIX GitHub at line 34 of file PHG4SpacalDisplayAction.cc
References G4LogicalVolume::GetVisAttributes(), PHG4CylinderGeom_Spacalv1::is_azimuthal_seg_visible(), PHG4CylinderGeom_Spacalv1::is_virualize_fiber(), it, m_Geom, m_LogicalVolumeMap, m_MaterialMap, m_VisAttVec, G4VisAttributes::SetColor(), PHG4Utils::SetColour(), G4VisAttributes::SetForceSolid(), G4VisAttributes::SetForceWireframe(), G4LogicalVolume::SetVisAttributes(), and G4VisAttributes::SetVisibility().
Here is the call graph for this function:
|
inline |
Definition at line 26 of file PHG4SpacalDisplayAction.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4SpacalDisplayAction.h
References m_Geom.
Referenced by PHG4SpacalSubsystem::InitRunSubsystem().
Here is the caller graph for this function:
|
private |
Definition at line 30 of file PHG4SpacalDisplayAction.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4SpacalDisplayAction.h
Referenced by ApplyDisplayAction(), and SetGeom().
|
private |
Definition at line 31 of file PHG4SpacalDisplayAction.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4SpacalDisplayAction.h
Referenced by AddVolume(), and ApplyDisplayAction().
|
private |
Definition at line 33 of file PHG4SpacalDisplayAction.h.
View newest version in sPHENIX GitHub at line 33 of file PHG4SpacalDisplayAction.h
Referenced by AddMaterial(), and ApplyDisplayAction().
|
private |
Definition at line 32 of file PHG4SpacalDisplayAction.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4SpacalDisplayAction.h
Referenced by ApplyDisplayAction(), and ~PHG4SpacalDisplayAction().