ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/basic/B4/B4a/include/B4DetectorConstruction.hh>
Public Member Functions | |
B4DetectorConstruction () | |
virtual | ~B4DetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () |
virtual void | ConstructSDandField () |
const G4VPhysicalVolume * | GetAbsorberPV () const |
const G4VPhysicalVolume * | GetGapPV () const |
B4DetectorConstruction () | |
virtual | ~B4DetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () |
virtual void | ConstructSDandField () |
const G4VPhysicalVolume * | GetAbsorberPV () const |
const G4VPhysicalVolume * | GetGapPV () 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 |
Private Member Functions | |
void | DefineMaterials () |
G4VPhysicalVolume * | DefineVolumes () |
void | DefineMaterials () |
G4VPhysicalVolume * | DefineVolumes () |
Private Attributes | |
G4VPhysicalVolume * | fAbsorberPV |
G4VPhysicalVolume * | fGapPV |
G4bool | fCheckOverlaps |
Static Private Attributes | |
static G4ThreadLocal G4GlobalMagFieldMessenger * | fMagFieldMessenger = nullptr |
Additional Inherited Members | |
Protected Member Functions inherited from G4VUserDetectorConstruction | |
void | SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false) |
void | SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD) |
Detector construction class to define materials and geometry. The calorimeter is a box made of a given number of layers. A layer consists of an absorber plate and of a detection gap. The layer is replicated.
Four parameters define the geometry of the calorimeter :
In addition a transverse uniform magnetic field is defined via G4GlobalMagFieldMessenger class.
Definition at line 53 of file B4DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 53 of file B4DetectorConstruction.hh
B4DetectorConstruction::B4DetectorConstruction | ( | ) |
Definition at line 60 of file B4DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 60 of file B4DetectorConstruction.cc
|
virtual |
Definition at line 70 of file B4DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 70 of file B4DetectorConstruction.cc
B4DetectorConstruction::B4DetectorConstruction | ( | ) |
|
virtual |
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 76 of file B4DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 76 of file B4DetectorConstruction.cc
References DefineMaterials(), and DefineVolumes().
|
virtual |
Implements G4VUserDetectorConstruction.
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 280 of file B4DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 280 of file B4DetectorConstruction.cc
References fMagFieldMessenger, G4AutoDelete::Register(), and G4GlobalMagFieldMessenger::SetVerboseLevel().
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
|
private |
|
private |
Definition at line 87 of file B4DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 87 of file B4DetectorConstruction.cc
References a, cm3, e, Acts::UnitConstants::g, G4cout, G4endl, G4Material::GetMaterialTable(), G4NistManager::Instance(), kelvin, kStateGas, mole, pascal, source.hepunit::universe_mean_density, and z.
Referenced by Construct().
|
private |
Definition at line 110 of file B4DetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 110 of file B4DetectorConstruction.cc
References cm, fAbsorberPV, FatalException, fCheckOverlaps, fGapPV, G4cout, G4endl, G4Exception(), G4VisAttributes::GetInvisible(), G4Material::GetMaterial(), kZAxis, and mm.
Referenced by Construct().
|
private |
const G4VPhysicalVolume* B4DetectorConstruction::GetAbsorberPV | ( | ) | const |
|
inline |
Definition at line 87 of file B4DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 87 of file B4DetectorConstruction.hh
References fAbsorberPV.
Referenced by B4bSteppingAction::UserSteppingAction(), and B4aSteppingAction::UserSteppingAction().
|
inline |
Definition at line 91 of file B4DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 91 of file B4DetectorConstruction.hh
References fGapPV.
Referenced by B4bSteppingAction::UserSteppingAction(), and B4aSteppingAction::UserSteppingAction().
const G4VPhysicalVolume* B4DetectorConstruction::GetGapPV | ( | ) | const |
|
private |
Definition at line 79 of file B4DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 79 of file B4DetectorConstruction.hh
Referenced by DefineVolumes(), and GetAbsorberPV().
|
private |
Definition at line 82 of file B4DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 82 of file B4DetectorConstruction.hh
Referenced by DefineVolumes().
|
private |
Definition at line 80 of file B4DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 80 of file B4DetectorConstruction.hh
Referenced by DefineVolumes(), and GetGapPV().
|
staticprivate |
Definition at line 76 of file B4DetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 76 of file B4DetectorConstruction.hh
Referenced by ConstructSDandField().