BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_GEMS_Run8_detailed.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 * CreateLayersForModule_Station163x45 (TString layer_name)
TGeoVolume * CreateFrameForModule_Station163x45 (TString frame_name, Double_t dx, Double_t dy, Double_t dz, Double_t hole_radius)
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 * CreateFrameForModule_Station163x39 (TString frame_name, Double_t dx, Double_t dy, Double_t dz, Double_t hole_radius)
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_Run8_detailed ()

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]
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_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 ZGEMSize_Station163x45 = 4.1
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
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_Run8_detailed()

◆ 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 4812 of file create_rootgeom_GEMS_Run8_detailed.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_Run8_detailed().

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

◆ CreateFrameForModule_Station163x39()

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

Definition at line 534 of file create_rootgeom_GEMS_Run8.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(), and 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 1205 of file create_rootgeom_GEMS_Run8_detailed.C.

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

Here is the call graph for this function:

◆ CreateFrameForModule_Station66x41()

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

Definition at line 546 of file create_rootgeom_GEMS_Run8_detailed.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:

◆ CreateLayersForModule_Station10x10()

TGeoVolume * CreateLayersForModule_Station10x10 ( TString layer_name)

Definition at line 4515 of file create_rootgeom_GEMS_Run8_detailed.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_Run8_detailed().

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 4326 of file create_rootgeom_GEMS_Run8_detailed.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_Run8_detailed().

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 2535 of file create_rootgeom_GEMS_Run8_detailed.C.

References CreateModule_Station163x45().

Referenced by create_rootgeom_GEMS_Run8_detailed().

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 600 of file create_rootgeom_GEMS_Run8_detailed.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_detailed(), 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 524 of file create_rootgeom_GEMS_Run8_detailed.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 515 of file create_rootgeom_GEMS_Run8_detailed.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_GEMS_Run8_detailed().

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 181 of file create_rootgeom_GEMS_Run8_detailed.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_Run8_detailed().

Here is the caller graph for this function:

Variable Documentation

◆ dXFrame_Station163x39

const Double_t dXFrame_Station163x39 = 2.0

Definition at line 113 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ dXFrame_Station163x45

const Double_t dXFrame_Station163x45 = 2.0

Definition at line 102 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ dXFrame_Station66x41

const Double_t dXFrame_Station66x41 = 2.0

Definition at line 91 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ dYFrame_Station163x39

const Double_t dYFrame_Station163x39 = 2.0

Definition at line 114 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ dYFrame_Station163x45

const Double_t dYFrame_Station163x45 = 2.0

Definition at line 103 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ dYFrame_Station66x41

const Double_t dYFrame_Station66x41 = 2.0

Definition at line 92 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ dZFrame_Station163x39

const Double_t dZFrame_Station163x39 = 4.1

Definition at line 115 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ dZFrame_Station163x45

const Double_t dZFrame_Station163x45 = 4.1

Definition at line 104 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ dZFrame_Station66x41

const Double_t dZFrame_Station66x41 = 4.1

Definition at line 93 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 125 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ NMaxModules

const Int_t NMaxModules = 4

Definition at line 15 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ NStations

const Int_t NStations = 8

Definition at line 14 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 128 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ pMedAluminium

TGeoMedium* pMedAluminium = 0

Definition at line 134 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ pMedArC4H10_80_20

TGeoMedium* pMedArC4H10_80_20 = 0

Definition at line 133 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ pMedArCO27030

TGeoMedium* pMedArCO27030 = 0

Definition at line 132 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ pMedBrass

TGeoMedium* pMedBrass = 0

Definition at line 137 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 129 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 131 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ pMedEpoxideCompound

TGeoMedium* pMedEpoxideCompound = 0

Definition at line 135 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 130 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ pMedGlue

◆ pMedHoneyComb

TGeoMedium* pMedHoneyComb = 0

Definition at line 139 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ pMedKapton

◆ pMedPolyacetal

◆ pMedPolyamide

◆ pMedSteel

◆ XModuleShifts

const 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 26 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ XModuleSize_Station10x10

const Double_t XModuleSize_Station10x10 = 10.0

Definition at line 119 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ XModuleSize_Station163x39

const Double_t XModuleSize_Station163x39 = 163.2 * 0.5

Definition at line 108 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ XModuleSize_Station163x45

const Double_t XModuleSize_Station163x45 = 163.2 * 0.5

Definition at line 97 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ XModuleSize_Station66x41

const Double_t XModuleSize_Station66x41 = 66.0

Definition at line 87 of file create_rootgeom_GEMS_Run8_detailed.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 18 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ XStationRotations

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

Definition at line 83 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ YModuleShifts

const 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 36 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ YModuleSize_Station10x10

const Double_t YModuleSize_Station10x10 = 10.0

Definition at line 120 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ YModuleSize_Station163x39

const Double_t YModuleSize_Station163x39 = 39.0

Definition at line 109 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ YModuleSize_Station163x45

const Double_t YModuleSize_Station163x45 = 45.0

Definition at line 98 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ YModuleSize_Station66x41

const Double_t YModuleSize_Station66x41 = 41.0

Definition at line 88 of file create_rootgeom_GEMS_Run8_detailed.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 20 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ YStationRotations

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

Definition at line 79 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ ZGEMSize_Station163x39

const Double_t ZGEMSize_Station163x39 = 4.1

Definition at line 111 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ ZGEMSize_Station163x45

const Double_t ZGEMSize_Station163x45 = 4.1

◆ ZModuleShifts

const 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 46 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ ZModuleSize_Station10x10

const Double_t ZModuleSize_Station10x10 = 0.9

Definition at line 121 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ ZModuleSize_Station163x39

const Double_t ZModuleSize_Station163x39 = 0.9

Definition at line 110 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ ZModuleSize_Station163x45

const Double_t ZModuleSize_Station163x45 = 0.9

Definition at line 99 of file create_rootgeom_GEMS_Run8_detailed.C.

◆ ZModuleSize_Station66x41

const Double_t ZModuleSize_Station66x41 = 0.9

Definition at line 89 of file create_rootgeom_GEMS_Run8_detailed.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 22 of file create_rootgeom_GEMS_Run8_detailed.C.