Geant4
10.02.p01
|
#include <TSDetectorConstruction.hh>
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 |
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 74 of file TSDetectorConstruction.hh.
typedef std::map<G4String, G4Material*> TSDetectorConstruction::MaterialCollection_t |
Definition at line 77 of file TSDetectorConstruction.hh.
typedef std::set<G4LogicalVolume*> TSDetectorConstruction::ScoringVolumes_t |
Definition at line 78 of file TSDetectorConstruction.hh.
TSDetectorConstruction::TSDetectorConstruction | ( | ) |
Definition at line 91 of file TSDetectorConstruction.cc.
References fgInstance.
|
virtual |
Definition at line 106 of file TSDetectorConstruction.cc.
References fgInstance.
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 113 of file TSDetectorConstruction.cc.
References ConstructMaterials(), and ConstructWorld().
|
protectedvirtual |
Definition at line 121 of file TSDetectorConstruction.cc.
References fCasingMaterialName, G4NistManager::FindOrBuildMaterial(), fTargetMaterialName, fWorldMaterialName, and G4NistManager::Instance().
Referenced by Construct().
|
protectedvirtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 276 of file TSDetectorConstruction.cc.
References fMfdName, fScoringVolumes, G4MultiFunctionalDetector::RegisterPrimitive(), and G4VUserDetectorConstruction::SetSensitiveDetector().
|
protectedvirtual |
Definition at line 136 of file TSDetectorConstruction.cc.
References blue, fScoringVolumes, fTargetDim, fTargetSections, fWorldDim, fWorldPhys, red, G4VisAttributes::SetForceSolid(), G4VisAttributes::SetForceWireframe(), G4LogicalVolume::SetUserLimits(), G4LogicalVolume::SetVisAttributes(), and G4VisAttributes::SetVisibility().
Referenced by Construct().
|
inline |
Definition at line 91 of file TSDetectorConstruction.hh.
References fMfdName.
|
inline |
Definition at line 89 of file TSDetectorConstruction.hh.
References fScoringVolumes.
|
inline |
Definition at line 88 of file TSDetectorConstruction.hh.
References fWorldDim.
Referenced by TSPrimaryGeneratorAction::GeneratePrimaries().
|
static |
Definition at line 84 of file TSDetectorConstruction.cc.
Referenced by TSPrimaryGeneratorAction::GeneratePrimaries().
|
private |
Definition at line 104 of file TSDetectorConstruction.hh.
Referenced by ConstructMaterials().
|
staticprivate |
Definition at line 99 of file TSDetectorConstruction.hh.
Referenced by TSDetectorConstruction(), and ~TSDetectorConstruction().
|
private |
Definition at line 108 of file TSDetectorConstruction.hh.
Referenced by ConstructSDandField(), and GetMFDName().
|
private |
Definition at line 101 of file TSDetectorConstruction.hh.
Referenced by ConstructSDandField(), ConstructWorld(), and GetScoringVolumes().
|
private |
Definition at line 106 of file TSDetectorConstruction.hh.
Referenced by ConstructWorld().
|
private |
Definition at line 103 of file TSDetectorConstruction.hh.
Referenced by ConstructMaterials().
|
private |
Definition at line 107 of file TSDetectorConstruction.hh.
Referenced by ConstructWorld().
|
private |
Definition at line 105 of file TSDetectorConstruction.hh.
Referenced by ConstructWorld(), and GetWorldDimensions().
|
private |
Definition at line 102 of file TSDetectorConstruction.hh.
Referenced by ConstructMaterials().
|
private |
Definition at line 100 of file TSDetectorConstruction.hh.
Referenced by ConstructWorld().