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

#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4InnerHcalDisplayAction.h>

+ Inheritance diagram for PHG4InnerHcalDisplayAction:
+ Collaboration diagram for PHG4InnerHcalDisplayAction:

Public Member Functions

 PHG4InnerHcalDisplayAction (const std::string &name)
 
 ~PHG4InnerHcalDisplayAction () override
 
void ApplyDisplayAction (G4VPhysicalVolume *physvol) override
 ApplyDisplayAction method.
 
void SetMyTopVolume (G4VPhysicalVolume *vol)
 
void AddScintiVolume (G4LogicalVolume *vol)
 
void AddSteelVolume (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

G4VPhysicalVolumem_MyTopVolume
 
G4LogicalVolumem_SteelVol
 
std::vector< G4VisAttributes * > m_VisAttVec
 
std::set< G4LogicalVolume * > m_ScintiLogVolSet
 

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 PHG4InnerHcalDisplayAction.h.

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

Constructor & Destructor Documentation

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

Definition at line 11 of file PHG4InnerHcalDisplayAction.cc.

View newest version in sPHENIX GitHub at line 11 of file PHG4InnerHcalDisplayAction.cc

PHG4InnerHcalDisplayAction::~PHG4InnerHcalDisplayAction ( )
override

Definition at line 18 of file PHG4InnerHcalDisplayAction.cc.

View newest version in sPHENIX GitHub at line 18 of file PHG4InnerHcalDisplayAction.cc

References it, m_ScintiLogVolSet, and m_VisAttVec.

Member Function Documentation

void PHG4InnerHcalDisplayAction::AddScintiVolume ( G4LogicalVolume vol)
inline

Definition at line 25 of file PHG4InnerHcalDisplayAction.h.

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

References m_ScintiLogVolSet.

Referenced by PHG4InnerHcalDetector::ConstructHcalScintillatorAssembly().

+ Here is the caller graph for this function:

void PHG4InnerHcalDisplayAction::AddSteelVolume ( G4LogicalVolume vol)
inline

Definition at line 26 of file PHG4InnerHcalDisplayAction.h.

View newest version in sPHENIX GitHub at line 26 of file PHG4InnerHcalDisplayAction.h

References m_SteelVol.

Referenced by PHG4InnerHcalDetector::ConstructInnerHcal().

+ Here is the caller graph for this function:

void PHG4InnerHcalDisplayAction::ApplyDisplayAction ( G4VPhysicalVolume physvol)
overridevirtual

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 28 of file PHG4InnerHcalDisplayAction.cc.

View newest version in sPHENIX GitHub at line 28 of file PHG4InnerHcalDisplayAction.cc

References G4LogicalVolume::GetVisAttributes(), G4Colour::Green(), G4Colour::Grey(), it, m_ScintiLogVolSet, m_SteelVol, m_VisAttVec, G4VisAttributes::SetColor(), G4VisAttributes::SetForceSolid(), G4LogicalVolume::SetVisAttributes(), and G4VisAttributes::SetVisibility().

+ Here is the call graph for this function:

void PHG4InnerHcalDisplayAction::SetMyTopVolume ( G4VPhysicalVolume vol)
inline

Definition at line 24 of file PHG4InnerHcalDisplayAction.h.

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

References m_MyTopVolume.

Referenced by PHG4InnerHcalDetector::ConstructMe().

+ Here is the caller graph for this function:

Member Data Documentation

G4VPhysicalVolume* PHG4InnerHcalDisplayAction::m_MyTopVolume
private

Definition at line 29 of file PHG4InnerHcalDisplayAction.h.

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

Referenced by SetMyTopVolume().

std::set<G4LogicalVolume *> PHG4InnerHcalDisplayAction::m_ScintiLogVolSet
private

Definition at line 32 of file PHG4InnerHcalDisplayAction.h.

View newest version in sPHENIX GitHub at line 32 of file PHG4InnerHcalDisplayAction.h

Referenced by AddScintiVolume(), ApplyDisplayAction(), and ~PHG4InnerHcalDisplayAction().

G4LogicalVolume* PHG4InnerHcalDisplayAction::m_SteelVol
private

Definition at line 30 of file PHG4InnerHcalDisplayAction.h.

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

Referenced by AddSteelVolume(), and ApplyDisplayAction().

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

Definition at line 31 of file PHG4InnerHcalDisplayAction.h.

View newest version in sPHENIX GitHub at line 31 of file PHG4InnerHcalDisplayAction.h

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


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