62 :m_experimentalHall_log(0),
64 m_experimentalHall_phys(0),
67 G4cout<<
"ExGflashDetectorConstruction::Detector constructor"<<
G4endl;
83 delete m_theParameterisation;
84 delete m_theParticleBounds;
86 delete m_theFastShowerModel;
100 m_experimentalHall_x=1000.*
cm;
101 m_experimentalHall_y=1000.*
cm;
102 m_experimentalHall_z=1000.*
cm;
104 m_experimentalHall_box =
new G4Box(
"expHall_box",
105 m_experimentalHall_x,
106 m_experimentalHall_y,
107 m_experimentalHall_z);
118 m_experimentalHall_log,
135 m_CrystalWidht = 3*
cm;
136 m_CrystalLenght= 24*
cm;
137 m_calo_xside=(m_CrystalWidht*m_NbOfCrystals)+1*
cm;
138 m_calo_yside=(m_CrystalWidht*m_NbOfCrystals)+1*
cm;;
139 m_calo_zside=m_CrystalLenght;
160 m_experimentalHall_log,
164 for (
int i=0; i<m_NbOfCrystals;i++)
167 for (
int j=0; j<m_NbOfCrystals;j++)
170 m_crystal[
n]=
new G4Box(
"Crystal",
171 m_CrystalWidht/2,m_CrystalWidht/2,m_CrystalLenght/2);
177 G4ThreeVector((i*m_CrystalWidht)-135,(j*m_CrystalWidht)-135,0 ),
185 G4cout <<
"There are " << m_NbOfCrystals <<
" crystals per row in the calorimeter, so in total "<<
186 m_NbOfCrystals*m_NbOfCrystals <<
" crystals" <<
G4endl;
187 G4cout <<
"The have widthof " << m_CrystalWidht /
cm <<
" cm and a lenght of " << m_CrystalLenght /
cm
200 for (
int i=0; i<100;i++)
223 return m_experimentalHall_phys;