ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4eiccalos/PHG4LFHcalDisplayAction.h>
Public Member Functions | |
PHG4LFHcalDisplayAction (const std::string &name) | |
PHG4LFHcalDisplayAction (const std::string &name, bool detailed) | |
virtual | ~PHG4LFHcalDisplayAction () |
void | ApplyDisplayAction (G4VPhysicalVolume *physvol) |
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 |
bool | showdetails = false |
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 PHG4LFHcalDisplayAction.h.
View newest version in sPHENIX GitHub at line 16 of file PHG4LFHcalDisplayAction.h
PHG4LFHcalDisplayAction::PHG4LFHcalDisplayAction | ( | const std::string & | name | ) |
Definition at line 16 of file PHG4LFHcalDisplayAction.cc.
View newest version in sPHENIX GitHub at line 16 of file PHG4LFHcalDisplayAction.cc
PHG4LFHcalDisplayAction::PHG4LFHcalDisplayAction | ( | const std::string & | name, |
bool | detailed | ||
) |
Definition at line 21 of file PHG4LFHcalDisplayAction.cc.
View newest version in sPHENIX GitHub at line 21 of file PHG4LFHcalDisplayAction.cc
References showdetails.
|
virtual |
Definition at line 28 of file PHG4LFHcalDisplayAction.cc.
View newest version in sPHENIX GitHub at line 28 of file PHG4LFHcalDisplayAction.cc
References it, and m_VisAttVec.
|
inline |
Definition at line 25 of file PHG4LFHcalDisplayAction.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4LFHcalDisplayAction.h
References m_LogicalVolumeMap, and mat.
Referenced by PHG4LFHcalDetector::ConstructMe(), and PHG4LFHcalDetector::ConstructTower().
|
virtual |
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 37 of file PHG4LFHcalDisplayAction.cc.
View newest version in sPHENIX GitHub at line 37 of file PHG4LFHcalDisplayAction.cc
References G4Colour::Black(), G4Colour::Blue(), G4LogicalVolume::GetVisAttributes(), it, m_LogicalVolumeMap, m_VisAttVec, G4Colour::Magenta(), G4Colour::Red(), G4VisAttributes::SetColour(), G4VisAttributes::SetForceSolid(), G4VisAttributes::SetForceWireframe(), G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), showdetails, and G4Colour::Yellow().
|
private |
Definition at line 28 of file PHG4LFHcalDisplayAction.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4LFHcalDisplayAction.h
Referenced by AddVolume(), and ApplyDisplayAction().
|
private |
Definition at line 29 of file PHG4LFHcalDisplayAction.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4LFHcalDisplayAction.h
Referenced by ApplyDisplayAction(), and ~PHG4LFHcalDisplayAction().
|
private |
Definition at line 30 of file PHG4LFHcalDisplayAction.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4LFHcalDisplayAction.h
Referenced by ApplyDisplayAction(), and PHG4LFHcalDisplayAction().