Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4OuterHcalDisplayAction Class Reference

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

+ Inheritance diagram for PHG4OuterHcalDisplayAction:
+ Collaboration diagram for PHG4OuterHcalDisplayAction:

Public Member Functions

 PHG4OuterHcalDisplayAction (const std::string &name)
 
 ~PHG4OuterHcalDisplayAction () 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
 
G4LogicalVolume * m_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 PHG4OuterHcalDisplayAction.h.

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

Constructor & Destructor Documentation

PHG4OuterHcalDisplayAction::PHG4OuterHcalDisplayAction ( const std::string &  name)
explicit

Definition at line 9 of file PHG4OuterHcalDisplayAction.cc.

View newest version in sPHENIX GitHub at line 9 of file PHG4OuterHcalDisplayAction.cc

PHG4OuterHcalDisplayAction::~PHG4OuterHcalDisplayAction ( )
override

Definition at line 16 of file PHG4OuterHcalDisplayAction.cc.

View newest version in sPHENIX GitHub at line 16 of file PHG4OuterHcalDisplayAction.cc

References it, m_ScintiLogVolSet, and m_VisAttVec.

Member Function Documentation

void PHG4OuterHcalDisplayAction::AddScintiVolume ( G4LogicalVolume *  vol)
inline

Definition at line 25 of file PHG4OuterHcalDisplayAction.h.

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

References m_ScintiLogVolSet.

Referenced by PHG4OuterHcalDetector::ConstructHcalScintillatorAssembly().

+ Here is the caller graph for this function:

void PHG4OuterHcalDisplayAction::AddSteelVolume ( G4LogicalVolume *  vol)
inline

Definition at line 26 of file PHG4OuterHcalDisplayAction.h.

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

References m_SteelVol.

Referenced by PHG4OuterHcalDetector::ConstructOuterHcal().

+ Here is the caller graph for this function:

void PHG4OuterHcalDisplayAction::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 26 of file PHG4OuterHcalDisplayAction.cc.

View newest version in sPHENIX GitHub at line 26 of file PHG4OuterHcalDisplayAction.cc

References it, m_ScintiLogVolSet, m_SteelVol, and m_VisAttVec.

void PHG4OuterHcalDisplayAction::SetMyTopVolume ( G4VPhysicalVolume vol)
inline

Definition at line 24 of file PHG4OuterHcalDisplayAction.h.

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

References m_MyTopVolume.

Referenced by PHG4OuterHcalDetector::ConstructMe().

+ Here is the caller graph for this function:

Member Data Documentation

G4VPhysicalVolume* PHG4OuterHcalDisplayAction::m_MyTopVolume
private

Definition at line 29 of file PHG4OuterHcalDisplayAction.h.

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

Referenced by SetMyTopVolume().

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

Definition at line 32 of file PHG4OuterHcalDisplayAction.h.

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

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

G4LogicalVolume* PHG4OuterHcalDisplayAction::m_SteelVol
private

Definition at line 30 of file PHG4OuterHcalDisplayAction.h.

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

Referenced by AddSteelVolume(), and ApplyDisplayAction().

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

Definition at line 31 of file PHG4OuterHcalDisplayAction.h.

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

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


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