EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4zdc/EICG4ZDCDetector.h>
Public Member Functions | |
EICG4ZDCDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam) | |
constructor | |
virtual | ~EICG4ZDCDetector () |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct | |
void | Print (const std::string &what="ALL") const override |
int | GetActiveVolumeInfo (G4VPhysicalVolume *volume) |
int | GetAbsorberVolumeInfo (G4VPhysicalVolume *volume) |
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< G4LogicalVolume * > | m_ActiveLogicalVolumesSet |
std::set< G4LogicalVolume * > | m_AbsorberLogicalVolumesSet |
std::map< G4LogicalVolume *, int > | m_ActiveLogicalVolumeInfoMap |
std::map< G4LogicalVolume *, int > | m_AbsorberLogicalVolumeInfoMap |
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 EICG4ZDCDetector.h.
View newest version in sPHENIX GitHub at line 18 of file EICG4ZDCDetector.h
EICG4ZDCDetector::EICG4ZDCDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParameters * | parameters, | ||
const std::string & | dnam | ||
) |
constructor
Definition at line 54 of file EICG4ZDCDetector.cc.
View newest version in sPHENIX GitHub at line 54 of file EICG4ZDCDetector.cc
|
inlinevirtual |
destructor
Definition at line 25 of file EICG4ZDCDetector.h.
View newest version in sPHENIX GitHub at line 25 of file EICG4ZDCDetector.h
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 93 of file EICG4ZDCDetector.cc.
View newest version in sPHENIX GitHub at line 93 of file EICG4ZDCDetector.cc
References Acts::UnitConstants::cm, PHParameters::get_double_param(), PHG4Detector::GetDetectorMaterial(), m_AbsorberLogicalVolumeInfoMap, m_AbsorberLogicalVolumesSet, m_ActiveLogicalVolumeInfoMap, m_ActiveLogicalVolumesSet, m_Params, Acts::UnitConstants::mm, PHG4Detector::OverlapCheck(), and Acts::UnitConstants::rad.
int EICG4ZDCDetector::GetAbsorberVolumeInfo | ( | G4VPhysicalVolume * | volume | ) |
Definition at line 85 of file EICG4ZDCDetector.cc.
View newest version in sPHENIX GitHub at line 85 of file EICG4ZDCDetector.cc
References m_AbsorberLogicalVolumeInfoMap.
Referenced by EICG4ZDCSteppingAction::UserSteppingAction().
int EICG4ZDCDetector::GetActiveVolumeInfo | ( | G4VPhysicalVolume * | volume | ) |
Definition at line 78 of file EICG4ZDCDetector.cc.
View newest version in sPHENIX GitHub at line 78 of file EICG4ZDCDetector.cc
References m_ActiveLogicalVolumeInfoMap.
Referenced by EICG4ZDCSteppingAction::UserSteppingAction().
int EICG4ZDCDetector::IsInDetector | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 64 of file EICG4ZDCDetector.cc.
View newest version in sPHENIX GitHub at line 64 of file EICG4ZDCDetector.cc
References m_AbsorberLogicalVolumesSet, and m_ActiveLogicalVolumesSet.
Referenced by EICG4ZDCSteppingAction::UserSteppingAction().
|
overridevirtual |
Reimplemented from PHG4Detector.
Definition at line 146 of file EICG4ZDCDetector.cc.
View newest version in sPHENIX GitHub at line 146 of file EICG4ZDCDetector.cc
References m_Params, and PHParameters::Print().
Referenced by EICG4ZDCSubsystem::Print().
|
inline |
Definition at line 39 of file EICG4ZDCDetector.h.
View newest version in sPHENIX GitHub at line 39 of file EICG4ZDCDetector.h
References m_SuperDetector, and name.
|
inline |
Definition at line 40 of file EICG4ZDCDetector.h.
View newest version in sPHENIX GitHub at line 40 of file EICG4ZDCDetector.h
References m_SuperDetector.
|
private |
Definition at line 51 of file EICG4ZDCDetector.h.
View newest version in sPHENIX GitHub at line 51 of file EICG4ZDCDetector.h
Referenced by ConstructMe(), and GetAbsorberVolumeInfo().
|
private |
Definition at line 46 of file EICG4ZDCDetector.h.
View newest version in sPHENIX GitHub at line 46 of file EICG4ZDCDetector.h
Referenced by ConstructMe(), and IsInDetector().
|
private |
Definition at line 50 of file EICG4ZDCDetector.h.
View newest version in sPHENIX GitHub at line 50 of file EICG4ZDCDetector.h
Referenced by ConstructMe(), and GetActiveVolumeInfo().
|
private |
Definition at line 45 of file EICG4ZDCDetector.h.
View newest version in sPHENIX GitHub at line 45 of file EICG4ZDCDetector.h
Referenced by ConstructMe(), and IsInDetector().
|
private |
Definition at line 43 of file EICG4ZDCDetector.h.
View newest version in sPHENIX GitHub at line 43 of file EICG4ZDCDetector.h
Referenced by ConstructMe(), and Print().
|
private |
Definition at line 53 of file EICG4ZDCDetector.h.
View newest version in sPHENIX GitHub at line 53 of file EICG4ZDCDetector.h
Referenced by SuperDetector().