|
VMC Examples Version 6.8
|
The detector construction (via TGeo ). More...
#include <Ex03DetectorConstruction.h>

Classes | |
| struct | MaterialCuts |
Public Member Functions | |
| Ex03DetectorConstruction () | |
| virtual | ~Ex03DetectorConstruction () |
| void | ConstructMaterials () |
| void | ConstructGeometry () |
| void | SetCuts () |
| void | SetControls () |
| void | PrintCalorParameters () |
| void | SetNbOfLayers (Int_t value) |
| void | SetDefaultMaterial (const TString &materialName) |
| void | SetAbsorberMaterial (const TString &materialName) |
| void | SetGapMaterial (const TString &materialName) |
| void | SetCalorSizeYZ (Double_t value) |
| void | SetAbsorberThickness (Double_t value) |
| void | SetGapThickness (Double_t value) |
| void | SetUseAssemblies (Bool_t value) |
| Int_t | GetNbOfLayers () const |
| Double_t | GetWorldSizeX () const |
| Double_t | GetWorldSizeYZ () const |
| Double_t | GetCalorSizeYZ () const |
| Double_t | GetCalorThickness () const |
| Double_t | GetAbsorberThickness () const |
| Double_t | GetGapThickness () const |
| Bool_t | GetUseAssemblies () const |
| Ex03DetectorConstruction () | |
| virtual | ~Ex03DetectorConstruction () |
| void | ConstructMaterials () |
| void | ConstructGeometry () |
| void | SetCuts () |
| void | SetControls () |
| void | PrintCalorParameters () |
| void | SetNbOfLayers (Int_t value) |
| void | SetDefaultMaterial (const TString &materialName) |
| void | SetAbsorberMaterial (const TString &materialName) |
| void | SetGapMaterial (const TString &materialName) |
| void | SetCalorSizeYZ (Double_t value) |
| void | SetAbsorberThickness (Double_t value) |
| void | SetGapThickness (Double_t value) |
| Int_t | GetNbOfLayers () const |
| Double_t | GetWorldSizeX () const |
| Double_t | GetWorldSizeYZ () const |
| Double_t | GetCalorSizeYZ () const |
| Double_t | GetCalorThickness () const |
| Double_t | GetAbsorberThickness () const |
| Double_t | GetGapThickness () const |
| Ex03DetectorConstruction () | |
| virtual | ~Ex03DetectorConstruction () |
| void | ConstructMaterials () |
| void | ConstructGeometry () |
| void | SetCuts () |
| void | SetControls () |
| void | PrintCalorParameters () |
| void | SetNbOfLayers (Int_t value) |
| void | SetDefaultMaterial (const TString &materialName) |
| void | SetAbsorberMaterial (const TString &materialName) |
| void | SetGapMaterial (const TString &materialName) |
| void | SetCalorSizeYZ (Double_t value) |
| void | SetAbsorberThickness (Double_t value) |
| void | SetGapThickness (Double_t value) |
| Int_t | GetNbOfLayers () const |
| Double_t | GetWorldSizeX () const |
| Double_t | GetWorldSizeYZ () const |
| Double_t | GetCalorSizeYZ () const |
| Double_t | GetCalorThickness () const |
| Double_t | GetAbsorberThickness () const |
| Double_t | GetGapThickness () const |
Private Member Functions | |
| void | ComputeCalorParameters () |
| void | ComputeCalorParameters () |
| void | ComputeCalorParameters () |
Private Attributes | |
| Int_t | fNbOfLayers |
| The number of calorimeter layers. | |
| Double_t | fWorldSizeX |
| The world size x component. | |
| Double_t | fWorldSizeYZ |
| The world size y,z component. | |
| Double_t | fCalorSizeYZ |
| The calorimeter size y,z component. | |
| Double_t | fCalorThickness |
| The calorimeter thickness. | |
| Double_t | fLayerThickness |
| The calorimeter layer thickness. | |
| Double_t | fAbsorberThickness |
| The absorber thickness. | |
| Double_t | fGapThickness |
| The gap thickness. | |
| TString | fDefaultMaterial |
| The default material name. | |
| TString | fAbsorberMaterial |
| The absorber material name. | |
| TString | fGapMaterial |
| The gap material name. | |
| Bool_t | fUseAssemblies |
| Option to place the calorimeter in assemblies. | |
The detector construction (via TGeo ).
Definition at line 34 of file Ex03DetectorConstruction.h.
| Ex03DetectorConstruction::Ex03DetectorConstruction | ( | ) |
Default constuctor
Definition at line 46 of file Ex03DetectorConstruction.cxx.
|
virtual |
| Ex03DetectorConstruction::Ex03DetectorConstruction | ( | ) |
|
virtual |
| Ex03DetectorConstruction::Ex03DetectorConstruction | ( | ) |
|
virtual |
| void Ex03DetectorConstruction::ConstructMaterials | ( | ) |
Construct materials using TGeo modeller
Definition at line 99 of file Ex03DetectorConstruction.cxx.
| void Ex03DetectorConstruction::ConstructGeometry | ( | ) |
Contruct volumes using TGeo modeller
Definition at line 254 of file Ex03DetectorConstruction.cxx.
| void Ex03DetectorConstruction::SetCuts | ( | ) |
Set cuts for e-, gamma equivalent to 1mm cut in G4.
Definition at line 389 of file Ex03DetectorConstruction.cxx.
| void Ex03DetectorConstruction::SetControls | ( | ) |
This function demonstrate how to inactivate physics processes via VMC controls. Here gamma processes are inactivated in Lead medium. Note that while in Geant3 this mechanism is used to speed-up simulation, this may cause slow down in Geant4 simulation where implementation of this mechanism is quite tricky.
Definition at line 442 of file Ex03DetectorConstruction.cxx.
| void Ex03DetectorConstruction::PrintCalorParameters | ( | ) |
Print calorimeter parameters
Definition at line 459 of file Ex03DetectorConstruction.cxx.
| void Ex03DetectorConstruction::SetNbOfLayers | ( | Int_t | value | ) |
Set the number of layers.
| value | The new number of calorimeter layers |
Definition at line 471 of file Ex03DetectorConstruction.cxx.
| void Ex03DetectorConstruction::SetDefaultMaterial | ( | const TString & | materialName | ) |
Set default material
| materialName | The new default material name. |
Definition at line 480 of file Ex03DetectorConstruction.cxx.
| void Ex03DetectorConstruction::SetAbsorberMaterial | ( | const TString & | materialName | ) |
Set absorer material
| materialName | The new absorber material name. |
Definition at line 489 of file Ex03DetectorConstruction.cxx.
| void Ex03DetectorConstruction::SetGapMaterial | ( | const TString & | materialName | ) |
Set gap material
| materialName | The new gap material name. |
Definition at line 498 of file Ex03DetectorConstruction.cxx.
| void Ex03DetectorConstruction::SetCalorSizeYZ | ( | Double_t | value | ) |
Change the transverse size and recompute the calorimeter parameters
| value | The new calorimeter tranverse size |
Definition at line 507 of file Ex03DetectorConstruction.cxx.
| void Ex03DetectorConstruction::SetAbsorberThickness | ( | Double_t | value | ) |
Change the absorber thickness and recompute the calorimeter parameters
| value | The new absorber thickness |
Definition at line 516 of file Ex03DetectorConstruction.cxx.
| void Ex03DetectorConstruction::SetGapThickness | ( | Double_t | value | ) |
Change the gap thickness and recompute the calorimeter parameters
| value | The new gap thickness |
Definition at line 525 of file Ex03DetectorConstruction.cxx.
|
inline |
Enable or disable the alternative geometry with assemblies
| value | If true, place the calorimeter in nested assemblies |
Definition at line 124 of file Ex03DetectorConstruction.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 83 of file Ex03DetectorConstruction.h.
|
private |
Compute derived parameters of the calorimeter
Definition at line 83 of file Ex03DetectorConstruction.cxx.
| void Ex03DetectorConstruction::ConstructMaterials | ( | ) |
| void Ex03DetectorConstruction::ConstructGeometry | ( | ) |
| void Ex03DetectorConstruction::SetCuts | ( | ) |
| void Ex03DetectorConstruction::SetControls | ( | ) |
| void Ex03DetectorConstruction::PrintCalorParameters | ( | ) |
| void Ex03DetectorConstruction::SetNbOfLayers | ( | Int_t | value | ) |
| void Ex03DetectorConstruction::SetDefaultMaterial | ( | const TString & | materialName | ) |
| void Ex03DetectorConstruction::SetAbsorberMaterial | ( | const TString & | materialName | ) |
| void Ex03DetectorConstruction::SetGapMaterial | ( | const TString & | materialName | ) |
| void Ex03DetectorConstruction::SetCalorSizeYZ | ( | Double_t | value | ) |
| void Ex03DetectorConstruction::SetAbsorberThickness | ( | Double_t | value | ) |
| void Ex03DetectorConstruction::SetGapThickness | ( | Double_t | value | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
| void Ex03DetectorConstruction::ConstructMaterials | ( | ) |
| void Ex03DetectorConstruction::ConstructGeometry | ( | ) |
| void Ex03DetectorConstruction::SetCuts | ( | ) |
| void Ex03DetectorConstruction::SetControls | ( | ) |
| void Ex03DetectorConstruction::PrintCalorParameters | ( | ) |
| void Ex03DetectorConstruction::SetNbOfLayers | ( | Int_t | value | ) |
| void Ex03DetectorConstruction::SetDefaultMaterial | ( | const TString & | materialName | ) |
| void Ex03DetectorConstruction::SetAbsorberMaterial | ( | const TString & | materialName | ) |
| void Ex03DetectorConstruction::SetGapMaterial | ( | const TString & | materialName | ) |
| void Ex03DetectorConstruction::SetCalorSizeYZ | ( | Double_t | value | ) |
| void Ex03DetectorConstruction::SetAbsorberThickness | ( | Double_t | value | ) |
| void Ex03DetectorConstruction::SetGapThickness | ( | Double_t | value | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
The number of calorimeter layers.
Definition at line 104 of file Ex03DetectorConstruction.h.
|
private |
The world size x component.
Definition at line 105 of file Ex03DetectorConstruction.h.
|
private |
The world size y,z component.
Definition at line 106 of file Ex03DetectorConstruction.h.
|
private |
The calorimeter size y,z component.
Definition at line 107 of file Ex03DetectorConstruction.h.
|
private |
The calorimeter thickness.
Definition at line 108 of file Ex03DetectorConstruction.h.
|
private |
The calorimeter layer thickness.
Definition at line 109 of file Ex03DetectorConstruction.h.
|
private |
The absorber thickness.
Definition at line 110 of file Ex03DetectorConstruction.h.
|
private |
The gap thickness.
Definition at line 111 of file Ex03DetectorConstruction.h.
|
private |
The default material name.
Definition at line 113 of file Ex03DetectorConstruction.h.
|
private |
The absorber material name.
Definition at line 114 of file Ex03DetectorConstruction.h.
|
private |
The gap material name.
Definition at line 115 of file Ex03DetectorConstruction.h.
|
private |
Option to place the calorimeter in assemblies.
Definition at line 117 of file Ex03DetectorConstruction.h.