ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4beastmagnet/BeastMagnetDisplayAction.h>
Public Member Functions | |
BeastMagnetDisplayAction (const std::string &name) | |
virtual | ~BeastMagnetDisplayAction () |
void | ApplyDisplayAction (G4VPhysicalVolume *physvol) |
ApplyDisplayAction method. | |
void | SetMyVolume (G4LogicalVolume *vol) |
void | AddLogicalVolume (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 | |
G4LogicalVolume * | m_MyVolume |
std::vector< G4VisAttributes * > | m_VisAttVec |
std::set< G4LogicalVolume * > | m_LogVolSet |
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 BeastMagnetDisplayAction.h.
View newest version in sPHENIX GitHub at line 16 of file BeastMagnetDisplayAction.h
BeastMagnetDisplayAction::BeastMagnetDisplayAction | ( | const std::string & | name | ) |
Definition at line 14 of file BeastMagnetDisplayAction.cc.
View newest version in sPHENIX GitHub at line 14 of file BeastMagnetDisplayAction.cc
|
virtual |
Definition at line 20 of file BeastMagnetDisplayAction.cc.
View newest version in sPHENIX GitHub at line 20 of file BeastMagnetDisplayAction.cc
References it, m_LogVolSet, and m_VisAttVec.
|
inline |
Definition at line 25 of file BeastMagnetDisplayAction.h.
View newest version in sPHENIX GitHub at line 25 of file BeastMagnetDisplayAction.h
References m_LogVolSet.
Referenced by BeastMagnetDetector::InsertVolumes().
|
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 30 of file BeastMagnetDisplayAction.cc.
View newest version in sPHENIX GitHub at line 30 of file BeastMagnetDisplayAction.cc
References G4Colour::Blue(), G4Colour::Cyan(), G4Colour::Green(), it, m_LogVolSet, m_VisAttVec, G4Colour::Red(), G4VisAttributes::SetColour(), G4VisAttributes::SetForceSolid(), and G4VisAttributes::SetVisibility().
|
inline |
Definition at line 24 of file BeastMagnetDisplayAction.h.
View newest version in sPHENIX GitHub at line 24 of file BeastMagnetDisplayAction.h
References m_MyVolume.
|
private |
Definition at line 30 of file BeastMagnetDisplayAction.h.
View newest version in sPHENIX GitHub at line 30 of file BeastMagnetDisplayAction.h
Referenced by AddLogicalVolume(), ApplyDisplayAction(), and ~BeastMagnetDisplayAction().
|
private |
Definition at line 28 of file BeastMagnetDisplayAction.h.
View newest version in sPHENIX GitHub at line 28 of file BeastMagnetDisplayAction.h
Referenced by SetMyVolume().
|
private |
Definition at line 29 of file BeastMagnetDisplayAction.h.
View newest version in sPHENIX GitHub at line 29 of file BeastMagnetDisplayAction.h
Referenced by ApplyDisplayAction(), and ~BeastMagnetDisplayAction().