|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include "../run/bmnloadlibs.C"#include "TFile.h"#include "TGeoManager.h"#include "TGeoMedium.h"#include "TGeoVolume.h"Go to the source code of this file.
Functions | |
| int | IsMod (int n) |
| void | SetEcalPosition (Int_t run, Int_t pos) |
| TGeoMedium * | DefineMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild, const char *name) |
| void | DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild) |
| void | create_rootgeom_ECAL_v3 (Int_t run, Int_t pos) |
Variables | |
| struct { | |
| Bool_t use = kFALSE | |
| Double_t x | |
| Double_t y | |
| Double_t z | |
| Double_t rotation | |
| } | ecalLeft |
| struct { | |
| Bool_t use = kFALSE | |
| Double_t x | |
| Double_t y | |
| Double_t z | |
| Double_t rotation | |
| } | ecalRight |
| int | disabled [] = {0} |
| int | Xmodules = 24 |
| int | Ymodules = 21 |
| int | Zlayers = 215 |
| Double_t | thickPb = 0.030 |
| Double_t | thickSci = 0.15 |
| Double_t | thickSteel = 0.2 |
| Double_t | thickPaint = 0.0075 |
| Double_t | thickPbSciPaint = thickPaint + thickPb + thickPaint + thickSci |
| Double_t | modwidth = 4 |
| Double_t | modheight = 4 |
| Double_t | modlength = thickSteel + thickPbSciPaint * Zlayers |
| struct { | |
| TGeoMedium * vacuum = 0 | |
| TGeoMedium * air = 0 | |
| TGeoMedium * iron = 0 | |
| TGeoMedium * lead = 0 | |
| TGeoMedium * scint = 0 | |
| TGeoMedium * steel = 0 | |
| TGeoMedium * tyvec = 0 | |
| TGeoMedium * slot = 0 | |
| TGeoMedium * TiO2 = 0 | |
| } | mMed |
| [in] | run | BMN run number (only run 7 is currently supported) |
| [in] | pos | ECAL position in the run (five positions for run 7 are defined) |
Definition at line 185 of file create_rootgeom_ECAL_v3.C.
References TGeoVolume::AddNode(), bmnloadlibs(), TFile::Close(), TString::Data(), DefineRequiredMedia(), ecalLeft, ecalRight, TString::Form(), IsMod(), TGeoMatrix::LocalToMaster(), mMed, modheight, modlength, modwidth, SetEcalPosition(), TGeoVolume::SetMedium(), TGeoVolume::SetVisContainers(), thickPaint, thickPb, thickPbSciPaint, thickSci, thickSteel, TObject::Write(), x, Xmodules, y, Ymodules, z, and Zlayers.
| TGeoMedium * DefineMedia | ( | FairGeoMedia * | geoMedia, |
| FairGeoBuilder * | geoBuild, | ||
| const char * | name ) |
Definition at line 152 of file create_rootgeom_ECAL_v3.C.
Referenced by DefineRequiredMedia().
| void DefineRequiredMedia | ( | FairGeoMedia * | geoMedia, |
| FairGeoBuilder * | geoBuild ) |
Definition at line 164 of file create_rootgeom_ECAL_v3.C.
References DefineMedia(), and mMed.
Referenced by create_rootgeom_ECAL_v3().
| int IsMod | ( | int | n | ) |
Definition at line 58 of file create_rootgeom_ECAL_v3.C.
References disabled, i, and n.
Referenced by create_rootgeom_ECAL_v3().
Definition at line 71 of file create_rootgeom_ECAL_v3.C.
References ecalLeft, and ecalRight.
Referenced by create_rootgeom_ECAL_v3().
| TGeoMedium* air = 0 |
Definition at line 142 of file create_rootgeom_ECAL_v3.C.
| int disabled[] = {0} |
Definition at line 57 of file create_rootgeom_ECAL_v3.C.
| struct { ... } ecalLeft |
| struct { ... } ecalRight |
| TGeoMedium* iron = 0 |
Definition at line 143 of file create_rootgeom_ECAL_v3.C.
| TGeoMedium* lead = 0 |
Definition at line 144 of file create_rootgeom_ECAL_v3.C.
| struct { ... } mMed |
| Double_t modheight = 4 |
Definition at line 135 of file create_rootgeom_ECAL_v3.C.
| Double_t modlength = thickSteel + thickPbSciPaint * Zlayers |
Definition at line 136 of file create_rootgeom_ECAL_v3.C.
| Double_t modwidth = 4 |
Definition at line 134 of file create_rootgeom_ECAL_v3.C.
| Double_t rotation |
Definition at line 36 of file create_rootgeom_ECAL_v3.C.
| TGeoMedium* scint = 0 |
Definition at line 145 of file create_rootgeom_ECAL_v3.C.
| TGeoMedium* slot = 0 |
Definition at line 148 of file create_rootgeom_ECAL_v3.C.
| TGeoMedium* steel = 0 |
Definition at line 146 of file create_rootgeom_ECAL_v3.C.
| Double_t thickPaint = 0.0075 |
Definition at line 132 of file create_rootgeom_ECAL_v3.C.
| Double_t thickPb = 0.030 |
Definition at line 129 of file create_rootgeom_ECAL_v3.C.
| Double_t thickPbSciPaint = thickPaint + thickPb + thickPaint + thickSci |
Definition at line 133 of file create_rootgeom_ECAL_v3.C.
| Double_t thickSci = 0.15 |
Definition at line 130 of file create_rootgeom_ECAL_v3.C.
| Double_t thickSteel = 0.2 |
Definition at line 131 of file create_rootgeom_ECAL_v3.C.
| TGeoMedium* TiO2 = 0 |
Definition at line 149 of file create_rootgeom_ECAL_v3.C.
| TGeoMedium* tyvec = 0 |
Definition at line 147 of file create_rootgeom_ECAL_v3.C.
Definition at line 35 of file create_rootgeom_ECAL_v3.C.
| TGeoMedium* vacuum = 0 |
Definition at line 141 of file create_rootgeom_ECAL_v3.C.
| Double_t x |
Definition at line 36 of file create_rootgeom_ECAL_v3.C.
| int Xmodules = 24 |
Definition at line 126 of file create_rootgeom_ECAL_v3.C.
| Double_t y |
Definition at line 36 of file create_rootgeom_ECAL_v3.C.
| int Ymodules = 21 |
Definition at line 127 of file create_rootgeom_ECAL_v3.C.
| Double_t z |
Definition at line 36 of file create_rootgeom_ECAL_v3.C.
| int Zlayers = 215 |
Definition at line 128 of file create_rootgeom_ECAL_v3.C.