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

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

+ Inheritance diagram for AllSi_Al_support_DisplayAction:
+ Collaboration diagram for AllSi_Al_support_DisplayAction:

Public Member Functions

 AllSi_Al_support_DisplayAction (const std::string &name)
 
virtual ~AllSi_Al_support_DisplayAction ()
 
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

G4LogicalVolumem_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.
 

Detailed Description

Definition at line 16 of file AllSi_Al_support_DisplayAction.h.

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

Constructor & Destructor Documentation

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

Definition at line 15 of file AllSi_Al_support_DisplayAction.cc.

View newest version in sPHENIX GitHub at line 15 of file AllSi_Al_support_DisplayAction.cc

AllSi_Al_support_DisplayAction::~AllSi_Al_support_DisplayAction ( )
virtual

Definition at line 21 of file AllSi_Al_support_DisplayAction.cc.

View newest version in sPHENIX GitHub at line 21 of file AllSi_Al_support_DisplayAction.cc

References it, m_LogVolSet, and m_VisAttVec.

Member Function Documentation

void AllSi_Al_support_DisplayAction::AddLogicalVolume ( G4LogicalVolume vol)
inline

Definition at line 25 of file AllSi_Al_support_DisplayAction.h.

View newest version in sPHENIX GitHub at line 25 of file AllSi_Al_support_DisplayAction.h

References m_LogVolSet.

void AllSi_Al_support_DisplayAction::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 31 of file AllSi_Al_support_DisplayAction.cc.

View newest version in sPHENIX GitHub at line 31 of file AllSi_Al_support_DisplayAction.cc

References it, m_LogVolSet, m_VisAttVec, G4Colour::Red(), G4VisAttributes::SetColour(), G4VisAttributes::SetForceSolid(), G4VisAttributes::SetVisibility(), and G4Colour::Yellow().

+ Here is the call graph for this function:

void AllSi_Al_support_DisplayAction::SetMyVolume ( G4LogicalVolume vol)
inline

Definition at line 24 of file AllSi_Al_support_DisplayAction.h.

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

References m_MyVolume.

Member Data Documentation

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

Definition at line 30 of file AllSi_Al_support_DisplayAction.h.

View newest version in sPHENIX GitHub at line 30 of file AllSi_Al_support_DisplayAction.h

Referenced by AddLogicalVolume(), ApplyDisplayAction(), and ~AllSi_Al_support_DisplayAction().

G4LogicalVolume* AllSi_Al_support_DisplayAction::m_MyVolume
private

Definition at line 28 of file AllSi_Al_support_DisplayAction.h.

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

Referenced by SetMyVolume().

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

Definition at line 29 of file AllSi_Al_support_DisplayAction.h.

View newest version in sPHENIX GitHub at line 29 of file AllSi_Al_support_DisplayAction.h

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


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