75 G4cout<<
"ExGflashDetectorConstruction::Detector constructor"<<
G4endl;
82 delete fFastShowerModel;
83 delete fParameterisation;
84 delete fParticleBounds;
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 SetHitMaker(GFlashHitMaker &Maker)
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
ExGflashDetectorConstruction()
CLHEP::Hep3Vector G4ThreeVector
void AddRootLogicalVolume(G4LogicalVolume *lv)
virtual G4VPhysicalVolume * Construct()
~ExGflashDetectorConstruction()
void SetParticleBounds(GFlashParticleBounds &SpecificBound)
static G4NistManager * Instance()
void SetRegion(G4Region *reg)
G4GLOB_DLL std::ostream G4cout
static constexpr double cm
void AddNewDetector(G4VSensitiveDetector *aSD)
Definition of the ExGflashSensitiveDetector class.
static G4SDManager * GetSDMpointer()
void SetParameterisation(GVFlashShowerParameterisation &DP)
Definition of the ExGflashDetectorConstruction class.
static const G4VisAttributes & GetInvisible()
virtual void ConstructSDandField()
void SetVisAttributes(const G4VisAttributes *pVA)
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)