ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4LBLVtxDisplayAction Class Reference

#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4lblvtx/G4LBLVtxDisplayAction.h>

+ Inheritance diagram for G4LBLVtxDisplayAction:
+ Collaboration diagram for G4LBLVtxDisplayAction:

Public Member Functions

 G4LBLVtxDisplayAction (const std::string &name)
 
virtual ~G4LBLVtxDisplayAction ()
 
void ApplyDisplayAction (G4VPhysicalVolume *physvol)
 ApplyDisplayAction method.
 
void AddLogVolume (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

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.
 

Detailed Description

Definition at line 16 of file G4LBLVtxDisplayAction.h.

View newest version in sPHENIX GitHub at line 16 of file G4LBLVtxDisplayAction.h

Constructor & Destructor Documentation

G4LBLVtxDisplayAction::G4LBLVtxDisplayAction ( const std::string &  name)

Definition at line 12 of file G4LBLVtxDisplayAction.cc.

View newest version in sPHENIX GitHub at line 12 of file G4LBLVtxDisplayAction.cc

G4LBLVtxDisplayAction::~G4LBLVtxDisplayAction ( )
virtual

Definition at line 17 of file G4LBLVtxDisplayAction.cc.

View newest version in sPHENIX GitHub at line 17 of file G4LBLVtxDisplayAction.cc

References it, m_LogVolSet, and m_VisAttVec.

Member Function Documentation

void G4LBLVtxDisplayAction::AddLogVolume ( G4LogicalVolume vol)
inline

Definition at line 24 of file G4LBLVtxDisplayAction.h.

View newest version in sPHENIX GitHub at line 24 of file G4LBLVtxDisplayAction.h

References m_LogVolSet.

Referenced by G4LBLVtxDetector::SetActiveVolumes().

+ Here is the caller graph for this function:

void G4LBLVtxDisplayAction::ApplyDisplayAction ( G4VPhysicalVolume physvol)
virtual

ApplyDisplayAction method.

pure virtual - has to be implemented by derived class creates and set VisAttributes for volumes

Parameters
[in]physvolstarting volume in hierarchy (typically world volume)

Implements PHG4DisplayAction.

Definition at line 27 of file G4LBLVtxDisplayAction.cc.

View newest version in sPHENIX GitHub at line 27 of file G4LBLVtxDisplayAction.cc

References G4Colour::Blue(), G4Colour::Cyan(), it, m_LogVolSet, m_VisAttVec, G4Colour::Red(), G4VisAttributes::SetColor(), G4VisAttributes::SetForceSolid(), G4VisAttributes::SetVisibility(), G4Colour::White(), and G4Colour::Yellow().

+ Here is the call graph for this function:

Member Data Documentation

std::set<G4LogicalVolume *> G4LBLVtxDisplayAction::m_LogVolSet
private

Definition at line 28 of file G4LBLVtxDisplayAction.h.

View newest version in sPHENIX GitHub at line 28 of file G4LBLVtxDisplayAction.h

Referenced by AddLogVolume(), ApplyDisplayAction(), and ~G4LBLVtxDisplayAction().

std::vector<G4VisAttributes *> G4LBLVtxDisplayAction::m_VisAttVec
private

Definition at line 27 of file G4LBLVtxDisplayAction.h.

View newest version in sPHENIX GitHub at line 27 of file G4LBLVtxDisplayAction.h

Referenced by ApplyDisplayAction(), and ~G4LBLVtxDisplayAction().


The documentation for this class was generated from the following files: