EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicToyModel/blob/master/fun4all_with_eicroot/sandbox/EicRootDetector.h>
Public Member Functions | |
EicRootDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &dnam) | |
virtual | ~EicRootDetector () |
void | ConstructMe (G4LogicalVolume *world) override |
void | Print (const std::string &what="ALL") const override |
int | IsInDetector (G4VPhysicalVolume *) |
PHG4HitContainer * | get_hitcontainer (void) |
void | set_hitcontainer (PHG4HitContainer *container) |
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 | |
PHG4HitContainer * | m_HitContainer |
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 EicRootDetector.h.
View newest version in sPHENIX GitHub at line 18 of file EicRootDetector.h
EicRootDetector::EicRootDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
const std::string & | dnam | ||
) |
Definition at line 19 of file EicRootDetector.cc.
View newest version in sPHENIX GitHub at line 19 of file EicRootDetector.cc
|
inlinevirtual |
Definition at line 23 of file EicRootDetector.h.
View newest version in sPHENIX GitHub at line 23 of file EicRootDetector.h
|
overridevirtual |
Implements PHG4Detector.
Definition at line 42 of file EicRootDetector.cc.
View newest version in sPHENIX GitHub at line 42 of file EicRootDetector.cc
References eic, PHParameters::get_string_param(), PHG4Detector::GetMySubsystem(), PHG4DetectorSubsystem::GetParams(), EicToyModel::Instance(), and mid.
|
inline |
Definition at line 32 of file EicRootDetector.h.
View newest version in sPHENIX GitHub at line 32 of file EicRootDetector.h
References m_HitContainer.
Referenced by EicRootSubsystem::InitRunSubsystem(), and GdmlImportDetectorSteppingAction::UserSteppingAction().
int EicRootDetector::IsInDetector | ( | G4VPhysicalVolume * | volume | ) |
Definition at line 28 of file EicRootDetector.cc.
View newest version in sPHENIX GitHub at line 28 of file EicRootDetector.cc
References EicRootSubsystem::GetG4SensitiveVolumes(), PHG4Detector::GetMySubsystem(), and Acts::Test::volume.
Referenced by GdmlImportDetectorSteppingAction::UserSteppingAction().
|
overridevirtual |
Reimplemented from PHG4Detector.
Definition at line 68 of file EicRootDetector.cc.
View newest version in sPHENIX GitHub at line 68 of file EicRootDetector.cc
Referenced by EicRootSubsystem::Print().
|
inline |
Definition at line 33 of file EicRootDetector.h.
View newest version in sPHENIX GitHub at line 33 of file EicRootDetector.h
References m_HitContainer.
Referenced by EicRootSubsystem::InitRunSubsystem().
|
private |
Definition at line 33 of file EicRootDetector.h.
View newest version in sPHENIX GitHub at line 33 of file EicRootDetector.h
Referenced by get_hitcontainer(), and set_hitcontainer().