ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4drich/EICG4dRICHDetector.h>
Public Member Functions | |
EICG4dRICHDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam) | |
constructor | |
virtual | ~EICG4dRICHDetector () |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct | |
void | Print (const std::string &what="ALL") const override |
void | ActivateVolumeTree (G4VPhysicalVolume *volu, G4int petal=0) |
int | GetPetal (G4VPhysicalVolume *volu) |
int | GetPSST (G4VPhysicalVolume *volu) |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
volume accessors | |
int | IsInDetector (G4VPhysicalVolume *) const |
Public Member Functions inherited from PHG4Detector | |
PHG4Detector ()=delete | |
constructor | |
PHG4Detector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &nam) | |
virtual | ~PHG4Detector (void) |
destructor | |
virtual void | Construct (G4LogicalVolume *world) final |
construct method | |
virtual void | PostConstruction () |
Optional PostConstruction call after all geometry is constructed. | |
virtual void | Verbosity (const int v) |
virtual int | Verbosity () const |
virtual G4UserSteppingAction * | GetSteppingAction () |
virtual std::string | GetName () const |
virtual void | OverlapCheck (const bool chk) |
virtual bool | OverlapCheck () const |
virtual int | DisplayVolume (G4VSolid *volume, G4LogicalVolume *logvol, G4RotationMatrix *rotm=nullptr) |
virtual int | DisplayVolume (G4LogicalVolume *checksolid, G4LogicalVolume *logvol, G4RotationMatrix *rotm=nullptr) |
virtual PHCompositeNode * | topNode () |
virtual PHG4Subsystem * | GetMySubsystem () |
Private Attributes | |
PHParameters * | m_Params |
std::set< G4VPhysicalVolume * > | m_PhysicalVolumesSet |
std::map< G4VPhysicalVolume *, G4int > | m_PetalMap |
std::string | m_SuperDetector |
Additional Inherited Members | |
Static Public Member Functions inherited from PHG4Detector | |
static G4Material * | GetDetectorMaterial (const std::string &name, const bool quit=true) |
static G4Element * | GetDetectorElement (const std::string &name, const bool quit=true) |
Definition at line 17 of file EICG4dRICHDetector.h.
View newest version in sPHENIX GitHub at line 17 of file EICG4dRICHDetector.h
EICG4dRICHDetector::EICG4dRICHDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParameters * | parameters, | ||
const std::string & | dnam | ||
) |
constructor
Definition at line 27 of file EICG4dRICHDetector.cc.
View newest version in sPHENIX GitHub at line 27 of file EICG4dRICHDetector.cc
|
inlinevirtual |
destructor
Definition at line 25 of file EICG4dRICHDetector.h.
View newest version in sPHENIX GitHub at line 25 of file EICG4dRICHDetector.h
void EICG4dRICHDetector::ActivateVolumeTree | ( | G4VPhysicalVolume * | volu, |
G4int | petal = 0 |
||
) |
Definition at line 132 of file EICG4dRICHDetector.cc.
View newest version in sPHENIX GitHub at line 132 of file EICG4dRICHDetector.cc
References G4String::contains(), d, G4VPhysicalVolume::GetCopyNo(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetNoDaughters(), m_PetalMap, m_PhysicalVolumesSet, PHG4Detector::Verbosity(), and Fun4AllBase::VERBOSITY_SOME.
Referenced by ConstructMe().
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 47 of file EICG4dRICHDetector.cc.
View newest version in sPHENIX GitHub at line 47 of file EICG4dRICHDetector.cc
References ActivateVolumeTree(), G4LogicalVolume::AddDaughter(), G4tgbVolumeMgr::AddTextFile(), EICG4dRICHConfig::aerOptModel, cm, G4String::data(), deg, G4tgbVolumeMgr::DumpG4SolidList(), G4tgbVolumeMgr::DumpSummary(), EICG4dRICHConfig::filter_thr, PHParameters::get_double_param(), PHParameters::get_string_param(), G4tgbVolumeMgr::GetInstance(), G4VisAttributes::Invisible, m_Params, EICG4dRICHConfig::model_file, nm, G4tgbVolumeMgr::ReadAndConstructDetector(), G4VisAttributes::SetForceSolid(), G4VisAttributes::SetLineWidth(), G4VPhysicalVolume::SetRotation(), G4VPhysicalVolume::SetTranslation(), G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), PHG4Detector::Verbosity(), and Fun4AllBase::VERBOSITY_MORE.
int EICG4dRICHDetector::GetPetal | ( | G4VPhysicalVolume * | volu | ) |
Definition at line 170 of file EICG4dRICHDetector.cc.
View newest version in sPHENIX GitHub at line 170 of file EICG4dRICHDetector.cc
References m_PetalMap.
Referenced by EICG4dRICHSteppingAction::UserSteppingAction().
int EICG4dRICHDetector::GetPSST | ( | G4VPhysicalVolume * | volu | ) |
Definition at line 188 of file EICG4dRICHDetector.cc.
View newest version in sPHENIX GitHub at line 188 of file EICG4dRICHDetector.cc
References G4String::contains(), G4VPhysicalVolume::GetCopyNo(), and G4VPhysicalVolume::GetName().
Referenced by EICG4dRICHSteppingAction::UserSteppingAction().
int EICG4dRICHDetector::IsInDetector | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 35 of file EICG4dRICHDetector.cc.
View newest version in sPHENIX GitHub at line 35 of file EICG4dRICHDetector.cc
References m_PhysicalVolumesSet.
Referenced by EICG4dRICHSteppingAction::UserSteppingAction().
|
overridevirtual |
Reimplemented from PHG4Detector.
Definition at line 194 of file EICG4dRICHDetector.cc.
View newest version in sPHENIX GitHub at line 194 of file EICG4dRICHDetector.cc
References m_Params, and PHParameters::Print().
Referenced by EICG4dRICHSubsystem::Print().
|
inline |
Definition at line 44 of file EICG4dRICHDetector.h.
View newest version in sPHENIX GitHub at line 44 of file EICG4dRICHDetector.h
References m_SuperDetector.
|
inline |
Definition at line 45 of file EICG4dRICHDetector.h.
View newest version in sPHENIX GitHub at line 45 of file EICG4dRICHDetector.h
References m_SuperDetector.
|
private |
Definition at line 48 of file EICG4dRICHDetector.h.
View newest version in sPHENIX GitHub at line 48 of file EICG4dRICHDetector.h
Referenced by ConstructMe(), and Print().
|
private |
Definition at line 52 of file EICG4dRICHDetector.h.
View newest version in sPHENIX GitHub at line 52 of file EICG4dRICHDetector.h
Referenced by ActivateVolumeTree(), and GetPetal().
|
private |
Definition at line 51 of file EICG4dRICHDetector.h.
View newest version in sPHENIX GitHub at line 51 of file EICG4dRICHDetector.h
Referenced by ActivateVolumeTree(), and IsInDetector().
|
private |
Definition at line 54 of file EICG4dRICHDetector.h.
View newest version in sPHENIX GitHub at line 54 of file EICG4dRICHDetector.h
Referenced by SuperDetector().