#include <ExGflashDetectorConstruction.hh>
ExGflashDetectorConstruction::ExGflashDetectorConstruction |
( |
| ) |
|
ExGflashDetectorConstruction::~ExGflashDetectorConstruction |
( |
| ) |
|
Implements G4VUserDetectorConstruction.
Definition at line 90 of file ExGflashDetectorConstruction.cc.
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;
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
CLHEP::Hep3Vector G4ThreeVector
void AddRootLogicalVolume(G4LogicalVolume *lv)
static G4NistManager * Instance()
void SetRegion(G4Region *reg)
G4GLOB_DLL std::ostream G4cout
static constexpr double cm
static const G4VisAttributes & GetInvisible()
void SetVisAttributes(const G4VisAttributes *pVA)
void ExGflashDetectorConstruction::ConstructSDandField |
( |
| ) |
|
|
virtual |
Reimplemented from G4VUserDetectorConstruction.
Definition at line 230 of file ExGflashDetectorConstruction.cc.
246 G4cout <<
"Creating shower parameterization models" <<
G4endl;
void SetHitMaker(GFlashHitMaker &Maker)
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
void SetParticleBounds(GFlashParticleBounds &SpecificBound)
static G4NistManager * Instance()
G4GLOB_DLL std::ostream G4cout
void AddNewDetector(G4VSensitiveDetector *aSD)
static G4SDManager * GetSDMpointer()
void SetParameterisation(GVFlashShowerParameterisation &DP)
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)
The documentation for this class was generated from the following files: