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

Go to the source code of this file.

Functions

TGeoVolume * CreateStation (TString station_name)
TGeoVolume * CreateModule_Station163x45 (TString module_name, Double_t xsize, Double_t ysize, Double_t zsize, Double_t hole_radius)
TGeoVolume * CreateLayersForModule_Station163x45 (TString layer_name)
TGeoVolume * CreateFrameForHalfPlane_Station163x45 (TString frame_name)
TGeoVolume * CreateModule_Station163x39 (TString module_name, Double_t xsize, Double_t ysize, Double_t zsize, Double_t hole_radius)
TGeoVolume * CreateLayersForModule_Station163x39 (TString layer_name)
TGeoVolume * CreateFrameForHalfPlane_Station163x39 (TString frame_name)
TGeoVolume * CreateModule_Station10x10 (TString module_name, Double_t xsize, Double_t ysize, Double_t zsize)
TGeoVolume * CreateLayersForModule_Station10x10 (TString layer_name)
TGeoVolume * CreateFrameForModule_Station10x10 (TString frame_name)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void create_rootgeom_GEMS_Run9_v2 ()

Variables

const Bool_t DETAILED_ROOT_GEOMETRY = true
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]
const Double_t xShift [NStations]
const Double_t yShift [NStations]
const Double_t zShift [NStations]
const Double_t XModuleShifts [NStations][NMaxModules]
const Double_t YModuleShifts [NStations][NMaxModules]
const Double_t ZModuleShifts [NStations][NMaxModules]
const Bool_t YStationRotations [NStations]
const Bool_t XStationRotations [NStations]
const Double_t XModuleSize_Station163x45 = 163.04 * 0.5
const Double_t YModuleSize_Station163x45 = 45.0
const Double_t ZModuleSize_Station163x45 = 0.9
const Double_t ZGEMSize_Station163x45 = 3.9
const Double_t XModuleSize_Station163x39 = 163.04 * 0.5
const Double_t YModuleSize_Station163x39 = 39.0
const Double_t ZModuleSize_Station163x39 = 0.9
const Double_t ZGEMSize_Station163x39 = 3.9
const Double_t XModuleSize_Station10x10 = 10.0
const Double_t YModuleSize_Station10x10 = 10.0
const Double_t ZModuleSize_Station10x10 = 0.9
TGeoManager * gGeoMan = NULL
TGeoMedium * pMedAir = 0
TGeoMedium * pMedCarbon = 0
TGeoMedium * pMedFiberGlass = 0
TGeoMedium * pMedCopper = 0
TGeoMedium * pMedArCO27030 = 0
TGeoMedium * pMedArC4H10_80_20 = 0
TGeoMedium * pMedAluminium = 0
TGeoMedium * pMedEpoxideCompound = 0
TGeoMedium * pMedGlue = 0
TGeoMedium * pMedBrass = 0
TGeoMedium * pMedSteel = 0
TGeoMedium * pMedHoneyComb = 0
TGeoMedium * pMedPolyacetal = 0
TGeoMedium * pMedPolyamide = 0
TGeoMedium * pMedKapton = 0

Function Documentation

◆ create_rootgeom_GEMS_Run9_v2()

◆ CreateFrameForHalfPlane_Station163x39()

TGeoVolume * CreateFrameForHalfPlane_Station163x39 ( TString frame_name)

◆ CreateFrameForHalfPlane_Station163x45()

TGeoVolume * CreateFrameForHalfPlane_Station163x45 ( TString frame_name)

◆ CreateFrameForModule_Station10x10()

TGeoVolume * CreateFrameForModule_Station10x10 ( TString frame_name)

Definition at line 4744 of file create_rootgeom_GEMS_Run9_v2.C.

References TGeoVolume::AddNode(), TGeoCompositeShape::ComputeBBox(), TColor::GetColor(), TGeoCompositeShape::MakeNode(), pMedAir, pMedAluminium, pMedCopper, pMedEpoxideCompound, pMedFiberGlass, pMedKapton, pMedSteel, TGeoMatrix::RegisterYourself(), TGeoCombiTrans::RotateZ(), TGeoCombiTrans::SetDx(), TGeoTranslation::SetDx(), TGeoCombiTrans::SetDy(), TGeoTranslation::SetDy(), TGeoCombiTrans::SetDz(), TGeoTranslation::SetDz(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoVolume::SetTransparency(), and ZModuleSize_Station10x10.

Referenced by create_rootgeom_GEMS_Run9_v2().

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

◆ CreateLayersForModule_Station10x10()

TGeoVolume * CreateLayersForModule_Station10x10 ( TString layer_name)

Definition at line 4447 of file create_rootgeom_GEMS_Run9_v2.C.

References TGeoVolume::AddNode(), TGeoCompositeShape::ComputeBBox(), TColor::GetColor(), TGeoCompositeShape::MakeNode(), pMedAir, pMedCopper, pMedKapton, TGeoCombiTrans::SetDx(), TGeoCombiTrans::SetDy(), TGeoCombiTrans::SetDz(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoVolume::SetTransparency(), XModuleSize_Station10x10, YModuleSize_Station10x10, and ZModuleSize_Station10x10.

Referenced by create_rootgeom_GEMS_Run9_v2().

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

◆ CreateLayersForModule_Station163x39()

TGeoVolume * CreateLayersForModule_Station163x39 ( TString layer_name)

◆ CreateLayersForModule_Station163x45()

TGeoVolume * CreateLayersForModule_Station163x45 ( TString layer_name)

◆ CreateModule_Station10x10()

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

Definition at line 4258 of file create_rootgeom_GEMS_Run9_v2.C.

References TGeoVolume::AddNode(), TColor::GetColor(), pMedArC4H10_80_20, pMedCopper, pMedKapton, TGeoCombiTrans::SetDx(), TGeoCombiTrans::SetDy(), TGeoCombiTrans::SetDz(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoVolume::SetTransparency(), XModuleSize_Station10x10, YModuleSize_Station10x10, and ZModuleSize_Station10x10.

Referenced by create_rootgeom_GEMS_Run9_v2().

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 2467 of file create_rootgeom_GEMS_Run9_v2.C.

References CreateModule_Station163x45().

Referenced by create_rootgeom_GEMS_Run9_v2().

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 594 of file create_rootgeom_GEMS_Run9_v2.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_Run9_v2(), and CreateModule_Station163x39().

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

◆ CreateStation()

TGeoVolume * CreateStation ( TString station_name)

Definition at line 585 of file create_rootgeom_GEMS_Run9_v2.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_GEMS_Run9_v2().

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 246 of file create_rootgeom_GEMS_Run9_v2.C.

References pMedAir, pMedAluminium, pMedArC4H10_80_20, pMedArCO27030, pMedBrass, pMedCarbon, pMedCopper, pMedEpoxideCompound, pMedFiberGlass, pMedGlue, pMedHoneyComb, pMedKapton, pMedPolyacetal, pMedPolyamide, and pMedSteel.

Referenced by create_rootgeom_GEMS_Run9_v2().

Here is the caller graph for this function:

Variable Documentation

◆ DETAILED_ROOT_GEOMETRY

const Bool_t DETAILED_ROOT_GEOMETRY = true

Definition at line 18 of file create_rootgeom_GEMS_Run9_v2.C.

Referenced by create_rootgeom_GEMS_Run9_v2().

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 202 of file create_rootgeom_GEMS_Run9_v2.C.

◆ NMaxModules

const Int_t NMaxModules = 4

Definition at line 22 of file create_rootgeom_GEMS_Run9_v2.C.

◆ NStations

const Int_t NStations = 8

Definition at line 21 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 205 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedAluminium

TGeoMedium* pMedAluminium = 0

Definition at line 211 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedArC4H10_80_20

TGeoMedium* pMedArC4H10_80_20 = 0

Definition at line 210 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedArCO27030

TGeoMedium* pMedArCO27030 = 0

Definition at line 209 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedBrass

TGeoMedium* pMedBrass = 0

Definition at line 214 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 206 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 208 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedEpoxideCompound

TGeoMedium* pMedEpoxideCompound = 0

Definition at line 212 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 207 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedGlue

TGeoMedium* pMedGlue = 0

Definition at line 213 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedHoneyComb

TGeoMedium* pMedHoneyComb = 0

Definition at line 216 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedKapton

TGeoMedium* pMedKapton = 0

Definition at line 219 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedPolyacetal

TGeoMedium* pMedPolyacetal = 0

Definition at line 217 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedPolyamide

TGeoMedium* pMedPolyamide = 0

Definition at line 218 of file create_rootgeom_GEMS_Run9_v2.C.

◆ pMedSteel

TGeoMedium* pMedSteel = 0

Definition at line 215 of file create_rootgeom_GEMS_Run9_v2.C.

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]
Initial value:
= {
{163.04 * 0.25 + xShift[0], -163.04 * 0.25 + xShift[0],
163.04 * 0.25, -163.04 * 0.25},
{163.04 * 0.25, -163.04 * 0.25,
163.04 * 0.25 + xShift[1], -163.04 * 0.25 + xShift[1]},
{163.04 * 0.25 + xShift[2], -163.04 * 0.25 + xShift[2],
163.04 * 0.25, -163.04 * 0.25},
{163.04 * 0.25, -163.04 * 0.25,
163.04 * 0.25 + xShift[3], -163.04 * 0.25 + xShift[3]},
{163.04 * 0.25 + xShift[4], -163.04 * 0.25 + xShift[4],
163.04 * 0.25, -163.04 * 0.25},
{163.04 * 0.25, -163.04 * 0.25,
163.04 * 0.25 + xShift[5], -163.04 * 0.25 + xShift[5]},
{163.04 * 0.25 + xShift[6], -163.04 * 0.25 + xShift[6],
163.04 * 0.25, -163.04 * 0.25},
{0.0}
}
const Double_t xShift[NStations]

Definition at line 93 of file create_rootgeom_GEMS_Run9_v2.C.

◆ XModuleSize_Station10x10

const Double_t XModuleSize_Station10x10 = 10.0

Definition at line 196 of file create_rootgeom_GEMS_Run9_v2.C.

◆ XModuleSize_Station163x39

const Double_t XModuleSize_Station163x39 = 163.04 * 0.5

Definition at line 189 of file create_rootgeom_GEMS_Run9_v2.C.

◆ XModuleSize_Station163x45

const Double_t XModuleSize_Station163x45 = 163.04 * 0.5

Definition at line 182 of file create_rootgeom_GEMS_Run9_v2.C.

◆ xShift

const Double_t xShift[NStations]
Initial value:
= {
+0.111,
+0.142,
+0.081,
+0.100,
+0.092,
+0.113,
+0.155,
+0.0
}

Definition at line 61 of file create_rootgeom_GEMS_Run9_v2.C.

◆ XStationPositions

const Double_t XStationPositions[NStations]
Initial value:
= {
+1.419,
+2.529,
+3.408,
+4.697,
+6.335,
+8.213,
+9.784,
+50.494
}

Definition at line 25 of file create_rootgeom_GEMS_Run9_v2.C.

◆ XStationRotations

const Bool_t XStationRotations[NStations]
Initial value:
= {false , false , false , false ,
false , false , false , false }

Definition at line 178 of file create_rootgeom_GEMS_Run9_v2.C.

◆ YModuleShifts

const Double_t YModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+22.5 + yShift[0], +22.5 + yShift[0],
-19.5, -19.5},
{+22.5, +22.5,
-19.5 + yShift[1], -19.5 + yShift[1]},
{+22.5 + yShift[2], +22.5 + yShift[2],
-19.5, -19.5},
{+22.5, +22.5,
-19.5 + yShift[3], -19.5 + yShift[3]},
{+22.5 + yShift[4], +22.5 + yShift[4],
-19.5, -19.5},
{+22.5, +22.5,
-19.5 + yShift[5], -19.5 + yShift[5]},
{+22.5 + yShift[6], +22.5 + yShift[6],
-19.5, -19.5},
{0.0}
}
const Double_t yShift[NStations]

Definition at line 117 of file create_rootgeom_GEMS_Run9_v2.C.

◆ YModuleSize_Station10x10

const Double_t YModuleSize_Station10x10 = 10.0

Definition at line 197 of file create_rootgeom_GEMS_Run9_v2.C.

◆ YModuleSize_Station163x39

const Double_t YModuleSize_Station163x39 = 39.0

Definition at line 190 of file create_rootgeom_GEMS_Run9_v2.C.

◆ YModuleSize_Station163x45

const Double_t YModuleSize_Station163x45 = 45.0

Definition at line 183 of file create_rootgeom_GEMS_Run9_v2.C.

◆ yShift

const Double_t yShift[NStations]
Initial value:
= {
+0.008,
-0.100,
+0.048,
+0.042,
+0.109,
-0.089,
+0.168,
+0.0
}

Definition at line 71 of file create_rootgeom_GEMS_Run9_v2.C.

◆ YStationPositions

const Double_t YStationPositions[NStations]
Initial value:
= {
-0.032,
+0.123,
+0.026,
-0.013,
-0.026,
+0.058,
-0.048,
-0.186
}

Definition at line 37 of file create_rootgeom_GEMS_Run9_v2.C.

◆ YStationRotations

const Bool_t YStationRotations[NStations]
Initial value:
= {true , false , true , false ,
true , false , true , false }

Definition at line 174 of file create_rootgeom_GEMS_Run9_v2.C.

◆ ZGEMSize_Station163x39

const Double_t ZGEMSize_Station163x39 = 3.9

Definition at line 192 of file create_rootgeom_GEMS_Run9_v2.C.

◆ ZGEMSize_Station163x45

const Double_t ZGEMSize_Station163x45 = 3.9

Definition at line 185 of file create_rootgeom_GEMS_Run9_v2.C.

◆ ZModuleShifts

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

Definition at line 141 of file create_rootgeom_GEMS_Run9_v2.C.

◆ ZModuleSize_Station10x10

const Double_t ZModuleSize_Station10x10 = 0.9

Definition at line 198 of file create_rootgeom_GEMS_Run9_v2.C.

◆ ZModuleSize_Station163x39

const Double_t ZModuleSize_Station163x39 = 0.9

Definition at line 191 of file create_rootgeom_GEMS_Run9_v2.C.

◆ ZModuleSize_Station163x45

const Double_t ZModuleSize_Station163x45 = 0.9

Definition at line 184 of file create_rootgeom_GEMS_Run9_v2.C.

◆ zShift

const Double_t zShift[NStations]
Initial value:
= {
+4.691,
+4.158,
+4.672,
+4.124,
+4.683,
+3.995,
+4.063,
+0.0
}

Definition at line 81 of file create_rootgeom_GEMS_Run9_v2.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations]
Initial value:
= {
+61.107,
+92.313,
+123.541,
+154.778,
+185.458,
+217.141,
+248.367,
+792.532
}

Definition at line 49 of file create_rootgeom_GEMS_Run9_v2.C.