BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_GEMS_RunSRC2021_detailed.C File Reference
#include "TGeoVolume.h"
Include dependency graph for create_rootgeom_GEMS_RunSRC2021_detailed.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 * CreateLayersForModule_Station66x41 (TString layer_name)
TGeoVolume * CreateFrameForModule_Station66x41 (TString frame_name, Double_t dx, Double_t dy, Double_t dz)
TGeoVolume * CreateBasicFrameForModule_Station66x41 (TString frame_name)
TGeoVolume * CreateDetailedFrameForModule_Station66x41 (TString frame_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 * CreateFrameForModule_Station163x45 (TString frame_name, Double_t dx, Double_t dy, Double_t dz, Double_t hole_radius)
TGeoVolume * CreateFrameForHalfPlane_Station163x45 (TString frame_name)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void create_rootgeom_GEMS_RunSRC2021_detailed ()

Variables

const Int_t NStations = 2
const Int_t NMaxModules = 1
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 ZGEMSize_Station66x41 = 2.3
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 ZGEMSize_Station163x45 = 4.1
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
TGeoMedium * pMedAluminium = 0
TGeoMedium * pMedEpoxideCompound = 0
TGeoMedium * pMedGlue = 0
TGeoMedium * pMedBrass = 0
TGeoMedium * pMedSteel = 0
TGeoMedium * pMedHoneyComb = 0
TGeoMedium * pMedPolyamide = 0

Function Documentation

◆ create_rootgeom_GEMS_RunSRC2021_detailed()

◆ CreateBasicFrameForModule_Station66x41()

◆ CreateDetailedFrameForModule_Station66x41()

TGeoVolume * CreateDetailedFrameForModule_Station66x41 ( TString frame_name)

Definition at line 945 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

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

Referenced by create_rootgeom_GEMS_RunSRC2021_detailed().

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

◆ CreateFrameForHalfPlane_Station163x45()

◆ CreateFrameForModule_Station163x45()

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

Definition at line 3364 of file create_rootgeom_GEMS_RunSRC2021_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 658 of file create_rootgeom_GEMS_RunSRC2021_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_Station163x45()

◆ CreateLayersForModule_Station66x41()

TGeoVolume * CreateLayersForModule_Station66x41 ( TString layer_name)

◆ CreateModule_Station163x45()

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

Definition at line 2820 of file create_rootgeom_GEMS_RunSRC2021_detailed.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 360 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

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

Referenced by create_rootgeom_GEMS_RunSRC2021_detailed().

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 351 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_GEMS_RunSRC2021_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 116 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

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

Referenced by create_rootgeom_GEMS_RunSRC2021_detailed().

Here is the caller graph for this function:

Variable Documentation

◆ dXFrame_Station163x45

const Double_t dXFrame_Station163x45 = 2.0

Definition at line 70 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ dXFrame_Station66x41

const Double_t dXFrame_Station66x41 = 2.0

Definition at line 59 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ dYFrame_Station163x45

const Double_t dYFrame_Station163x45 = 2.0

Definition at line 71 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ dYFrame_Station66x41

const Double_t dYFrame_Station66x41 = 2.0

Definition at line 60 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ dZFrame_Station163x45

const Double_t dZFrame_Station163x45 = 3.9

Definition at line 72 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ dZFrame_Station66x41

const Double_t dZFrame_Station66x41 = 2.1

Definition at line 61 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 76 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ NMaxModules

const Int_t NMaxModules = 1

Definition at line 15 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ NStations

const Int_t NStations = 2

Definition at line 14 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 79 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ pMedAluminium

TGeoMedium* pMedAluminium = 0

Definition at line 84 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ pMedArCO27030

TGeoMedium* pMedArCO27030 = 0

Definition at line 83 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ pMedBrass

TGeoMedium* pMedBrass = 0

Definition at line 87 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 80 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 82 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ pMedEpoxideCompound

TGeoMedium* pMedEpoxideCompound = 0

Definition at line 85 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 81 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ pMedGlue

TGeoMedium* pMedGlue = 0

Definition at line 86 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ pMedHoneyComb

TGeoMedium* pMedHoneyComb = 0

Definition at line 89 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ pMedPolyamide

TGeoMedium* pMedPolyamide = 0

Definition at line 90 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ pMedSteel

TGeoMedium* pMedSteel = 0

Definition at line 88 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ XModuleShifts

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

Definition at line 33 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ XModuleSize_Station163x45

const Double_t XModuleSize_Station163x45 = 163.2 * 0.5

Definition at line 65 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ XModuleSize_Station66x41

const Double_t XModuleSize_Station66x41 = 66.0

Definition at line 54 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ XStationPositions

const Double_t XStationPositions[NStations]
Initial value:
= {
+57.684 + 0.5055 ,
-57.684 + 0.5055
}

Definition at line 18 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ YModuleShifts

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

Definition at line 37 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ YModuleSize_Station163x45

const Double_t YModuleSize_Station163x45 = 45.0

Definition at line 66 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ YModuleSize_Station66x41

const Double_t YModuleSize_Station66x41 = 41.0

Definition at line 55 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ YStationPositions

const Double_t YStationPositions[NStations]
Initial value:
= {
+0.0 - 4.623,
+0.0 - 4.623
}

Definition at line 22 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ ZGEMSize_Station163x45

const Double_t ZGEMSize_Station163x45 = 4.1

Definition at line 68 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ ZGEMSize_Station66x41

const Double_t ZGEMSize_Station66x41 = 2.3

Definition at line 57 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ ZModuleShifts

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

Definition at line 41 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ ZModuleSize_Station163x45

const Double_t ZModuleSize_Station163x45 = 0.9

Definition at line 67 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ ZModuleSize_Station66x41

const Double_t ZModuleSize_Station66x41 = 0.9

Definition at line 56 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations]
Initial value:
= {
+96.003 - 576.2 ,
+96.003 - 576.2
}

Definition at line 26 of file create_rootgeom_GEMS_RunSRC2021_detailed.C.