BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_GEMS_AZv2.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_AZv2.C:

Go to the source code of this file.

Functions

void CalculateParameters ()
void create_rootgeom_GEMS_AZv2 ()

Variables

TGeoManager * gGeoMan = NULL
const Int_t nStations = 12
const Double_t XSizeOfStation [nStations] = {60, 60, 80, 132, 160, 160, 240, 240, 240, 240, 240, 240}
const Double_t YSizeOfStation [nStations] = {60, 60, 80, 82, 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 = 3.75
const Double_t dYInnerFrame = 1.7
const Double_t dZSensitiveVolume = 1.0
const Double_t dZSensor = 0.02
const Double_t xyShort = 8.0
const Double_t ZModuleSize = 2.5
Double_t XModuleSize [nStations]
Double_t YModuleSize [nStations]
const Double_t XSizeSpacer = 10.0
const Double_t YSizeSpacer = 10.0
const Double_t SpacerWidth = 0.2
const Double_t SpacerThickness = dZSensitiveVolume
const Bool_t StationCenterPosition = kFALSE
const Double_t ZDisplacementOfDetector = (ZModuleSize * 2) / 2
const Bool_t WithSpacers = kTRUE

Function Documentation

◆ CalculateParameters()

void CalculateParameters ( )

Definition at line 53 of file create_rootgeom_GEMS_AZv2.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_AZv2().

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

◆ create_rootgeom_GEMS_AZv2()

Variable Documentation

◆ BeamPipeMaxRadius

const Double_t BeamPipeMaxRadius = 5.0

Definition at line 24 of file create_rootgeom_GEMS_AZv2.C.

◆ BeamPipeMinRadius

const Double_t BeamPipeMinRadius = 2.5

Definition at line 23 of file create_rootgeom_GEMS_AZv2.C.

◆ BeamPipeRadius

Double_t BeamPipeRadius[nStations]

Definition at line 25 of file create_rootgeom_GEMS_AZv2.C.

◆ dXInnerFrame

const Double_t dXInnerFrame = 1.7

Definition at line 30 of file create_rootgeom_GEMS_AZv2.C.

◆ dXOuterFrame

const Double_t dXOuterFrame = 5.0

Definition at line 29 of file create_rootgeom_GEMS_AZv2.C.

◆ dYInnerFrame

const Double_t dYInnerFrame = 1.7

Definition at line 32 of file create_rootgeom_GEMS_AZv2.C.

◆ dYOuterFrame

const Double_t dYOuterFrame = 3.75

Definition at line 31 of file create_rootgeom_GEMS_AZv2.C.

◆ dZSensitiveVolume

const Double_t dZSensitiveVolume = 1.0

Definition at line 33 of file create_rootgeom_GEMS_AZv2.C.

◆ dZSensor

const Double_t dZSensor = 0.02

Definition at line 34 of file create_rootgeom_GEMS_AZv2.C.

Referenced by create_rootgeom_GEMS_AZv2().

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 12 of file create_rootgeom_GEMS_AZv2.C.

◆ nModulesInStation

const Int_t nModulesInStation = 4

Definition at line 28 of file create_rootgeom_GEMS_AZv2.C.

◆ nStations

const Int_t nStations = 12

Definition at line 15 of file create_rootgeom_GEMS_AZv2.C.

◆ SpacerThickness

const Double_t SpacerThickness = dZSensitiveVolume

◆ SpacerWidth

const Double_t SpacerWidth = 0.2

◆ StationCenterPosition

const Bool_t StationCenterPosition = kFALSE

Definition at line 47 of file create_rootgeom_GEMS_AZv2.C.

◆ WithSpacers

const Bool_t WithSpacers = kTRUE

◆ XModuleSize

Double_t XModuleSize[nStations]

Definition at line 38 of file create_rootgeom_GEMS_AZv2.C.

◆ XSizeOfStation

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_AZv2.C.

◆ XSizeSpacer

const Double_t XSizeSpacer = 10.0

◆ xyShort

const Double_t xyShort = 8.0

Definition at line 35 of file create_rootgeom_GEMS_AZv2.C.

◆ YModuleSize

Double_t YModuleSize[nStations]

Definition at line 39 of file create_rootgeom_GEMS_AZv2.C.

◆ YSizeOfStation

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

Definition at line 19 of file create_rootgeom_GEMS_AZv2.C.

◆ YSizeSpacer

const Double_t YSizeSpacer = 10.0

◆ ZDisplacementOfDetector

const Double_t ZDisplacementOfDetector = (ZModuleSize * 2) / 2

Definition at line 48 of file create_rootgeom_GEMS_AZv2.C.

◆ ZModuleSize

const Double_t ZModuleSize = 2.5

Definition at line 36 of file create_rootgeom_GEMS_AZv2.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_AZv2.C.