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 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()
G4LogicalVolume * fCrystal_log
void SetParticleBounds(GFlashParticleBounds &SpecificBound)
static G4ThreadLocal GFlashHitMaker * fHitMaker
static G4NistManager * Instance()
void SetRegion(G4Region *reg)
G4VPhysicalVolume * fCrystal_phys[100]
G4GLOB_DLL std::ostream G4cout
static G4ThreadLocal GFlashParticleBounds * fParticleBounds
static G4ThreadLocal GFlashShowerModel * fFastShowerModel
void AddNewDetector(G4VSensitiveDetector *aSD)
static G4ThreadLocal GFlashHomoShowerParameterisation * fParameterisation
Definition of the ExGflashSensitiveDetector class.
static G4SDManager * GetSDMpointer()
static const G4VisAttributes Invisible
void SetParameterisation(GVFlashShowerParameterisation &DP)
virtual void ConstructSDandField()
void SetVisAttributes(const G4VisAttributes *pVA)
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)