|
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_AZ () |
Variables | |
| TGeoManager * | gGeoMan = NULL |
| const Int_t | nStations = 12 |
| const Double_t | XSizeOfStation [nStations] = {60, 60, 80, 130, 160, 160, 240, 240, 240, 240, 240, 240} |
| const Double_t | YSizeOfStation [nStations] = {60, 60, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80} |
| const Double_t | ZStantionPosition [nStations] = {30, 50, 70, 90, 110, 140, 170, 200, 240, 280, 320, 360} |
| const Double_t | BeamPipeMinRadius = 2.5 |
| const Double_t | BeamPipeMaxRadius = 5.0 |
| Double_t | BeamPipeRadius [nStations] |
| const Int_t | nModulesInStation = 4 |
| const Double_t | dXOuterFrame = 5.0 |
| const Double_t | dXInnerFrame = 1.7 |
| const Double_t | dYOuterFrame = dXOuterFrame |
| const Double_t | dYInnerFrame = dXInnerFrame |
| const Double_t | ZModuleSize = 1.5 |
| const Double_t | dZSensitiveVolume = 0.02 |
| const Double_t | xyShort = 8.0 |
| Double_t | XModuleSize [nStations] |
| Double_t | YModuleSize [nStations] |
| const Bool_t | StationCenterPosition = kFALSE |
| const Double_t | ZDisplacementOfDetector = (ZModuleSize * 4) / 2 |
| void CalculateParameters | ( | ) |
Definition at line 45 of file create_rootgeom_GEMS_AZ.C.
References TMath::ATan(), BeamPipeMaxRadius, BeamPipeMinRadius, BeamPipeRadius, TMath::DegToRad(), nStations, TMath::Pi(), TMath::Tan(), XModuleSize, XSizeOfStation, YModuleSize, YSizeOfStation, and ZStantionPosition.
Referenced by create_rootgeom_GEMS_AZ().
| void create_rootgeom_GEMS_AZ | ( | ) |
Definition at line 81 of file create_rootgeom_GEMS_AZ.C.
References TGeoTranslation::Add(), TGeoVolume::AddNode(), BeamPipeRadius, bmnloadlibs(), CalculateParameters(), TFile::Close(), TGeoVolume::Draw(), dXInnerFrame, dXOuterFrame, dYInnerFrame, dYOuterFrame, dZSensitiveVolume, TGeoBBox::GetDX(), TGeoBBox::GetDY(), TGeoShape::GetName(), TNamed::GetName(), gGeoMan, nModulesInStation, nStations, pMedAir, pMedArCO27030, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoTranslation::SetTranslation(), TGeoVolume::SetTransparency(), TGeoVolume::SetVisContainers(), StationCenterPosition, TObject::Write(), XModuleSize, XSizeOfStation, xyShort, YModuleSize, YSizeOfStation, ZDisplacementOfDetector, ZModuleSize, and ZStantionPosition.
| const Double_t BeamPipeMaxRadius = 5.0 |
Definition at line 24 of file create_rootgeom_GEMS_AZ.C.
| const Double_t BeamPipeMinRadius = 2.5 |
Definition at line 23 of file create_rootgeom_GEMS_AZ.C.
Definition at line 25 of file create_rootgeom_GEMS_AZ.C.
| const Double_t dXInnerFrame = 1.7 |
Definition at line 30 of file create_rootgeom_GEMS_AZ.C.
| const Double_t dXOuterFrame = 5.0 |
Definition at line 29 of file create_rootgeom_GEMS_AZ.C.
| const Double_t dYInnerFrame = dXInnerFrame |
Definition at line 32 of file create_rootgeom_GEMS_AZ.C.
| const Double_t dYOuterFrame = dXOuterFrame |
Definition at line 31 of file create_rootgeom_GEMS_AZ.C.
| const Double_t dZSensitiveVolume = 0.02 |
Definition at line 35 of file create_rootgeom_GEMS_AZ.C.
| TGeoManager* gGeoMan = NULL |
Definition at line 12 of file create_rootgeom_GEMS_AZ.C.
| const Int_t nModulesInStation = 4 |
Definition at line 28 of file create_rootgeom_GEMS_AZ.C.
| const Int_t nStations = 12 |
Definition at line 15 of file create_rootgeom_GEMS_AZ.C.
Definition at line 41 of file create_rootgeom_GEMS_AZ.C.
Definition at line 37 of file create_rootgeom_GEMS_AZ.C.
| const Double_t XSizeOfStation[nStations] = {60, 60, 80, 130, 160, 160, 240, 240, 240, 240, 240, 240} |
Definition at line 18 of file create_rootgeom_GEMS_AZ.C.
| const Double_t xyShort = 8.0 |
Definition at line 36 of file create_rootgeom_GEMS_AZ.C.
Referenced by create_rootgeom_GEMS_AZ(), and create_rootgeom_GEMS_AZv2().
Definition at line 38 of file create_rootgeom_GEMS_AZ.C.
Definition at line 19 of file create_rootgeom_GEMS_AZ.C.
| const Double_t ZDisplacementOfDetector = (ZModuleSize * 4) / 2 |
Definition at line 42 of file create_rootgeom_GEMS_AZ.C.
| const Double_t ZModuleSize = 1.5 |
Definition at line 33 of file create_rootgeom_GEMS_AZ.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_AZ.C.