BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_GEMS_Run8_aligned.C File Reference

Go to the source code of this file.

Functions

TGeoVolume * CreateStation (TString station_name)
TGeoVolume * CreateModule_Station66x41 (TString module_name, Double_t xsize, Double_t ysize, Double_t zsize)
TGeoVolume * CreateFrameForModule_Station66x41 (TString frame_name, Double_t dx, Double_t dy, Double_t dz)
TGeoVolume * CreateModule_Station163x45 (TString module_name, Double_t xsize, Double_t ysize, Double_t zsize, Double_t hole_radius)
TGeoVolume * CreateFrameForModule_Station163x45 (TString frame_name, Double_t dx, Double_t dy, Double_t dz, Double_t hole_radius)
TGeoVolume * CreateModule_Station163x39 (TString module_name, Double_t xsize, Double_t ysize, Double_t zsize, Double_t hole_radius)
TGeoVolume * CreateFrameForModule_Station163x39 (TString frame_name, Double_t dx, Double_t dy, Double_t dz, Double_t hole_radius)
TGeoVolume * CreateModule_Station10x10 (TString module_name, Double_t xsize, Double_t ysize, Double_t zsize)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void create_rootgeom_GEMS_Run8_aligned ()

Variables

const Int_t NStations = 8
const Int_t NMaxModules = 4
const Double_t XStationPositions [NStations]
const Double_t YStationPositions [NStations]
const Double_t ZStationPositions [NStations]
Double_t XModuleShifts [NStations][NMaxModules]
Double_t YModuleShifts [NStations][NMaxModules]
Double_t ZModuleShifts [NStations][NMaxModules]
const Double_t StsDX [NStations][8]
const Double_t StsDY [NStations][8]
const Double_t XAlignmentCorrections [NStations][NMaxModules]
const Double_t YAlignmentCorrections [NStations][NMaxModules]
const Double_t ZAlignmentCorrections [NStations][NMaxModules]
const Double_t XModuleSize_Station66x41 = 66.0
const Double_t YModuleSize_Station66x41 = 41.0
const Double_t ZModuleSize_Station66x41 = 0.9
const Double_t dXFrame_Station66x41 = 2.0
const Double_t dYFrame_Station66x41 = 2.0
const Double_t dZFrame_Station66x41 = 4.1
const Double_t XModuleSize_Station163x45 = 163.2 * 0.5
const Double_t YModuleSize_Station163x45 = 45.0
const Double_t ZModuleSize_Station163x45 = 0.9
const Double_t dXFrame_Station163x45 = 2.0
const Double_t dYFrame_Station163x45 = 2.0
const Double_t dZFrame_Station163x45 = 4.1
const Double_t XModuleSize_Station163x39 = 163.2 * 0.5
const Double_t YModuleSize_Station163x39 = 39.0
const Double_t ZModuleSize_Station163x39 = 0.9
const Double_t ZGEMSize_Station163x39 = 4.1
const Double_t dXFrame_Station163x39 = 2.0
const Double_t dYFrame_Station163x39 = 2.0
const Double_t dZFrame_Station163x39 = 4.1
const Double_t XModuleSize_Station10x10 = 10.0
const Double_t YModuleSize_Station10x10 = 10.0
const Double_t ZModuleSize_Station10x10 = 0.9
const Double_t ZGEMSize_Station10x10 = 4.1
const Double_t dXFrame_Station10x10 = 2.0
const Double_t dYFrame_Station10x10 = 2.0
const Double_t dZFrame_Station10x10 = 4.1
TGeoManager * gGeoMan = NULL
TGeoMedium * pMedAir = 0
TGeoMedium * pMedCarbon = 0
TGeoMedium * pMedFiberGlass = 0
TGeoMedium * pMedCopper = 0
TGeoMedium * pMedArCO27030 = 0
TGeoMedium * pMedArC4H10_80_20 = 0

Function Documentation

◆ create_rootgeom_GEMS_Run8_aligned()

◆ CreateFrameForModule_Station163x39()

TGeoVolume * CreateFrameForModule_Station163x39 ( TString frame_name,
Double_t dx,
Double_t dy,
Double_t dz,
Double_t hole_radius )

Definition at line 593 of file create_rootgeom_GEMS_Run8_aligned.C.

References TGeoVolume::AddNode(), dXFrame_Station163x39, dYFrame_Station163x39, TColor::GetColor(), pMedAir, pMedCarbon, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoCombiTrans::SetTranslation(), XModuleSize_Station163x39, and YModuleSize_Station163x39.

Referenced by create_rootgeom_GEMS_Run8_aligned().

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

◆ CreateFrameForModule_Station163x45()

TGeoVolume * CreateFrameForModule_Station163x45 ( TString frame_name,
Double_t dx,
Double_t dy,
Double_t dz,
Double_t hole_radius )

Definition at line 520 of file create_rootgeom_GEMS_Run8_aligned.C.

References TGeoVolume::AddNode(), dXFrame_Station163x45, dYFrame_Station163x45, TColor::GetColor(), pMedAir, pMedCarbon, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoCombiTrans::SetTranslation(), XModuleSize_Station163x45, and YModuleSize_Station163x45.

Referenced by create_rootgeom_GEMS_Run8_aligned().

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

◆ CreateFrameForModule_Station66x41()

TGeoVolume * CreateFrameForModule_Station66x41 ( TString frame_name,
Double_t dx,
Double_t dy,
Double_t dz )

Definition at line 424 of file create_rootgeom_GEMS_Run8_aligned.C.

References TGeoVolume::AddNode(), dXFrame_Station66x41, dYFrame_Station66x41, TColor::GetColor(), pMedAir, pMedCarbon, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoCombiTrans::SetTranslation(), XModuleSize_Station66x41, and YModuleSize_Station66x41.

Here is the call graph for this function:

◆ CreateModule_Station10x10()

TGeoVolume * CreateModule_Station10x10 ( TString module_name,
Double_t xsize,
Double_t ysize,
Double_t zsize )

Definition at line 656 of file create_rootgeom_GEMS_Run8_aligned.C.

References TColor::GetColor(), pMedArC4H10_80_20, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), and TGeoVolume::SetTransparency().

Referenced by create_rootgeom_GEMS_Run8_aligned().

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

◆ CreateModule_Station163x39()

TGeoVolume * CreateModule_Station163x39 ( TString module_name,
Double_t xsize,
Double_t ysize,
Double_t zsize,
Double_t hole_radius )

Definition at line 582 of file create_rootgeom_GEMS_Run8_aligned.C.

References CreateModule_Station163x45().

Referenced by create_rootgeom_GEMS_Run8_aligned().

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

◆ CreateModule_Station163x45()

TGeoVolume * CreateModule_Station163x45 ( TString module_name,
Double_t xsize,
Double_t ysize,
Double_t zsize,
Double_t hole_radius )

Definition at line 478 of file create_rootgeom_GEMS_Run8_aligned.C.

References TColor::GetColor(), TGeoShape::GetName(), TNamed::GetName(), TString::Itoa(), pMedArC4H10_80_20, TGeoMatrix::RegisterYourself(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), and TGeoVolume::SetTransparency().

Referenced by create_rootgeom_GEMS_Run8_aligned(), and CreateModule_Station163x39().

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

◆ CreateModule_Station66x41()

TGeoVolume * CreateModule_Station66x41 ( TString module_name,
Double_t xsize,
Double_t ysize,
Double_t zsize )

Definition at line 402 of file create_rootgeom_GEMS_Run8_aligned.C.

References TColor::GetColor(), pMedArC4H10_80_20, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), and TGeoVolume::SetTransparency().

Here is the call graph for this function:

◆ CreateStation()

TGeoVolume * CreateStation ( TString station_name)

Definition at line 393 of file create_rootgeom_GEMS_Run8_aligned.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_GEMS_Run8_aligned().

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

◆ DefineRequiredMedia()

void DefineRequiredMedia ( FairGeoMedia * geoMedia,
FairGeoBuilder * geoBuild )

Definition at line 192 of file create_rootgeom_GEMS_Run8_aligned.C.

References pMedAir, pMedArC4H10_80_20, pMedArCO27030, pMedCarbon, and pMedFiberGlass.

Referenced by create_rootgeom_GEMS_Run8_aligned().

Here is the caller graph for this function:

Variable Documentation

◆ dXFrame_Station10x10

const Double_t dXFrame_Station10x10 = 2.0

Definition at line 144 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ dXFrame_Station163x39

const Double_t dXFrame_Station163x39 = 2.0

Definition at line 133 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ dXFrame_Station163x45

const Double_t dXFrame_Station163x45 = 2.0

Definition at line 122 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ dXFrame_Station66x41

const Double_t dXFrame_Station66x41 = 2.0

Definition at line 112 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ dYFrame_Station10x10

const Double_t dYFrame_Station10x10 = 2.0

Definition at line 145 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ dYFrame_Station163x39

const Double_t dYFrame_Station163x39 = 2.0

Definition at line 134 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ dYFrame_Station163x45

const Double_t dYFrame_Station163x45 = 2.0

Definition at line 123 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ dYFrame_Station66x41

const Double_t dYFrame_Station66x41 = 2.0

Definition at line 113 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ dZFrame_Station10x10

const Double_t dZFrame_Station10x10 = 4.1

Definition at line 146 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ dZFrame_Station163x39

const Double_t dZFrame_Station163x39 = 4.1

Definition at line 135 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ dZFrame_Station163x45

const Double_t dZFrame_Station163x45 = 4.1

Definition at line 124 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ dZFrame_Station66x41

const Double_t dZFrame_Station66x41 = 4.1

Definition at line 114 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 150 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ NMaxModules

const Int_t NMaxModules = 4

Definition at line 13 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ NStations

const Int_t NStations = 8

Definition at line 12 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 153 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ pMedArC4H10_80_20

TGeoMedium* pMedArC4H10_80_20 = 0

Definition at line 158 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ pMedArCO27030

TGeoMedium* pMedArCO27030 = 0

Definition at line 157 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 154 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 156 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 155 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ StsDX

const Double_t StsDX[NStations][8]
Initial value:
= {
{2.28613e-01, 2.34606e-01, 3.70449e-01, 4.39267e-01, 2.67664e-01, 2.84859e-01, 3.41005e-01, 4.16753e-01},
{3.17030e-01, 2.45618e-01, 4.29878e-01, 4.29169e-01, 2.60443e-01, 1.79925e-01, 3.76252e-01, 3.71674e-01},
{1.25543e-01, 1.37935e-01, 2.77096e-01, 3.51704e-01, 2.16012e-01, 2.12139e-01, 2.88912e-01, 3.57699e-01},
{3.17647e-01, 2.36295e-01, 3.75431e-01, 3.80575e-01, 1.68884e-01, 8.80524e-02, 2.51805e-01, 2.56513e-01},
{-3.01883e-02, -2.87880e-02, 1.09744e-01, 1.90429e-01, 1.78162e-02, 1.32671e-02, 9.23760e-02, 1.67779e-01},
{1.43966e-01, 5.53303e-02, 2.48555e-01, 2.49193e-01, 3.88544e-02, -3.31393e-02, 7.96085e-02, 7.41273e-02},
{0., -5.63645e-04, 0.05, 8.74027e-04, 0., 3.60763e-03, 0.074, 1.49797e-01}}

Definition at line 56 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ StsDY

const Double_t StsDY[NStations][8]
Initial value:
= {
{-2.40830e-01, -2.27117e-01, -4.41393e-01, -2.98662e-01, -1.47376e-01, -5.64919e-01, 3.60250e-02, -2.15290e-01},
{-4.83443e-01, -3.63780e-01, -3.52015e-01, -3.36903e-01, -1.14008e-01, -3.49136e-01, -2.14579e-01, -6.23524e-01},
{-1.91062e-01, -2.04515e-01, -3.79972e-01, -2.57092e-01, -1.01400e-01, -5.18137e-01, 5.39497e-02, -1.85679e-01},
{-4.55871e-01, -3.48696e-01, -2.33191e-01, -2.40044e-01, -5.37329e-02, -3.00596e-01, -1.98740e-01, -6.04983e-01},
{-2.31062e-01, -2.58276e-01, -4.03759e-01, -2.70196e-01, -8.53213e-02, -5.14891e-01, 3.15495e-02, -2.08464e-01},
{-2.58821e-01, -1.58621e-01, -9.84743e-02, -1.05756e-01, 1.54258e-01, -1.04935e-01, 1.83280e-02, -3.86622e-01},
{0., -5.86937e-03, -0.23, -1.45342e-01, 0., -3.98117e-01, 0.15, -1.04839e-01}}

Definition at line 64 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ XAlignmentCorrections

const Double_t XAlignmentCorrections[NStations][NMaxModules]
Initial value:
= {
{StsDX[0][0], StsDX[0][2], StsDX[0][4], StsDX[0][6]},
{StsDX[1][0], StsDX[1][2], StsDX[1][4], StsDX[1][6]},
{StsDX[2][0], StsDX[2][2], StsDX[2][4], StsDX[2][6]},
{StsDX[3][0], StsDX[3][2], StsDX[3][4], StsDX[3][6]},
{StsDX[4][0], StsDX[4][2], StsDX[4][4], StsDX[4][6]},
{StsDX[5][0], StsDX[5][2], StsDX[5][4], StsDX[5][6]},
{StsDX[6][0], StsDX[6][2], StsDX[6][4], StsDX[6][6]},
{0.0}
}
const Double_t StsDX[NStations][8]

Definition at line 73 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ XModuleShifts

Double_t XModuleShifts[NStations][NMaxModules]
Initial value:
= {
{163.2 * 0.25, -163.2 * 0.25, 163.2 * 0.25, -163.2 * 0.25},
{163.2 * 0.25, -163.2 * 0.25, 163.2 * 0.25, -163.2 * 0.25},
{163.2 * 0.25, -163.2 * 0.25, 163.2 * 0.25, -163.2 * 0.25},
{163.2 * 0.25, -163.2 * 0.25, 163.2 * 0.25, -163.2 * 0.25},
{163.2 * 0.25, -163.2 * 0.25, 163.2 * 0.25, -163.2 * 0.25},
{163.2 * 0.25, -163.2 * 0.25, 163.2 * 0.25, -163.2 * 0.25},
{163.2 * 0.25, -163.2 * 0.25, 163.2 * 0.25, -163.2 * 0.25},
{0.0}
}

Definition at line 24 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ XModuleSize_Station10x10

const Double_t XModuleSize_Station10x10 = 10.0

Definition at line 139 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ XModuleSize_Station163x39

const Double_t XModuleSize_Station163x39 = 163.2 * 0.5

Definition at line 128 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ XModuleSize_Station163x45

const Double_t XModuleSize_Station163x45 = 163.2 * 0.5

Definition at line 118 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ XModuleSize_Station66x41

const Double_t XModuleSize_Station66x41 = 66.0

Definition at line 108 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ XStationPositions

const Double_t XStationPositions[NStations]
Initial value:
= {+1.474 , +2.614 , +3.393 , +4.699 ,
+6.337 , +8.189 , +9.893 , +50.494 }

Definition at line 16 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ YAlignmentCorrections

const Double_t YAlignmentCorrections[NStations][NMaxModules]
Initial value:
= {
{StsDY[0][0], StsDY[0][2], StsDY[0][4], StsDY[0][6]},
{StsDY[1][0], StsDY[1][2], StsDY[1][4], StsDY[1][6]},
{StsDY[2][0], StsDY[2][2], StsDY[2][4], StsDY[2][6]},
{StsDY[3][0], StsDY[3][2], StsDY[3][4], StsDY[3][6]},
{StsDY[4][0], StsDY[4][2], StsDY[4][4], StsDY[4][6]},
{StsDY[5][0], StsDY[5][2], StsDY[5][4], StsDY[5][6]},
{StsDY[6][0], StsDY[6][2], StsDY[6][4], StsDY[6][6]},
{0.0}
}
const Double_t StsDY[NStations][8]

Definition at line 84 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ YModuleShifts

Double_t YModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+22.5, +22.5, -19.5, -19.5},
{+22.5, +22.5, -19.5, -19.5},
{+22.5, +22.5, -19.5, -19.5},
{+22.5, +22.5, -19.5, -19.5},
{+22.5, +22.5, -19.5, -19.5},
{+22.5, +22.5, -19.5, -19.5},
{+22.5, +22.5, -19.5, -19.5},
{0.0}
}

Definition at line 34 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ YModuleSize_Station10x10

const Double_t YModuleSize_Station10x10 = 10.0

Definition at line 140 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ YModuleSize_Station163x39

const Double_t YModuleSize_Station163x39 = 39.0

Definition at line 129 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ YModuleSize_Station163x45

const Double_t YModuleSize_Station163x45 = 45.0

Definition at line 119 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ YModuleSize_Station66x41

const Double_t YModuleSize_Station66x41 = 41.0

Definition at line 109 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ YStationPositions

const Double_t YStationPositions[NStations]
Initial value:
= {-0.086 , -0.107 , +0.003 , -0.097 ,
-0.003 , +0.0245 , +0.022 , -0.186 }

Definition at line 18 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ ZAlignmentCorrections

const Double_t ZAlignmentCorrections[NStations][NMaxModules]
Initial value:
= {
{0.243654, 0.250775, 0.173749, 0.161366},
{-0.143876, -0.150758, 0.109959, 0.156433},
{-0.110145, -0.165981, -0.213889, -0.229543},
{0.103517, 0.036342, 0.086135, 0.0941369},
{-0.037648, -0.0941807, -0.180758, -0.176327},
{-0.0674491, -0.0367844, -0.0972473, -0.0584354},
{0, 0, 0, 0},
{0.0}
}

Definition at line 95 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ ZGEMSize_Station10x10

const Double_t ZGEMSize_Station10x10 = 4.1

Definition at line 142 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ ZGEMSize_Station163x39

const Double_t ZGEMSize_Station163x39 = 4.1

Definition at line 131 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ ZModuleShifts

Double_t ZModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+4.1, +4.1, 0.0, 0.0},
{0.0, 0.0, +4.1, +4.1},
{+4.1, +4.1, 0.0, 0.0},
{0.0, 0.0, +4.1, +4.1},
{+4.1, +4.1, 0.0, 0.0},
{0.0, 0.0, +4.1, +4.1},
{+4.1, +4.1, 0.0, 0.0},
{0.0}
}

Definition at line 44 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ ZModuleSize_Station10x10

const Double_t ZModuleSize_Station10x10 = 0.9

Definition at line 141 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ ZModuleSize_Station163x39

const Double_t ZModuleSize_Station163x39 = 0.9

Definition at line 130 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ ZModuleSize_Station163x45

const Double_t ZModuleSize_Station163x45 = 0.9

Definition at line 120 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ ZModuleSize_Station66x41

const Double_t ZModuleSize_Station66x41 = 0.9

Definition at line 110 of file create_rootgeom_GEMS_Run8_aligned.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations]
Initial value:
= {+60.76 , +92.242 , +123.512 , +154.692 ,
+185.989 , +217.287 , +248.401 , +792.532 }

Definition at line 20 of file create_rootgeom_GEMS_Run8_aligned.C.