BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_GEMS_RunSRCSpring2018.C File Reference
#include "TGeoVolume.h"
Include dependency graph for create_rootgeom_GEMS_RunSRCSpring2018.C:

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)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void create_rootgeom_GEMS_RunSRCSpring2018 ()

Variables

const Int_t NStations = 10
const Int_t NMaxModules = 2
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 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 = 2.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 = 3.9
TGeoManager * gGeoMan = NULL
TGeoMedium * pMedAir = 0
TGeoMedium * pMedCarbon = 0
TGeoMedium * pMedFiberGlass = 0
TGeoMedium * pMedCopper = 0
TGeoMedium * pMedArCO27030 = 0

Function Documentation

◆ create_rootgeom_GEMS_RunSRCSpring2018()

◆ CreateFrameForModule_Station163x45()

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

Definition at line 516 of file create_rootgeom_GEMS_RunSRCSpring2018.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_RunSRCSpring2018().

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

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

Referenced by create_rootgeom_GEMS_RunSRCSpring2018().

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

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

Referenced by create_rootgeom_GEMS_RunSRCSpring2018().

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

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

Referenced by create_rootgeom_GEMS_RunSRCSpring2018().

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 393 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_GEMS_RunSRCSpring2018().

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 148 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

References pMedAir, pMedArCO27030, pMedCarbon, and pMedFiberGlass.

Referenced by create_rootgeom_GEMS_RunSRCSpring2018().

Here is the caller graph for this function:

Variable Documentation

◆ dXFrame_Station163x45

const Double_t dXFrame_Station163x45 = 2.0

Definition at line 116 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ dXFrame_Station66x41

const Double_t dXFrame_Station66x41 = 2.0

Definition at line 106 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ dYFrame_Station163x45

const Double_t dYFrame_Station163x45 = 2.0

Definition at line 117 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ dYFrame_Station66x41

const Double_t dYFrame_Station66x41 = 2.0

Definition at line 107 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ dZFrame_Station163x45

const Double_t dZFrame_Station163x45 = 3.9

Definition at line 118 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ dZFrame_Station66x41

const Double_t dZFrame_Station66x41 = 2.1

Definition at line 108 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 122 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ NMaxModules

const Int_t NMaxModules = 2

Definition at line 14 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ NStations

const Int_t NStations = 10

Definition at line 13 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 125 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ pMedArCO27030

TGeoMedium* pMedArCO27030 = 0

Definition at line 129 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 126 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 128 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 127 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]
Initial value:
= {
{0.0},
{0.0},
{0.0},
{0.0},
{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}
}

Definition at line 63 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ XModuleSize_Station163x45

const Double_t XModuleSize_Station163x45 = 163.2 * 0.5

Definition at line 112 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ XModuleSize_Station66x41

const Double_t XModuleSize_Station66x41 = 66.0

Definition at line 102 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ XStationPositions

const Double_t XStationPositions[NStations]
Initial value:
= {
+117.22007,
+117.27807,
-117.51723,
-115.31016,
+1.0055,
+1.4715,
+2.1145,
+2.9225,
+3.6775,
+4.5025
}

Definition at line 24 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ YModuleShifts

const Double_t YModuleShifts[NStations][NMaxModules]
Initial value:
= {
{0.0},
{0.0},
{0.0},
{0.0},
{0.0, 0.0},
{0.0, 0.0},
{0.0, 0.0},
{0.0, 0.0},
{0.0, 0.0},
{0.0, 0.0}
}

Definition at line 75 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ YModuleSize_Station163x45

const Double_t YModuleSize_Station163x45 = 45.0

Definition at line 113 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ YModuleSize_Station66x41

const Double_t YModuleSize_Station66x41 = 41.0

Definition at line 103 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ YStationPositions

const Double_t YStationPositions[NStations]
Initial value:
= {
+16.86775,
-25.90225,
+16.86775,
-25.76025,
+7.97675,
+7.96375,
+7.64975,
+7.74575,
+8.02675,
+7.95175
}

Definition at line 36 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ ZModuleShifts

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

Definition at line 87 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ ZModuleSize_Station163x45

const Double_t ZModuleSize_Station163x45 = 0.9

Definition at line 114 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ ZModuleSize_Station66x41

const Double_t ZModuleSize_Station66x41 = 0.9

Definition at line 104 of file create_rootgeom_GEMS_RunSRCSpring2018.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations]
Initial value:
= {
-444.86679,
-447.56632,
-444.91641,
-446.26916,
+64.754,
+87.854,
+112.967,
+135.988,
+160.845,
+183.712
}

Definition at line 48 of file create_rootgeom_GEMS_RunSRCSpring2018.C.