EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicToyModel/blob/master/fun4all_with_eicroot/sandbox/EicToyModelDetector.h>
Public Member Functions | |
EicToyModelDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam) | |
constructor | |
virtual | ~EicToyModelDetector () |
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 |
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 17 of file EicToyModelDetector.h.
View newest version in sPHENIX GitHub at line 17 of file EicToyModelDetector.h
EicToyModelDetector::EicToyModelDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParameters * | parameters, | ||
const std::string & | dnam | ||
) |
constructor
Definition at line 10 of file EicToyModelDetector.cc.
View newest version in sPHENIX GitHub at line 10 of file EicToyModelDetector.cc
|
inlinevirtual |
destructor
Definition at line 24 of file EicToyModelDetector.h.
View newest version in sPHENIX GitHub at line 24 of file EicToyModelDetector.h
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 31 of file EicToyModelDetector.cc.
View newest version in sPHENIX GitHub at line 31 of file EicToyModelDetector.cc
References eic, PHParameters::get_string_param(), EicToyModel::Import(), and m_Params.
int EicToyModelDetector::IsInDetector | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 20 of file EicToyModelDetector.cc.
View newest version in sPHENIX GitHub at line 20 of file EicToyModelDetector.cc
References m_PhysicalVolumesSet.
|
overridevirtual |
Reimplemented from PHG4Detector.
Definition at line 46 of file EicToyModelDetector.cc.
View newest version in sPHENIX GitHub at line 46 of file EicToyModelDetector.cc
References m_Params, and PHParameters::Print().
Referenced by EicToyModelSubsystem::Print().
|
inline |
Definition at line 36 of file EicToyModelDetector.h.
View newest version in sPHENIX GitHub at line 36 of file EicToyModelDetector.h
References m_SuperDetector, and name.
Referenced by EicToyModelSubsystem::InitRunSubsystem().
|
inline |
Definition at line 37 of file EicToyModelDetector.h.
View newest version in sPHENIX GitHub at line 37 of file EicToyModelDetector.h
References m_SuperDetector.
|
private |
Definition at line 40 of file EicToyModelDetector.h.
View newest version in sPHENIX GitHub at line 40 of file EicToyModelDetector.h
Referenced by ConstructMe(), and Print().
|
private |
Definition at line 43 of file EicToyModelDetector.h.
View newest version in sPHENIX GitHub at line 43 of file EicToyModelDetector.h
Referenced by IsInDetector().
|
private |
Definition at line 45 of file EicToyModelDetector.h.
View newest version in sPHENIX GitHub at line 45 of file EicToyModelDetector.h
Referenced by SuperDetector().