BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_GEMS_RunSpring2018.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)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void create_rootgeom_GEMS_RunSpring2018 ()

Variables

const Int_t NStations = 6
const Int_t NMaxModules = 2
const Double_t XStationPositions [NStations] = {+0.5390, +0.7025, +1.9925, +3.0860, +3.7980, +4.5815}
const Double_t YStationPositions [NStations] = {+15.99873, +16.20573, +16.36073, +16.40473, +16.09373, +16.45473}
const Double_t ZStationPositions [NStations] = {+39.702, +64.535, +112.649, +135.330, +160.6635, +183.668}
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 = 5.0
const Double_t dYFrame_Station66x41 = 3.75
const Double_t dZFrame_Station66x41 = 2.3
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_RunSpring2018()

◆ CreateFrameForModule_Station163x45()

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

Definition at line 535 of file create_rootgeom_GEMS_RunSpring2018.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 443 of file create_rootgeom_GEMS_RunSpring2018.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_Station163x45()

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

Definition at line 497 of file create_rootgeom_GEMS_RunSpring2018.C.

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

Here is the call graph for this function:

◆ CreateModule_Station66x41()

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

Definition at line 421 of file create_rootgeom_GEMS_RunSpring2018.C.

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

Here is the call graph for this function:

◆ CreateStation()

TGeoVolume * CreateStation ( TString station_name)

Definition at line 412 of file create_rootgeom_GEMS_RunSpring2018.C.

References pMedAir, and TGeoVolume::SetMedium().

Here is the call graph for this function:

◆ DefineRequiredMedia()

void DefineRequiredMedia ( FairGeoMedia * geoMedia,
FairGeoBuilder * geoBuild )

Variable Documentation

◆ dXFrame_Station163x45

const Double_t dXFrame_Station163x45 = 2.0

Definition at line 42 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ dXFrame_Station66x41

const Double_t dXFrame_Station66x41 = 5.0

Definition at line 32 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ dYFrame_Station163x45

const Double_t dYFrame_Station163x45 = 2.0

Definition at line 43 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ dYFrame_Station66x41

const Double_t dYFrame_Station66x41 = 3.75

Definition at line 33 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ dZFrame_Station163x45

const Double_t dZFrame_Station163x45 = 3.9

Definition at line 44 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ dZFrame_Station66x41

const Double_t dZFrame_Station66x41 = 2.3

Definition at line 34 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 48 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ NMaxModules

const Int_t NMaxModules = 2

Definition at line 11 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ NStations

const Int_t NStations = 6

Definition at line 10 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 51 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ pMedArCO27030

TGeoMedium* pMedArCO27030 = 0

Definition at line 55 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 52 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 54 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 53 of file create_rootgeom_GEMS_RunSpring2018.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}}

Definition at line 19 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ XModuleSize_Station163x45

const Double_t XModuleSize_Station163x45 = 163.2 * 0.5

Definition at line 38 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ XModuleSize_Station66x41

const Double_t XModuleSize_Station66x41 = 66.0

Definition at line 28 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ XStationPositions

const Double_t XStationPositions[NStations] = {+0.5390, +0.7025, +1.9925, +3.0860, +3.7980, +4.5815}

Definition at line 14 of file create_rootgeom_GEMS_RunSpring2018.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}}

Definition at line 22 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ YModuleSize_Station163x45

const Double_t YModuleSize_Station163x45 = 45.0

Definition at line 39 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ YModuleSize_Station66x41

const Double_t YModuleSize_Station66x41 = 41.0

Definition at line 29 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ YStationPositions

const Double_t YStationPositions[NStations] = {+15.99873, +16.20573, +16.36073, +16.40473, +16.09373, +16.45473}

Definition at line 15 of file create_rootgeom_GEMS_RunSpring2018.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}}

Definition at line 24 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ ZModuleSize_Station163x45

const Double_t ZModuleSize_Station163x45 = 0.9

Definition at line 40 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ ZModuleSize_Station66x41

const Double_t ZModuleSize_Station66x41 = 0.9

Definition at line 30 of file create_rootgeom_GEMS_RunSpring2018.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations] = {+39.702, +64.535, +112.649, +135.330, +160.6635, +183.668}

Definition at line 16 of file create_rootgeom_GEMS_RunSpring2018.C.