|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include "TFile.h"#include "TGeoBBox.h"#include "TGeoManager.h"#include "TGeoShape.h"#include "TMath.h"#include "TRandom.h"#include "TString.h"Go to the source code of this file.
| void create_rootgeom_GEMS_RunSpring2017_detailed | ( | ) |
Definition at line 240 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
References TGeoVolume::AddNode(), TFile::Close(), CreateDetailedFrameForModule_Station66x41(), CreateFrameForHalfPlane_Station163x45(), CreateLayersForModule_Station163x45(), CreateModule_Station163x45(), CreateModule_Station66x41(), CreateStation(), DefineRequiredMedia(), TGeoVolume::Draw(), GEMS, TNamed::GetName(), gGeoMan, TString::Itoa(), pMedAir, TGeoCombiTrans::ReflectX(), TGeoCombiTrans::ReflectZ(), TGeoCombiTrans::RotateX(), TGeoCombiTrans::RotateY(), TGeoVolume::SetMedium(), TGeoCombiTrans::SetTranslation(), TGeoVolume::SetVisContainers(), TObject::Write(), XModuleShifts, XModuleSize_Station163x45, XModuleSize_Station66x41, XStationPositions, XStationRotations, YModuleShifts, YModuleSize_Station163x45, YModuleSize_Station66x41, YStationPositions, YStationRotations, ZModuleShifts, ZModuleSize_Station163x45, ZModuleSize_Station66x41, and ZStationPositions.
| TGeoVolume * CreateBasicFrameForModule_Station66x41 | ( | TString | frame_name | ) |
Definition at line 538 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
References TGeoVolume::AddNode(), TGeoCompositeShape::ComputeBBox(), TColor::GetColor(), TNamed::GetName(), TGeoCompositeShape::MakeNode(), pMedAir, pMedEpoxideCompound, TGeoMatrix::RegisterYourself(), TGeoCombiTrans::SetDx(), TGeoTranslation::SetDx(), TGeoCombiTrans::SetDy(), TGeoTranslation::SetDy(), TGeoCombiTrans::SetDz(), TGeoTranslation::SetDz(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoVolume::SetTransparency(), XModuleSize_Station66x41, YModuleSize_Station66x41, and ZModuleSize_Station66x41.
| TGeoVolume * CreateDetailedFrameForModule_Station66x41 | ( | TString | frame_name | ) |
Definition at line 771 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
References TGeoVolume::AddNode(), TGeoCompositeShape::ComputeBBox(), TColor::GetColor(), TNamed::GetName(), TGeoCompositeShape::MakeNode(), pMedAir, pMedAluminium, pMedBrass, pMedCopper, pMedEpoxideCompound, pMedFiberGlass, pMedGlue, pMedHoneyComb, pMedPolyamide, pMedSteel, TGeoMatrix::RegisterYourself(), TGeoCombiTrans::SetDx(), TGeoTranslation::SetDx(), TGeoCombiTrans::SetDy(), TGeoTranslation::SetDy(), TGeoCombiTrans::SetDz(), TGeoTranslation::SetDz(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), and TGeoVolume::SetTransparency().
Referenced by create_rootgeom_GEMS_RunSpring2017_detailed().
| TGeoVolume * CreateFrameForHalfPlane_Station163x45 | ( | TString | frame_name | ) |
Definition at line 3542 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
References TGeoVolume::AddNode(), TGeoCompositeShape::ComputeBBox(), TString::Contains(), TColor::GetColor(), TNamed::GetName(), TGeoCompositeShape::MakeNode(), pMedAir, pMedAluminium, pMedBrass, pMedEpoxideCompound, pMedFiberGlass, pMedPolyacetal, pMedSteel, TGeoMatrix::RegisterYourself(), TGeoCombiTrans::RotateY(), TGeoCombiTrans::SetDx(), TGeoTranslation::SetDx(), TGeoCombiTrans::SetDy(), TGeoTranslation::SetDy(), TGeoCombiTrans::SetDz(), TGeoTranslation::SetDz(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoVolume::SetTransparency(), YModuleSize_Station163x45, and ZModuleSize_Station163x45.
Referenced by create_rootgeom_GEMS_RunSpring2017_detailed().
| TGeoVolume * CreateFrameForModule_Station163x45 | ( | TString | frame_name, |
| Double_t | dx, | ||
| Double_t | dy, | ||
| Double_t | dz, | ||
| Double_t | hole_radius ) |
Definition at line 3480 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
References TGeoVolume::AddNode(), dXFrame_Station163x45, dYFrame_Station163x45, TColor::GetColor(), pMedAir, pMedCarbon, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoCombiTrans::SetTranslation(), XModuleSize_Station163x45, and YModuleSize_Station163x45.
| TGeoVolume * CreateFrameForModule_Station66x41 | ( | TString | frame_name, |
| Double_t | dx, | ||
| Double_t | dy, | ||
| Double_t | dz ) |
Definition at line 484 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
References TGeoVolume::AddNode(), dXFrame_Station66x41, dYFrame_Station66x41, TColor::GetColor(), pMedAir, pMedCarbon, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoCombiTrans::SetTranslation(), XModuleSize_Station66x41, and YModuleSize_Station66x41.
| TGeoVolume * CreateLayersForModule_Station163x45 | ( | TString | layer_name | ) |
Definition at line 2963 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
References TGeoVolume::AddNode(), TGeoCompositeShape::ComputeBBox(), TColor::GetColor(), TNamed::GetName(), TGeoCompositeShape::MakeNode(), pMedAir, pMedCopper, pMedEpoxideCompound, pMedGlue, pMedHoneyComb, pMedPolyamide, TGeoMatrix::RegisterYourself(), TGeoCombiTrans::SetDx(), TGeoTranslation::SetDx(), TGeoCombiTrans::SetDy(), TGeoTranslation::SetDy(), TGeoCombiTrans::SetDz(), TGeoTranslation::SetDz(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoVolume::SetTransparency(), XModuleSize_Station163x45, YModuleSize_Station163x45, and ZGEMSize_Station163x45.
Referenced by create_rootgeom_GEMS_RunSpring2017_detailed().
| TGeoVolume * CreateLayersForModule_Station66x41 | ( | TString | layer_name | ) |
Definition at line 2646 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
References TGeoVolume::AddNode(), TColor::GetColor(), TNamed::GetName(), pMedAir, pMedCopper, pMedEpoxideCompound, pMedGlue, pMedHoneyComb, pMedPolyamide, TGeoCombiTrans::SetDx(), TGeoCombiTrans::SetDy(), TGeoCombiTrans::SetDz(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoVolume::SetTransparency(), and ZGEMSize_Station66x41.
| TGeoVolume * CreateModule_Station163x45 | ( | TString | module_name, |
| Double_t | xsize, | ||
| Double_t | ysize, | ||
| Double_t | zsize, | ||
| Double_t | hole_radius ) |
Definition at line 2922 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
References TColor::GetColor(), TGeoShape::GetName(), TNamed::GetName(), TString::Itoa(), pMedArCO27030, TGeoMatrix::RegisterYourself(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), and TGeoVolume::SetTransparency().
Referenced by create_rootgeom_GEMS_RunSpring2017_detailed().
| TGeoVolume * CreateModule_Station66x41 | ( | TString | module_name, |
| Double_t | xsize, | ||
| Double_t | ysize, | ||
| Double_t | zsize ) |
Definition at line 462 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
References TColor::GetColor(), pMedArCO27030, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), and TGeoVolume::SetTransparency().
Referenced by create_rootgeom_GEMS_RunSpring2017_detailed().
| TGeoVolume * CreateStation | ( | TString | station_name | ) |
Definition at line 453 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
References pMedAir, and TGeoVolume::SetMedium().
Referenced by create_rootgeom_GEMS_RunSpring2017_detailed().
| void DefineRequiredMedia | ( | FairGeoMedia * | geoMedia, |
| FairGeoBuilder * | geoBuild ) |
Definition at line 119 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
References pMedAir, pMedAluminium, pMedArCO27030, pMedBrass, pMedCarbon, pMedCopper, pMedEpoxideCompound, pMedFiberGlass, pMedGlue, pMedHoneyComb, pMedPolyacetal, pMedPolyamide, and pMedSteel.
Referenced by create_rootgeom_GEMS_RunSpring2017_detailed().
| const Double_t dXFrame_Station163x45 = 5.0 |
Definition at line 72 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t dXFrame_Station66x41 = 5.0 |
Definition at line 61 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t dYFrame_Station163x45 = 3.75 |
Definition at line 73 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t dYFrame_Station66x41 = 3.75 |
Definition at line 62 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t dZFrame_Station163x45 = 3.9 |
Definition at line 74 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t dZFrame_Station66x41 = 2.3 |
Definition at line 63 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoManager* gGeoMan = NULL |
Definition at line 78 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Int_t NMaxModules = 2 |
Definition at line 22 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Int_t NStations = 6 |
Definition at line 21 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoMedium* pMedAir = 0 |
Definition at line 81 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoMedium* pMedAluminium = 0 |
Definition at line 86 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoMedium* pMedArCO27030 = 0 |
Definition at line 85 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoMedium* pMedBrass = 0 |
Definition at line 89 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoMedium* pMedCarbon = 0 |
Definition at line 82 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoMedium* pMedCopper = 0 |
Definition at line 84 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoMedium* pMedEpoxideCompound = 0 |
Definition at line 87 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoMedium* pMedFiberGlass = 0 |
Definition at line 83 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoMedium* pMedGlue = 0 |
Definition at line 88 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoMedium* pMedHoneyComb = 0 |
Definition at line 91 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoMedium* pMedPolyacetal = 0 |
Definition at line 92 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoMedium* pMedPolyamide = 0 |
Definition at line 93 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| TGeoMedium* pMedSteel = 0 |
Definition at line 90 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t XModuleShifts[NStations][NMaxModules] |
Definition at line 31 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t XModuleSize_Station163x45 = 163.2 * 0.5 |
Definition at line 67 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t XModuleSize_Station66x41 = 66.0 |
Definition at line 56 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
Definition at line 25 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
Definition at line 52 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t YModuleShifts[NStations][NMaxModules] = {{0.0}, {0.0}, {0.0}, {0.0, 0.2}, {0.0, 0.0}, {0.0, 0.0}} |
Definition at line 37 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t YModuleSize_Station163x45 = 45.0 |
Definition at line 68 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t YModuleSize_Station66x41 = 41.0 |
Definition at line 57 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t YStationPositions[NStations] = {+0.0 - 4.5, +0.0 - 4.5, +0.0 - 4.5, +0.0 - 4.5, -2.4 - 4.5, -2.4 - 4.5} |
Definition at line 26 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
Definition at line 48 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t ZGEMSize_Station163x45 = 4.1 |
Definition at line 70 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t ZGEMSize_Station66x41 = 2.3 |
Definition at line 59 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
Referenced by CreateLayersForModule_Station66x41().
| const Double_t ZModuleShifts[NStations][NMaxModules] |
Definition at line 38 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t ZModuleSize_Station163x45 = 0.9 |
Definition at line 69 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
| const Double_t ZModuleSize_Station66x41 = 0.9 |
Definition at line 58 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.
Definition at line 27 of file create_rootgeom_GEMS_RunSpring2017_detailed.C.