ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4lblvtx/EicFRichDetector.h>
Public Member Functions | |
EicFRichDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam) | |
constructor | |
virtual | ~EicFRichDetector () |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct | |
void | Print (const std::string &what="ALL") const override |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
G4Material * | element_material (std::string identifier) |
void | addDetectorSection (G4LogicalVolume *logicWorld, std::string name, double z_pos, double thick, std::string material, std::string color) |
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::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 18 of file EicFRichDetector.h.
View newest version in sPHENIX GitHub at line 18 of file EicFRichDetector.h
EicFRichDetector::EicFRichDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParameters * | parameters, | ||
const std::string & | dnam | ||
) |
constructor
Definition at line 50 of file EicFRichDetector.cc.
View newest version in sPHENIX GitHub at line 50 of file EicFRichDetector.cc
|
inlinevirtual |
destructor
Definition at line 25 of file EicFRichDetector.h.
View newest version in sPHENIX GitHub at line 25 of file EicFRichDetector.h
void EicFRichDetector::addDetectorSection | ( | G4LogicalVolume * | logicWorld, |
std::string | name, | ||
double | z_pos, | ||
double | thick, | ||
std::string | material, | ||
std::string | color | ||
) |
Definition at line 192 of file EicFRichDetector.cc.
View newest version in sPHENIX GitHub at line 192 of file EicFRichDetector.cc
References bp_r(), G4Colour::Cyan(), degree, element_material(), G4Colour::Gray(), G4Colour::Green(), m_PhysicalVolumesSet, G4Colour::Magenta(), PHG4Detector::OverlapCheck(), rmax(), CLHEP::HepRotation::rotateX(), CLHEP::HepRotation::rotateY(), CLHEP::HepRotation::rotateZ(), G4VisAttributes::SetForceSolid(), G4LogicalVolume::SetVisAttributes(), G4Colour::White(), and G4Colour::Yellow().
Referenced by ConstructMe().
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 71 of file EicFRichDetector.cc.
View newest version in sPHENIX GitHub at line 71 of file EicFRichDetector.cc
References addDetectorSection(), cm, and mm.
G4Material * EicFRichDetector::element_material | ( | std::string | identifier | ) |
Definition at line 136 of file EicFRichDetector.cc.
View newest version in sPHENIX GitHub at line 136 of file EicFRichDetector.cc
References G4Material::AddElement(), G4Material::AddMaterial(), cm3, Acts::UnitConstants::g, PHG4Detector::GetDetectorMaterial(), G4Element::GetElement(), mole, and perCent.
Referenced by addDetectorSection().
int EicFRichDetector::IsInDetector | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 60 of file EicFRichDetector.cc.
View newest version in sPHENIX GitHub at line 60 of file EicFRichDetector.cc
References m_PhysicalVolumesSet.
Referenced by EicFRichSteppingAction::UserSteppingAction().
|
overridevirtual |
Reimplemented from PHG4Detector.
Definition at line 124 of file EicFRichDetector.cc.
View newest version in sPHENIX GitHub at line 124 of file EicFRichDetector.cc
References m_Params, and PHParameters::Print().
Referenced by EicFRichSubsystem::Print().
|
inline |
Definition at line 37 of file EicFRichDetector.h.
View newest version in sPHENIX GitHub at line 37 of file EicFRichDetector.h
References m_SuperDetector.
|
inline |
Definition at line 38 of file EicFRichDetector.h.
View newest version in sPHENIX GitHub at line 38 of file EicFRichDetector.h
References m_SuperDetector.
|
private |
Definition at line 43 of file EicFRichDetector.h.
View newest version in sPHENIX GitHub at line 43 of file EicFRichDetector.h
Referenced by Print().
|
private |
Definition at line 46 of file EicFRichDetector.h.
View newest version in sPHENIX GitHub at line 46 of file EicFRichDetector.h
Referenced by addDetectorSection(), and IsInDetector().
|
private |
Definition at line 48 of file EicFRichDetector.h.
View newest version in sPHENIX GitHub at line 48 of file EicFRichDetector.h
Referenced by SuperDetector().