ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/basic/B2/B2b/include/B2bDetectorConstruction.hh>
Public Member Functions | |
B2bDetectorConstruction () | |
virtual | ~B2bDetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () |
virtual void | ConstructSDandField () |
void | SetTargetMaterial (G4String) |
void | SetChamberMaterial (G4String) |
void | SetMaxStep (G4double) |
void | SetCheckOverlaps (G4bool) |
B2bDetectorConstruction () | |
virtual | ~B2bDetectorConstruction () |
virtual G4VPhysicalVolume * | Construct () |
virtual void | ConstructSDandField () |
void | SetTargetMaterial (G4String) |
void | SetChamberMaterial (G4String) |
void | SetMaxStep (G4double) |
void | SetCheckOverlaps (G4bool) |
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 () |
Static Private Attributes | |
static G4ThreadLocal G4GlobalMagFieldMessenger * | fMagFieldMessenger = 0 |
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, geometry and global uniform magnetic field.
Definition at line 48 of file B2bDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 48 of file B2bDetectorConstruction.hh
B2bDetectorConstruction::B2bDetectorConstruction | ( | ) |
Definition at line 62 of file B2bDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 62 of file B2bDetectorConstruction.cc
References fMessenger.
|
virtual |
Definition at line 74 of file B2bDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 74 of file B2bDetectorConstruction.cc
References fMessenger, and fStepLimit.
B2bDetectorConstruction::B2bDetectorConstruction | ( | ) |
|
virtual |
|
virtual |
Implements G4VUserDetectorConstruction.
Definition at line 82 of file B2bDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 82 of file B2bDetectorConstruction.cc
References DefineMaterials(), and DefineVolumes().
|
virtual |
Implements G4VUserDetectorConstruction.
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 279 of file B2bDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 279 of file B2bDetectorConstruction.cc
References G4SDManager::AddNewDetector(), fLogicChamber, fMagFieldMessenger, G4SDManager::GetSDMpointer(), G4AutoDelete::Register(), G4VUserDetectorConstruction::SetSensitiveDetector(), and G4GlobalMagFieldMessenger::SetVerboseLevel().
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
|
private |
Definition at line 93 of file B2bDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 93 of file B2bDetectorConstruction.cc
References fChamberMaterial, G4NistManager::FindOrBuildMaterial(), fTargetMaterial, G4cout, G4endl, G4Material::GetMaterialTable(), and G4NistManager::Instance().
Referenced by Construct().
|
private |
|
private |
|
private |
Set additional contraints on the track, with G4UserSpecialCuts
G4double maxLength = 2*trackerLength, maxTime = 0.1*ns, minEkin = 10*MeV; trackerLV->SetUserLimits(new G4UserLimits(maxStep, maxLength, maxTime, minEkin));
Definition at line 114 of file B2bDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 114 of file B2bDetectorConstruction.cc
References cm, deg, fChamberMaterial, fCheckOverlaps, fLogicChamber, fLogicTarget, fStepLimit, fTargetMaterial, G4cout, G4endl, G4GeometryTolerance::GetInstance(), G4GeometryManager::GetInstance(), G4Material::GetMaterial(), G4Material::GetName(), G4GeometryTolerance::GetSurfaceTolerance(), kZAxis, mm, G4LogicalVolume::SetUserLimits(), G4LogicalVolume::SetVisAttributes(), and G4GeometryManager::SetWorldMaximumExtent().
Referenced by Construct().
Definition at line 327 of file B2bDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 327 of file B2bDetectorConstruction.cc
References fChamberMaterial, G4NistManager::FindOrBuildMaterial(), fLogicChamber, G4cout, G4endl, G4NistManager::Instance(), and G4LogicalVolume::SetMaterial().
Referenced by B2bDetectorMessenger::SetNewValue().
Definition at line 352 of file B2bDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 352 of file B2bDetectorConstruction.cc
References fStepLimit, and G4UserLimits::SetMaxAllowedStep().
Referenced by B2bDetectorMessenger::SetNewValue().
Definition at line 302 of file B2bDetectorConstruction.cc.
View newest version in sPHENIX GitHub at line 302 of file B2bDetectorConstruction.cc
References G4NistManager::FindOrBuildMaterial(), fLogicTarget, fTargetMaterial, G4cout, G4endl, G4NistManager::Instance(), and G4LogicalVolume::SetMaterial().
Referenced by B2bDetectorMessenger::SetNewValue().
|
private |
Definition at line 74 of file B2bDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 74 of file B2bDetectorConstruction.hh
Referenced by DefineMaterials(), DefineVolumes(), and SetChamberMaterial().
|
private |
Definition at line 83 of file B2bDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 83 of file B2bDetectorConstruction.hh
Referenced by DefineVolumes().
|
private |
Definition at line 71 of file B2bDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 71 of file B2bDetectorConstruction.hh
Referenced by ConstructSDandField(), DefineVolumes(), and SetChamberMaterial().
|
private |
Definition at line 70 of file B2bDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 70 of file B2bDetectorConstruction.hh
Referenced by DefineVolumes(), and SetTargetMaterial().
|
staticprivate |
Definition at line 80 of file B2bDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 80 of file B2bDetectorConstruction.hh
Referenced by ConstructSDandField().
|
private |
Definition at line 78 of file B2bDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 78 of file B2bDetectorConstruction.hh
Referenced by B2bDetectorConstruction(), and ~B2bDetectorConstruction().
|
private |
Definition at line 76 of file B2bDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 76 of file B2bDetectorConstruction.hh
Referenced by DefineVolumes(), SetMaxStep(), and ~B2bDetectorConstruction().
|
private |
Definition at line 73 of file B2bDetectorConstruction.hh.
View newest version in sPHENIX GitHub at line 73 of file B2bDetectorConstruction.hh
Referenced by DefineMaterials(), DefineVolumes(), and SetTargetMaterial().