BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_GEMS_Run8.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 ()

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 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()

◆ 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().

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 461 of file create_rootgeom_GEMS_Run8.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().

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 365 of file create_rootgeom_GEMS_Run8.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 597 of file create_rootgeom_GEMS_Run8.C.

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

Referenced by create_rootgeom_GEMS_Run8().

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 523 of file create_rootgeom_GEMS_Run8.C.

References CreateModule_Station163x45().

Referenced by create_rootgeom_GEMS_Run8().

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 419 of file create_rootgeom_GEMS_Run8.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(), 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 343 of file create_rootgeom_GEMS_Run8.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 334 of file create_rootgeom_GEMS_Run8.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_GEMS_Run8().

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 140 of file create_rootgeom_GEMS_Run8.C.

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

Referenced by create_rootgeom_GEMS_Run8().

Here is the caller graph for this function:

Variable Documentation

◆ dXFrame_Station10x10

const Double_t dXFrame_Station10x10 = 2.0

◆ dXFrame_Station163x39

const Double_t dXFrame_Station163x39 = 2.0

◆ dXFrame_Station163x45

const Double_t dXFrame_Station163x45 = 2.0

Definition at line 70 of file create_rootgeom_GEMS_Run8.C.

◆ dXFrame_Station66x41

const Double_t dXFrame_Station66x41 = 2.0

Definition at line 60 of file create_rootgeom_GEMS_Run8.C.

◆ dYFrame_Station10x10

const Double_t dYFrame_Station10x10 = 2.0

◆ dYFrame_Station163x39

const Double_t dYFrame_Station163x39 = 2.0

◆ dYFrame_Station163x45

const Double_t dYFrame_Station163x45 = 2.0

Definition at line 71 of file create_rootgeom_GEMS_Run8.C.

◆ dYFrame_Station66x41

const Double_t dYFrame_Station66x41 = 2.0

Definition at line 61 of file create_rootgeom_GEMS_Run8.C.

◆ dZFrame_Station10x10

const Double_t dZFrame_Station10x10 = 4.1

Definition at line 94 of file create_rootgeom_GEMS_Run8.C.

Referenced by create_rootgeom_GEMS_RunWinter2016().

◆ dZFrame_Station163x39

const Double_t dZFrame_Station163x39 = 4.1

◆ dZFrame_Station163x45

const Double_t dZFrame_Station163x45 = 4.1

Definition at line 72 of file create_rootgeom_GEMS_Run8.C.

◆ dZFrame_Station66x41

const Double_t dZFrame_Station66x41 = 4.1

Definition at line 62 of file create_rootgeom_GEMS_Run8.C.

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 98 of file create_rootgeom_GEMS_Run8.C.

◆ NMaxModules

const Int_t NMaxModules = 4

Definition at line 13 of file create_rootgeom_GEMS_Run8.C.

◆ NStations

const Int_t NStations = 8

Definition at line 12 of file create_rootgeom_GEMS_Run8.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 101 of file create_rootgeom_GEMS_Run8.C.

◆ pMedArC4H10_80_20

TGeoMedium* pMedArC4H10_80_20 = 0

Definition at line 106 of file create_rootgeom_GEMS_Run8.C.

◆ pMedArCO27030

TGeoMedium* pMedArCO27030 = 0

Definition at line 105 of file create_rootgeom_GEMS_Run8.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 102 of file create_rootgeom_GEMS_Run8.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 104 of file create_rootgeom_GEMS_Run8.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 103 of file create_rootgeom_GEMS_Run8.C.

◆ 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 24 of file create_rootgeom_GEMS_Run8.C.

◆ XModuleSize_Station10x10

◆ XModuleSize_Station163x39

◆ XModuleSize_Station163x45

const Double_t XModuleSize_Station163x45 = 163.2 * 0.5

Definition at line 66 of file create_rootgeom_GEMS_Run8.C.

◆ XModuleSize_Station66x41

const Double_t XModuleSize_Station66x41 = 66.0

Definition at line 56 of file create_rootgeom_GEMS_Run8.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.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 34 of file create_rootgeom_GEMS_Run8.C.

◆ YModuleSize_Station10x10

◆ YModuleSize_Station163x39

◆ YModuleSize_Station163x45

const Double_t YModuleSize_Station163x45 = 45.0

Definition at line 67 of file create_rootgeom_GEMS_Run8.C.

◆ YModuleSize_Station66x41

const Double_t YModuleSize_Station66x41 = 41.0

Definition at line 57 of file create_rootgeom_GEMS_Run8.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.C.

◆ ZGEMSize_Station10x10

const Double_t ZGEMSize_Station10x10 = 4.1

Definition at line 90 of file create_rootgeom_GEMS_Run8.C.

◆ ZGEMSize_Station163x39

const Double_t ZGEMSize_Station163x39 = 4.1

Definition at line 79 of file create_rootgeom_GEMS_Run8.C.

Referenced by CreateLayersForModule_Station163x39().

◆ 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 44 of file create_rootgeom_GEMS_Run8.C.

◆ ZModuleSize_Station10x10

◆ ZModuleSize_Station163x39

◆ ZModuleSize_Station163x45

const Double_t ZModuleSize_Station163x45 = 0.9

Definition at line 68 of file create_rootgeom_GEMS_Run8.C.

◆ ZModuleSize_Station66x41

const Double_t ZModuleSize_Station66x41 = 0.9

Definition at line 58 of file create_rootgeom_GEMS_Run8.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.C.