ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Types | |
typedef std::map< G4String, G4Material * > | MaterialCollection_t |
typedef std::set < G4LogicalVolume * > | ScoringVolumes_t |
Public Member Functions | |
TSDetectorConstruction () | |
virtual | ~TSDetectorConstruction () |
G4VPhysicalVolume * | Construct () |
const G4ThreeVector & | GetWorldDimensions () const |
const ScoringVolumes_t & | GetScoringVolumes () const |
const G4String & | GetMFDName () const |
G4int | GetTotalTargets () const |
Public Member Functions inherited from G4VUserDetectorConstruction | |
G4VUserDetectorConstruction () | |
virtual | ~G4VUserDetectorConstruction () |
virtual void | CloneSD () |
virtual void | CloneF () |
void | RegisterParallelWorld (G4VUserParallelWorld *) |
G4int | ConstructParallelGeometries () |
void | ConstructParallelSD () |
G4int | GetNumberOfParallelWorld () const |
G4VUserParallelWorld * | GetParallelWorld (G4int i) const |
Static Public Member Functions | |
static TSDetectorConstruction * | Instance () |
Protected Member Functions | |
virtual MaterialCollection_t | ConstructMaterials () |
virtual G4VPhysicalVolume * | ConstructWorld (const MaterialCollection_t &) |
virtual void | ConstructSDandField () |
Protected Member Functions inherited from G4VUserDetectorConstruction | |
void | SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false) |
void | SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD) |
Static Private Attributes | |
static TSDetectorConstruction * | fgInstance = 0 |
Definition at line 73 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 73 of file TSDetectorConstruction.hh
typedef std::map<G4String, G4Material*> TSDetectorConstruction::MaterialCollection_t |
Definition at line 76 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 76 of file TSDetectorConstruction.hh
typedef std::set<G4LogicalVolume*> TSDetectorConstruction::ScoringVolumes_t |
Definition at line 77 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 77 of file TSDetectorConstruction.hh
TSDetectorConstruction::TSDetectorConstruction | ( | ) |
Definition at line 91 of file TSDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 91 of file TSDetectorConstruction.cc
References fgInstance.
|
virtual |
Definition at line 106 of file TSDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 106 of file TSDetectorConstruction.cc
References fgInstance.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 113 of file TSDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 113 of file TSDetectorConstruction.cc
References ConstructMaterials(), and ConstructWorld().
|
protectedvirtual |
Definition at line 121 of file TSDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 121 of file TSDetectorConstruction.cc
References fCasingMaterialName, G4NistManager::FindOrBuildMaterial(), fTargetMaterialName, fWorldMaterialName, G4NistManager::Instance(), and G4TrackingService::materials.
Referenced by Construct().
|
protectedvirtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 276 of file TSDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 276 of file TSDetectorConstruction.cc
References G4SDManager::AddNewDetector(), edep, fMfdName, fScoringVolumes, G4SDManager::GetSDMpointer(), G4MultiFunctionalDetector::RegisterPrimitive(), and G4VUserDetectorConstruction::SetSensitiveDetector().
|
protectedvirtual |
Definition at line 136 of file TSDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 136 of file TSDetectorConstruction.cc
References dx, dy, dz, fScoringVolumes, fTargetDim, fTargetSections, fWorldDim, fWorldPhys, k, G4VisAttributes::SetForceSolid(), G4VisAttributes::SetForceWireframe(), G4LogicalVolume::SetUserLimits(), G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by Construct().
|
inline |
Definition at line 90 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 90 of file TSDetectorConstruction.hh
References fMfdName.
|
inline |
Definition at line 88 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 88 of file TSDetectorConstruction.hh
References fScoringVolumes.
|
inline |
Definition at line 91 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 91 of file TSDetectorConstruction.hh
References fTargetSections, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
|
inline |
Definition at line 87 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 87 of file TSDetectorConstruction.hh
References fWorldDim.
Referenced by TSPrimaryGeneratorAction::GeneratePrimaries().
|
static |
Definition at line 84 of file TSDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 84 of file TSDetectorConstruction.cc
Referenced by TSRun::ConstructMFD(), and TSPrimaryGeneratorAction::GeneratePrimaries().
|
private |
Definition at line 105 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 105 of file TSDetectorConstruction.hh
Referenced by ConstructMaterials().
|
staticprivate |
Definition at line 100 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 100 of file TSDetectorConstruction.hh
Referenced by TSDetectorConstruction(), and ~TSDetectorConstruction().
|
private |
Definition at line 109 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 109 of file TSDetectorConstruction.hh
Referenced by ConstructSDandField(), and GetMFDName().
|
private |
Definition at line 102 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 102 of file TSDetectorConstruction.hh
Referenced by ConstructSDandField(), ConstructWorld(), and GetScoringVolumes().
|
private |
Definition at line 107 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 107 of file TSDetectorConstruction.hh
Referenced by ConstructWorld().
|
private |
Definition at line 104 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 104 of file TSDetectorConstruction.hh
Referenced by ConstructMaterials().
|
private |
Definition at line 108 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 108 of file TSDetectorConstruction.hh
Referenced by ConstructWorld(), and GetTotalTargets().
|
private |
Definition at line 106 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 106 of file TSDetectorConstruction.hh
Referenced by ConstructWorld(), and GetWorldDimensions().
|
private |
Definition at line 103 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 103 of file TSDetectorConstruction.hh
Referenced by ConstructMaterials().
|
private |
Definition at line 101 of file TSDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 101 of file TSDetectorConstruction.hh
Referenced by ConstructWorld().