|
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 "TString.h"Go to the source code of this file.
Functions | |
| void | CalculateParameters () |
| void | create_rootgeom_GEMS_v2 () |
| void CalculateParameters | ( | ) |
Definition at line 51 of file create_rootgeom_GEMS_v2.C.
References TMath::ATan(), BeamPipeMaxRadius, BeamPipeMinRadius, BeamPipeRadius, nStations, TMath::Pi(), TMath::Tan(), XModuleSize, XSizeOfStation, YModuleSize, YSizeOfStation, and ZStantionPosition.
Referenced by create_rootgeom_GEMS_v2().
| void create_rootgeom_GEMS_v2 | ( | ) |
Definition at line 82 of file create_rootgeom_GEMS_v2.C.
References TGeoVolume::AddNode(), TGeoVolumeAssembly::AddNode(), BeamPipeRadius, bmnloadlibs(), CalculateParameters(), TFile::Close(), TGeoVolume::Draw(), dXInnerFrame, dXOuterFrame, dYInnerFrame, dYOuterFrame, dZSensitiveVolume, TGeoShape::GetName(), gGeoMan, nModulesInStation, nStations, pMedAir, pMedArCO27030, pMedCarbon, pMedFiberGlass, TGeoRotation::SetAngles(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoTranslation::SetTranslation(), TGeoVolume::SetTransparency(), TGeoVolume::SetVisContainers(), SpacerThickness, SpacerWidth, StationCenterPosition, WithSpacers, TObject::Write(), XModuleSize, XSizeSpacer, YModuleSize, YSizeSpacer, ZDisplacementOfDetector, ZModuleSize, and ZStantionPosition.
| const Double_t BeamPipeMaxRadius = 5.0 |
Definition at line 24 of file create_rootgeom_GEMS_v2.C.
| const Double_t BeamPipeMinRadius = 2.5 |
Definition at line 23 of file create_rootgeom_GEMS_v2.C.
Definition at line 25 of file create_rootgeom_GEMS_v2.C.
| const Double_t dXInnerFrame = 1.7 |
Definition at line 30 of file create_rootgeom_GEMS_v2.C.
| const Double_t dXOuterFrame = 5.0 |
Definition at line 29 of file create_rootgeom_GEMS_v2.C.
| const Double_t dYInnerFrame = 1.7 |
Definition at line 32 of file create_rootgeom_GEMS_v2.C.
| const Double_t dYOuterFrame = 3.75 |
Definition at line 31 of file create_rootgeom_GEMS_v2.C.
| const Double_t dZSensitiveVolume = 1.0 |
Definition at line 33 of file create_rootgeom_GEMS_v2.C.
| TGeoManager* gGeoMan = NULL |
Definition at line 12 of file create_rootgeom_GEMS_v2.C.
| const Int_t nModulesInStation = 4 |
Definition at line 28 of file create_rootgeom_GEMS_v2.C.
| const Int_t nStations = 12 |
Definition at line 15 of file create_rootgeom_GEMS_v2.C.
| const Double_t SpacerThickness = dZSensitiveVolume |
Definition at line 42 of file create_rootgeom_GEMS_v2.C.
| const Double_t SpacerWidth = 0.2 |
Definition at line 41 of file create_rootgeom_GEMS_v2.C.
Definition at line 45 of file create_rootgeom_GEMS_v2.C.
Definition at line 49 of file create_rootgeom_GEMS_v2.C.
Definition at line 36 of file create_rootgeom_GEMS_v2.C.
| const Double_t XSizeOfStation[nStations] = {60, 60, 80, 132, 160, 160, 240, 240, 240, 240, 240, 240} |
Definition at line 18 of file create_rootgeom_GEMS_v2.C.
| const Double_t XSizeSpacer = 10.0 |
Definition at line 39 of file create_rootgeom_GEMS_v2.C.
Definition at line 37 of file create_rootgeom_GEMS_v2.C.
Definition at line 19 of file create_rootgeom_GEMS_v2.C.
| const Double_t YSizeSpacer = 10.0 |
Definition at line 40 of file create_rootgeom_GEMS_v2.C.
| const Double_t ZDisplacementOfDetector = (ZModuleSize * 2) / 2 |
Definition at line 46 of file create_rootgeom_GEMS_v2.C.
| const Double_t ZModuleSize = 2.5 |
Definition at line 34 of file create_rootgeom_GEMS_v2.C.
| const Double_t ZStantionPosition[nStations] = {30, 50, 70, 90, 110, 140, 170, 200, 240, 280, 320, 360} |
Definition at line 20 of file create_rootgeom_GEMS_v2.C.