60 fSolidWorld(0), fLogicWorld(0), fPhysiWorld(0),
61 fSolidTarget(0), fLogicTarget(0), fPhysiTarget(0),
62 fSolidTracker(0), fLogicTracker(0), fPhysiTracker(0),
63 fSolidChamber(0), fLogicChamber(0), fPhysiChamber(0),
64 fTargetMater(0), fChamberMater(0), fPMagField(0), fDetectorMessenger(0),
65 fWorldLength(0.), fTargetLength(0.), fTrackerLength(0.),
66 fNbOfChambers(0), fChamberWidth(0.), fChamberSpacing(0.)
87 G4double density, temperature, pressure;
137 fSolidWorld=
new G4Box(
"world",HalfWorldLength,HalfWorldLength,HalfWorldLength);
217 G4cout <<
"There are " << fNbOfChambers <<
" chambers in the tracker region. "
228 G4String trackerChamberSDname =
"ExP01/TrackerChamberSD";
273 << materialName <<
G4endl;
287 << materialName <<
G4endl;
static constexpr double kelvin
virtual G4VPhysicalVolume * Construct()
static constexpr double atmosphere
CLHEP::Hep3Vector G4ThreeVector
std::vector< ExP01TrackerHit * > a
Definition of the ExP01DetectorMessenger class.
static G4MaterialTable * GetMaterialTable()
static constexpr double mm
G4LogicalVolume * fLogicTracker
void AddNewDetector(G4VSensitiveDetector *aSD)
static constexpr double perCent
G4VPhysicalVolume * fPhysiTarget
Magnetic field for the persistency example.
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
Detector messenger for the persistency example.
ExP01DetectorMessenger * fDetectorMessenger
void SetChamberMaterial(G4String)
const G4String & GetName() const
static constexpr double g
G4VPhysicalVolume * fPhysiTracker
G4LogicalVolume * fLogicTarget
static constexpr double mg
void SetTargetMaterial(G4String)
Sensitive detector implementation for the ROOT hits persistency example.
G4VPhysicalVolume * fPhysiWorld
ExP01MagneticField * fPMagField
void SetVisAttributes(const G4VisAttributes *pVA)
G4LogicalVolume * fLogicWorld
void SetUserLimits(G4UserLimits *pULimits)
static G4SDManager * GetSDMpointer()
ExP01DetectorConstruction()
G4LogicalVolume * fLogicChamber
void SetFieldValue(G4double fieldValue)
Definition of the ExP01DetectorConstruction class.
G4VPhysicalVolume * fPhysiChamber
void AddElement(G4Element *element, G4int nAtoms)
~ExP01DetectorConstruction()
void SetMagField(G4double)
static constexpr double cm
G4GLOB_DLL std::ostream G4cout
void SetMaterial(G4Material *pMaterial)
Definition of the ExP01TrackerSD class.
Definition of the ExP01MagneticField class.
static constexpr double mole
G4Material * fChamberMater
static constexpr double cm3
G4Material * fTargetMater
Chamber parameterisation for the persistency example.
Definition of the ExP01ChamberParameterisation class.
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)