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

Go to the source code of this file.

Functions

TGeoVolume * CreateModule_Compensator (TString module_name)
TGeoVolume * CreateModule_Profilometer (TString module_name)
TGeoVolume * CreateModule_SiTracker (TString module_name)
TGeoVolume * CreateModule_Counter (TString module_name)
TGeoVolume * CreateModule_BareBox (TString module_name)
TGeoVolume * CreateModule_Bellows (TString module_name)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void create_rootgeom_VacuumPipe_section1 ()

Variables

const Int_t NModules = 20
const Double_t XModulePositions [NModules]
const Double_t YModulePositions [NModules]
const Double_t ZModulePositions [NModules]
const Double_t ZStationRotations [NModules]
TGeoManager * gGeoMan = NULL
TGeoMedium * pMedVacuum = 0
TGeoMedium * pMedAir = 0
TGeoMedium * pMedCarbon = 0
TGeoMedium * pMedAluminium = 0
TGeoMedium * pMedSteel = 0
TGeoMedium * pMedFiberGlass = 0
TGeoMedium * pMedSilicon = 0

Function Documentation

◆ create_rootgeom_VacuumPipe_section1()

◆ CreateModule_BareBox()

TGeoVolume * CreateModule_BareBox ( TString module_name)

Definition at line 1012 of file create_rootgeom_VacuumPipe_section1.C.

References TGeoVolumeAssembly::AddNode(), TString::Contains(), TColor::GetColor(), pMedSteel, pMedVacuum, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoCombiTrans::SetTranslation(), and TGeoVolume::SetTransparency().

Referenced by create_rootgeom_VacuumPipe_section1().

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

◆ CreateModule_Bellows()

TGeoVolume * CreateModule_Bellows ( TString module_name)

Definition at line 1077 of file create_rootgeom_VacuumPipe_section1.C.

References TGeoVolumeAssembly::AddNode(), TColor::GetColor(), pMedSteel, pMedVacuum, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoCombiTrans::SetTranslation(), and TGeoVolume::SetTransparency().

Referenced by create_rootgeom_VacuumPipe_section1().

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

◆ CreateModule_Compensator()

TGeoVolume * CreateModule_Compensator ( TString module_name)

Definition at line 386 of file create_rootgeom_VacuumPipe_section1.C.

References TGeoVolumeAssembly::AddNode(), TColor::GetColor(), pMedAluminium, pMedVacuum, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoCombiTrans::SetTranslation(), and TGeoVolume::SetTransparency().

Referenced by create_rootgeom_VacuumPipe_section1().

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

◆ CreateModule_Counter()

TGeoVolume * CreateModule_Counter ( TString module_name)

Definition at line 803 of file create_rootgeom_VacuumPipe_section1.C.

References TGeoVolumeAssembly::AddNode(), TGeoCompositeShape::ComputeBBox(), TString::Contains(), TColor::GetColor(), TGeoCompositeShape::MakeNode(), pMedAluminium, pMedSteel, pMedVacuum, TGeoCombiTrans::RegisterYourself(), TGeoCombiTrans::RotateY(), TGeoCombiTrans::RotateZ(), TGeoCombiTrans::SetDx(), TGeoCombiTrans::SetDy(), TGeoCombiTrans::SetDz(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoCombiTrans::SetTranslation(), and TGeoVolume::SetTransparency().

Referenced by create_rootgeom_VacuumPipe_section1().

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

◆ CreateModule_Profilometer()

TGeoVolume * CreateModule_Profilometer ( TString module_name)

Definition at line 487 of file create_rootgeom_VacuumPipe_section1.C.

References TGeoVolumeAssembly::AddNode(), TGeoCompositeShape::ComputeBBox(), TString::Contains(), TColor::GetColor(), TGeoCompositeShape::MakeNode(), pMedAluminium, pMedSteel, pMedVacuum, TGeoCombiTrans::RegisterYourself(), TGeoCombiTrans::RotateY(), TGeoCombiTrans::SetDx(), TGeoCombiTrans::SetDy(), TGeoCombiTrans::SetDz(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoCombiTrans::SetTranslation(), and TGeoVolume::SetTransparency().

Referenced by create_rootgeom_VacuumPipe_section1().

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

◆ CreateModule_SiTracker()

TGeoVolume * CreateModule_SiTracker ( TString module_name)

Definition at line 644 of file create_rootgeom_VacuumPipe_section1.C.

References TGeoVolumeAssembly::AddNode(), TGeoCompositeShape::ComputeBBox(), TString::Contains(), TColor::GetColor(), TGeoCompositeShape::MakeNode(), pMedAluminium, pMedSteel, pMedVacuum, TGeoCombiTrans::RegisterYourself(), TGeoCombiTrans::RotateY(), TGeoCombiTrans::SetDx(), TGeoCombiTrans::SetDy(), TGeoCombiTrans::SetDz(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoCombiTrans::SetTranslation(), and TGeoVolume::SetTransparency().

Referenced by create_rootgeom_VacuumPipe_section1().

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

References pMedAir, pMedAluminium, pMedCarbon, pMedFiberGlass, pMedSilicon, pMedSteel, and pMedVacuum.

Referenced by create_rootgeom_VacuumPipe_section1().

Here is the caller graph for this function:

Variable Documentation

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 119 of file create_rootgeom_VacuumPipe_section1.C.

◆ NModules

const Int_t NModules = 20

Definition at line 19 of file create_rootgeom_VacuumPipe_section1.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 123 of file create_rootgeom_VacuumPipe_section1.C.

◆ pMedAluminium

TGeoMedium* pMedAluminium = 0

Definition at line 125 of file create_rootgeom_VacuumPipe_section1.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 124 of file create_rootgeom_VacuumPipe_section1.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 127 of file create_rootgeom_VacuumPipe_section1.C.

◆ pMedSilicon

TGeoMedium* pMedSilicon = 0

Definition at line 128 of file create_rootgeom_VacuumPipe_section1.C.

◆ pMedSteel

TGeoMedium* pMedSteel = 0

Definition at line 126 of file create_rootgeom_VacuumPipe_section1.C.

◆ pMedVacuum

TGeoMedium* pMedVacuum = 0

Definition at line 122 of file create_rootgeom_VacuumPipe_section1.C.

◆ XModulePositions

const Double_t XModulePositions[NModules]
Initial value:
= {
+0.375,
+0.298,
+0.217,
+0.085,
-0.019,
+0.012,
+0.0,
-0.025,
+0.022,
+0.026,
+0.0,
+0.169,
+0.115,
+0.0,
+0.102,
+0.122,
+0.028,
+0.005,
+0.009,
+0.0
}

Definition at line 22 of file create_rootgeom_VacuumPipe_section1.C.

◆ YModulePositions

const Double_t YModulePositions[NModules]
Initial value:
= {
-0.06,
-0.049,
-0.022,
-0.051,
-0.042,
-0.025,
+0.0,
-0.016,
+0.042,
-0.005,
+0.0,
+0.003,
-0.001,
+0.0,
-0.1,
-0.052,
-0.023,
-0.005,
+0.014,
+0.0
}

Definition at line 44 of file create_rootgeom_VacuumPipe_section1.C.

◆ ZModulePositions

const Double_t ZModulePositions[NModules]
Initial value:
= {
-43.298,
-64.077,
-84.378,
-104.004,
-124.018,
-144.139,
-163.632,
-183.225,
-203.19,
-223.33,
-243.218,
-263.11,
-283.427,
-302.645,
-322.184,
-362.235,
-402.357,
-422.322,
-442.335,
-462.0
}

Definition at line 66 of file create_rootgeom_VacuumPipe_section1.C.

◆ ZStationRotations

const Double_t ZStationRotations[NModules]
Initial value:
= {
+0.0,
-0.059,
-59.949,
-0.602,
-89.858,
+0.0,
+0.0,
-29.819,
+0.0,
+0.0,
+0.0,
-0.227,
-0.028,
+0.0,
+0.0,
+0.0,
+0.0,
-89.902,
+0.0,
+0.0
}

Definition at line 93 of file create_rootgeom_VacuumPipe_section1.C.