BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_GEMS_AZ.C File Reference
#include "TFile.h"
#include "TGeoBBox.h"
#include "TGeoManager.h"
#include "TGeoShape.h"
#include "TMath.h"
#include "TString.h"
Include dependency graph for create_rootgeom_GEMS_AZ.C:

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

Function Documentation

◆ CalculateParameters()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_rootgeom_GEMS_AZ()

Variable Documentation

◆ BeamPipeMaxRadius

const Double_t BeamPipeMaxRadius = 5.0

Definition at line 24 of file create_rootgeom_GEMS_AZ.C.

◆ BeamPipeMinRadius

const Double_t BeamPipeMinRadius = 2.5

Definition at line 23 of file create_rootgeom_GEMS_AZ.C.

◆ BeamPipeRadius

Double_t BeamPipeRadius[nStations]

Definition at line 25 of file create_rootgeom_GEMS_AZ.C.

◆ dXInnerFrame

const Double_t dXInnerFrame = 1.7

Definition at line 30 of file create_rootgeom_GEMS_AZ.C.

◆ dXOuterFrame

const Double_t dXOuterFrame = 5.0

Definition at line 29 of file create_rootgeom_GEMS_AZ.C.

◆ dYInnerFrame

const Double_t dYInnerFrame = dXInnerFrame

Definition at line 32 of file create_rootgeom_GEMS_AZ.C.

◆ dYOuterFrame

const Double_t dYOuterFrame = dXOuterFrame

Definition at line 31 of file create_rootgeom_GEMS_AZ.C.

◆ dZSensitiveVolume

const Double_t dZSensitiveVolume = 0.02

Definition at line 35 of file create_rootgeom_GEMS_AZ.C.

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 12 of file create_rootgeom_GEMS_AZ.C.

◆ nModulesInStation

const Int_t nModulesInStation = 4

Definition at line 28 of file create_rootgeom_GEMS_AZ.C.

◆ nStations

const Int_t nStations = 12

Definition at line 15 of file create_rootgeom_GEMS_AZ.C.

◆ StationCenterPosition

const Bool_t StationCenterPosition = kFALSE

Definition at line 41 of file create_rootgeom_GEMS_AZ.C.

◆ XModuleSize

Double_t XModuleSize[nStations]

Definition at line 37 of file create_rootgeom_GEMS_AZ.C.

◆ XSizeOfStation

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.

◆ xyShort

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().

◆ YModuleSize

Double_t YModuleSize[nStations]

Definition at line 38 of file create_rootgeom_GEMS_AZ.C.

◆ YSizeOfStation

const Double_t YSizeOfStation[nStations] = {60, 60, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80}

Definition at line 19 of file create_rootgeom_GEMS_AZ.C.

◆ ZDisplacementOfDetector

const Double_t ZDisplacementOfDetector = (ZModuleSize * 4) / 2

Definition at line 42 of file create_rootgeom_GEMS_AZ.C.

◆ ZModuleSize

const Double_t ZModuleSize = 1.5

Definition at line 33 of file create_rootgeom_GEMS_AZ.C.

◆ ZStantionPosition

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.