VMC Examples Version 6.6
|
The old detector construction (via VMC functions) More...
#include <Ex03DetectorConstructionOld.h>
Public Member Functions | |
Ex03DetectorConstructionOld () | |
virtual | ~Ex03DetectorConstructionOld () |
void | ConstructMaterials () |
void | ConstructGeometry () |
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 |
Ex03DetectorConstructionOld () | |
virtual | ~Ex03DetectorConstructionOld () |
void | ConstructMaterials () |
void | ConstructGeometry () |
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 () |
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. | |
The old detector construction (via VMC functions)
Definition at line 34 of file Ex03DetectorConstructionOld.h.
Ex03DetectorConstructionOld::Ex03DetectorConstructionOld | ( | ) |
Default constuctor
Definition at line 37 of file Ex03DetectorConstructionOld.cxx.
|
virtual |
Ex03DetectorConstructionOld::Ex03DetectorConstructionOld | ( | ) |
|
virtual |
void Ex03DetectorConstructionOld::ConstructMaterials | ( | ) |
Construct materials using VMC functions
Definition at line 89 of file Ex03DetectorConstructionOld.cxx.
void Ex03DetectorConstructionOld::ConstructGeometry | ( | ) |
Contruct volumes using VMC functions
Definition at line 256 of file Ex03DetectorConstructionOld.cxx.
void Ex03DetectorConstructionOld::PrintCalorParameters | ( | ) |
Print calorimeter parameters
Definition at line 361 of file Ex03DetectorConstructionOld.cxx.
void Ex03DetectorConstructionOld::SetNbOfLayers | ( | Int_t | value | ) |
Set the number of layers.
value | The new number of calorimeter layers |
Definition at line 373 of file Ex03DetectorConstructionOld.cxx.
void Ex03DetectorConstructionOld::SetDefaultMaterial | ( | const TString & | materialName | ) |
Set default material
materialName | The new default material name. |
Definition at line 382 of file Ex03DetectorConstructionOld.cxx.
void Ex03DetectorConstructionOld::SetAbsorberMaterial | ( | const TString & | materialName | ) |
Set absorer material
materialName | The new absorber material name. |
Definition at line 392 of file Ex03DetectorConstructionOld.cxx.
void Ex03DetectorConstructionOld::SetGapMaterial | ( | const TString & | materialName | ) |
Set gap material
materialName | The new gap material name. |
Definition at line 402 of file Ex03DetectorConstructionOld.cxx.
void Ex03DetectorConstructionOld::SetCalorSizeYZ | ( | Double_t | value | ) |
Change the transverse size and recompute the calorimeter parameters
value | The new calorimeter tranverse size |
Definition at line 411 of file Ex03DetectorConstructionOld.cxx.
void Ex03DetectorConstructionOld::SetAbsorberThickness | ( | Double_t | value | ) |
Change the absorber thickness and recompute the calorimeter parameters
value | The new absorber thickness |
Definition at line 420 of file Ex03DetectorConstructionOld.cxx.
void Ex03DetectorConstructionOld::SetGapThickness | ( | Double_t | value | ) |
Change the gap thickness and recompute the calorimeter parameters
value | The new gap thickness |
Definition at line 429 of file Ex03DetectorConstructionOld.cxx.
|
inline |
Definition at line 58 of file Ex03DetectorConstructionOld.h.
|
inline |
|
inline |
|
inline |
Definition at line 67 of file Ex03DetectorConstructionOld.h.
|
inline |
|
inline |
|
inline |
|
private |
Compute derived parameters of the calorimeter
Definition at line 73 of file Ex03DetectorConstructionOld.cxx.
void Ex03DetectorConstructionOld::ConstructMaterials | ( | ) |
void Ex03DetectorConstructionOld::ConstructGeometry | ( | ) |
void Ex03DetectorConstructionOld::PrintCalorParameters | ( | ) |
void Ex03DetectorConstructionOld::SetNbOfLayers | ( | Int_t | value | ) |
void Ex03DetectorConstructionOld::SetDefaultMaterial | ( | const TString & | materialName | ) |
void Ex03DetectorConstructionOld::SetAbsorberMaterial | ( | const TString & | materialName | ) |
void Ex03DetectorConstructionOld::SetGapMaterial | ( | const TString & | materialName | ) |
void Ex03DetectorConstructionOld::SetCalorSizeYZ | ( | Double_t | value | ) |
void Ex03DetectorConstructionOld::SetAbsorberThickness | ( | Double_t | value | ) |
void Ex03DetectorConstructionOld::SetGapThickness | ( | Double_t | value | ) |
|
inline |
Definition at line 58 of file Ex03DetectorConstructionOld.h.
|
inline |
|
inline |
|
inline |
Definition at line 67 of file Ex03DetectorConstructionOld.h.
|
inline |
|
inline |
|
inline |
|
private |
|
private |
The number of calorimeter layers.
Definition at line 83 of file Ex03DetectorConstructionOld.h.
|
private |
The world size x component.
Definition at line 84 of file Ex03DetectorConstructionOld.h.
|
private |
The world size y,z component.
Definition at line 85 of file Ex03DetectorConstructionOld.h.
|
private |
The calorimeter size y,z component.
Definition at line 86 of file Ex03DetectorConstructionOld.h.
|
private |
The calorimeter thickness.
Definition at line 87 of file Ex03DetectorConstructionOld.h.
|
private |
The calorimeter layer thickness.
Definition at line 88 of file Ex03DetectorConstructionOld.h.
|
private |
The absorber thickness.
Definition at line 89 of file Ex03DetectorConstructionOld.h.
|
private |
The gap thickness.
Definition at line 90 of file Ex03DetectorConstructionOld.h.
|
private |
The default material name.
Definition at line 92 of file Ex03DetectorConstructionOld.h.
|
private |
The absorber material name.
Definition at line 93 of file Ex03DetectorConstructionOld.h.
|
private |
The gap material name.
Definition at line 94 of file Ex03DetectorConstructionOld.h.