75 G4cout<<
"ExGflashDetectorConstruction::Detector constructor"<<
G4endl;
108 =
new G4Box(
"expHall_box",
124 experimentalHall_log,
135 G4int nbOfCrystals = 10;
149 calo_xside = (crystalWidth*nbOfCrystals)+1*
cm;
150 calo_yside = (crystalWidth*nbOfCrystals)+1*
cm;
151 calo_zside = crystalLength;
172 experimentalHall_log,
178 =
new G4Box(
"Crystal",
188 for (
G4int i=0; i<nbOfCrystals; i++)
191 for (
G4int j=0; j<nbOfCrystals; j++)
195 (j*crystalWidth)-135,0 );
206 G4cout <<
"There are " << nbOfCrystals <<
207 " crystals per row in the calorimeter, so in total "<<
208 nbOfCrystals*nbOfCrystals <<
" crystals" <<
G4endl;
209 G4cout <<
"They have width of " << crystalWidth /
cm <<
210 " cm and a length of " << crystalLength /
cm
211 <<
" cm. The Material is "<< pbWO4 <<
G4endl;
225 return experimentalHall_phys;
246 G4cout <<
"Creating shower parameterization models" <<
G4endl;
void SetParticleBounds(GFlashParticleBounds &SpecificBound)
void AddRootLogicalVolume(G4LogicalVolume *lv)
CLHEP::Hep3Vector G4ThreeVector
void AddNewDetector(G4VSensitiveDetector *aSD)
virtual void ConstructSDandField()
void SetParameterisation(GVFlashShowerParameterisation &DP)
static const G4VisAttributes & GetInvisible()
Definition of the ExGflashDetectorConstruction class.
void SetHitMaker(GFlashHitMaker &Maker)
ExGflashDetectorConstruction()
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
static G4ThreadLocal GFlashHomoShowerParameterisation * fParameterisation
void SetVisAttributes(const G4VisAttributes *pVA)
void SetRegion(G4Region *reg)
static G4SDManager * GetSDMpointer()
~ExGflashDetectorConstruction()
static G4ThreadLocal GFlashShowerModel * fFastShowerModel
static constexpr double cm
G4GLOB_DLL std::ostream G4cout
static G4ThreadLocal GFlashParticleBounds * fParticleBounds
G4VPhysicalVolume * fCrystal_phys[100]
static G4ThreadLocal GFlashHitMaker * fHitMaker
Definition of the ExGflashSensitiveDetector class.
G4LogicalVolume * fCrystal_log
virtual G4VPhysicalVolume * Construct()
static G4NistManager * Instance()
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)