#include <RE06DetectorConstruction.hh>
Definition at line 45 of file RE06DetectorConstruction.hh.
◆ RE06DetectorConstruction()
RE06DetectorConstruction::RE06DetectorConstruction |
( |
| ) |
|
Definition at line 68 of file RE06DetectorConstruction.cc.
87 for(
size_t i=0;i<3;i++)
RE06DetectorMessenger * fDetectorMessenger
G4Material * fGapMaterial
G4VPhysicalVolume * fGapPhysical[3]
G4LogicalVolume * fWorldLogical
G4PVReplica * fLayerPhysical[3]
G4Material * fAbsorberMaterial
G4LogicalVolume * fLayerLogical[3]
G4VPhysicalVolume * fWorldPhysical
G4double fTotalThickness
total thinkness of one calorimeter
G4Material * fWorldMaterial
G4LogicalVolume * fGapLogical[3]
G4double fLayerThickness
= fTotalThickness / fNumberOfLayers
G4LogicalVolume * fCalorLogical[3]
G4VUserDetectorConstruction()
G4VPhysicalVolume * fCalorPhysical[3]
◆ ~RE06DetectorConstruction()
RE06DetectorConstruction::~RE06DetectorConstruction |
( |
| ) |
|
|
virtual |
◆ AddMaterial()
void RE06DetectorConstruction::AddMaterial |
( |
| ) |
|
Definition at line 515 of file RE06DetectorConstruction.cc.
517 static G4bool isAdded =
false;
519 if( isAdded )
return;
524 G4int ncomponents, natoms;
static G4Element * GetElement(G4String name, G4bool warning=true)
static const double kelvin
static const double atmosphere
void AddElement(G4Element *element, G4int nAtoms)
◆ Construct()
◆ ConstructSDandField()
void RE06DetectorConstruction::ConstructSDandField |
( |
| ) |
|
|
virtual |
◆ DefineMaterials()
void RE06DetectorConstruction::DefineMaterials |
( |
void |
| ) |
|
|
private |
Definition at line 134 of file RE06DetectorConstruction.cc.
141 G4int ncomponents, natoms;
182 density = 1.390*
g/
cm3;
186 density = 11.35*
g/
cm3;
194 density = 1.000*
g/
cm3;
199 density = 1.032*
g/
cm3;
208 density = 1.290*
mg/
cm3;
219 temperature = 2.73*
kelvin;
G4Material * fGapMaterial
int universe_mean_density
static G4MaterialTable * GetMaterialTable()
G4Material * fAbsorberMaterial
G4int GetVerboseLevel() const
G4GLOB_DLL std::ostream G4cout
void AddIsotope(G4Isotope *isotope, G4double RelativeAbundance)
static const double perCent
static const double kelvin
G4Material * fWorldMaterial
void AddElement(G4Element *element, G4int nAtoms)
◆ GetAbsorberMaterial()
G4String RE06DetectorConstruction::GetAbsorberMaterial |
( |
| ) |
const |
◆ GetGapMaterial()
G4String RE06DetectorConstruction::GetGapMaterial |
( |
| ) |
const |
◆ GetNumberOfLayers()
G4int RE06DetectorConstruction::GetNumberOfLayers |
( |
| ) |
const |
|
inline |
◆ GetVerboseLevel()
G4int RE06DetectorConstruction::GetVerboseLevel |
( |
| ) |
const |
|
inline |
◆ IsSerial()
G4bool RE06DetectorConstruction::IsSerial |
( |
| ) |
const |
|
inline |
◆ PrintCalorParameters()
void RE06DetectorConstruction::PrintCalorParameters |
( |
| ) |
const |
Definition at line 393 of file RE06DetectorConstruction.cc.
396 <<
"--------------------------------------------------------" <<
G4endl;
398 {
G4cout <<
" Calorimeters are placed in serial." <<
G4endl; }
400 {
G4cout <<
" Calorimeters are placed in parallel." <<
G4endl; }
404 <<
"--------------------------------------------------------" <<
G4endl;
G4Material * fGapMaterial
G4Material * fAbsorberMaterial
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
◆ SetAbsorberMaterial()
void RE06DetectorConstruction::SetAbsorberMaterial |
( |
G4String |
materialChoice | ) |
|
Definition at line 409 of file RE06DetectorConstruction.cc.
429 << materialChoice <<
" is not defined. - Command is ignored." <<
G4endl;
void GeometryHasBeenModified(G4bool prop=true)
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
G4Material * fAbsorberMaterial
G4LogicalVolume * fLayerLogical[3]
G4int GetVerboseLevel() const
void PrintCalorParameters() const
static G4RunManager * GetRunManager()
G4LogicalVolume * fCalorLogical[3]
void SetMaterial(G4Material *pMaterial)
G4GLOB_DLL std::ostream G4cerr
◆ SetGapMaterial()
void RE06DetectorConstruction::SetGapMaterial |
( |
G4String |
materialChoice | ) |
|
Definition at line 440 of file RE06DetectorConstruction.cc.
457 << materialChoice <<
" is not defined. - Command is ignored." <<
G4endl;
void GeometryHasBeenModified(G4bool prop=true)
G4Material * fGapMaterial
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
G4int GetVerboseLevel() const
void PrintCalorParameters() const
static G4RunManager * GetRunManager()
G4LogicalVolume * fGapLogical[3]
void SetMaterial(G4Material *pMaterial)
G4GLOB_DLL std::ostream G4cerr
◆ SetNumberOfLayers()
void RE06DetectorConstruction::SetNumberOfLayers |
( |
G4int |
nl | ) |
|
Definition at line 493 of file RE06DetectorConstruction.cc.
501 for(
size_t i=0;i<3;i++)
void GeometryHasBeenModified(G4bool prop=true)
void SetZHalfLength(G4double dz)
G4VPhysicalVolume * fGapPhysical[3]
CLHEP::Hep3Vector G4ThreeVector
G4PVReplica * fLayerPhysical[3]
G4LogicalVolume * fLayerLogical[3]
G4double fTotalThickness
total thinkness of one calorimeter
void SetTranslation(const G4ThreeVector &v)
static G4RunManager * GetRunManager()
G4double fLayerThickness
= fTotalThickness / fNumberOfLayers
G4LogicalVolume * fCalorLogical[3]
void RemoveDaughter(const G4VPhysicalVolume *p)
◆ SetSerialGeometry()
void RE06DetectorConstruction::SetSerialGeometry |
( |
G4bool |
ser | ) |
|
Definition at line 466 of file RE06DetectorConstruction.cc.
474 for(
G4int i=0;i<3;i++)
void GeometryHasBeenModified(G4bool prop=true)
CLHEP::Hep3Vector G4ThreeVector
void SetSerialGeometry(G4bool ser)
void SetTranslation(const G4ThreeVector &v)
void SetSerial(G4bool serial)
static G4RunManager * GetRunManager()
const G4VUserPrimaryGeneratorAction * GetUserPrimaryGeneratorAction() const
G4VUserParallelWorld * GetParallelWorld(G4int i) const
G4VPhysicalVolume * fCalorPhysical[3]
◆ SetupDetectors()
void RE06DetectorConstruction::SetupDetectors |
( |
| ) |
|
|
private |
Definition at line 319 of file RE06DetectorConstruction.cc.
332 epFilter->
add(particleName=
"e-");
333 epFilter->
add(particleName=
"e+");
336 for(
G4int i=0;i<3;i++)
338 for(
G4int j=0;j<2;j++)
344 { detName +=
"_abs"; }
346 { detName +=
"_gap"; }
G4bool RegisterPrimitive(G4VPrimitiveScorer *)
void SetVerboseLevel(G4int vl)
void SetFilter(G4VSDFilter *f)
G4LogicalVolume * fLayerLogical[3]
void SetSensitiveDetector(const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
void add(const G4String &particleName)
G4LogicalVolume * fGapLogical[3]
static G4SDManager * GetSDMpointer()
◆ SetupGeometry()
void RE06DetectorConstruction::SetupGeometry |
( |
| ) |
|
|
private |
Definition at line 235 of file RE06DetectorConstruction.cc.
G4Material * fGapMaterial
G4VPhysicalVolume * fGapPhysical[3]
CLHEP::Hep3Vector G4ThreeVector
void AddRootLogicalVolume(G4LogicalVolume *lv)
G4LogicalVolume * fWorldLogical
void SetVisibility(G4bool)
G4PVReplica * fLayerPhysical[3]
G4Material * fAbsorberMaterial
G4LogicalVolume * fLayerLogical[3]
G4VPhysicalVolume * fWorldPhysical
void SetRegion(G4Region *reg)
G4double fTotalThickness
total thinkness of one calorimeter
G4Material * fWorldMaterial
G4LogicalVolume * fGapLogical[3]
static const G4VisAttributes Invisible
G4double fLayerThickness
= fTotalThickness / fNumberOfLayers
G4LogicalVolume * fCalorLogical[3]
void SetVisAttributes(const G4VisAttributes *pVA)
G4VPhysicalVolume * fCalorPhysical[3]
◆ SetVerboseLevel()
void RE06DetectorConstruction::SetVerboseLevel |
( |
G4int |
val | ) |
|
|
inline |
◆ fAbsorberMaterial
G4Material* RE06DetectorConstruction::fAbsorberMaterial |
|
private |
◆ fCalName
G4String RE06DetectorConstruction::fCalName[3] |
|
private |
◆ fCalorLogical
◆ fCalorPhysical
◆ fConstructed
G4bool RE06DetectorConstruction::fConstructed |
|
private |
◆ fConstructedSDandField
◆ fDetectorMessenger
◆ fGapLogical
◆ fGapMaterial
G4Material* RE06DetectorConstruction::fGapMaterial |
|
private |
◆ fGapPhysical
◆ fGapSolid
G4Box* RE06DetectorConstruction::fGapSolid |
|
private |
◆ fLayerLogical
◆ fLayerPhysical
G4PVReplica* RE06DetectorConstruction::fLayerPhysical[3] |
|
private |
◆ fLayerSolid
G4Box* RE06DetectorConstruction::fLayerSolid |
|
private |
◆ fLayerThickness
G4double RE06DetectorConstruction::fLayerThickness |
|
private |
◆ fNumberOfLayers
G4int RE06DetectorConstruction::fNumberOfLayers |
|
private |
◆ fSerial
G4bool RE06DetectorConstruction::fSerial |
|
private |
◆ fTotalThickness
G4double RE06DetectorConstruction::fTotalThickness |
|
private |
◆ fVerboseLevel
G4int RE06DetectorConstruction::fVerboseLevel |
|
private |
◆ fWorldLogical
◆ fWorldMaterial
G4Material* RE06DetectorConstruction::fWorldMaterial |
|
private |
◆ fWorldPhysical
The documentation for this class was generated from the following files: