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

Go to the source code of this file.

Functions

TGeoVolume * CreateModule1 (TString module_name)
TGeoVolume * CreateModule2 (TString module_name)
TGeoVolume * CreateModule3 (TString module_name)
TGeoVolume * CreateModule4 (TString module_name)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void create_rootgeom_VacuumPipe_section2 ()

Variables

const Int_t NModules = 4
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_section2()

void create_rootgeom_VacuumPipe_section2 ( )

◆ CreateModule1()

TGeoVolume * CreateModule1 ( TString module_name)

!!

!!

Definition at line 225 of file create_rootgeom_VacuumPipe_section2.C.

References TGeoVolumeAssembly::AddNode(), TGeoCompositeShape::ComputeBBox(), TMath::DegToRad(), TColor::GetColor(), TGeoCompositeShape::MakeNode(), pMedCarbon, pMedVacuum, TGeoCombiTrans::RegisterYourself(), TGeoCombiTrans::RotateY(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoCombiTrans::SetTranslation(), TGeoVolume::SetTransparency(), and TMath::Sin().

Referenced by create_rootgeom_VacuumPipe_section2().

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

◆ CreateModule2()

TGeoVolume * CreateModule2 ( TString module_name)

!!

!!

!!

!!

Definition at line 358 of file create_rootgeom_VacuumPipe_section2.C.

References TGeoVolumeAssembly::AddNode(), TGeoCompositeShape::ComputeBBox(), TMath::DegToRad(), TColor::GetColor(), TGeoCompositeShape::MakeNode(), pMedCarbon, pMedVacuum, TGeoCombiTrans::RegisterYourself(), TGeoCombiTrans::RotateY(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoCombiTrans::SetTranslation(), TGeoVolume::SetTransparency(), and TMath::Sin().

Referenced by create_rootgeom_VacuumPipe_section2().

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

◆ CreateModule3()

TGeoVolume * CreateModule3 ( TString module_name)

Definition at line 453 of file create_rootgeom_VacuumPipe_section2.C.

References TGeoVolumeAssembly::AddNode(), TGeoCompositeShape::ComputeBBox(), TMath::DegToRad(), TColor::GetColor(), TGeoCompositeShape::MakeNode(), pMedCarbon, pMedVacuum, TGeoCombiTrans::RegisterYourself(), TGeoCombiTrans::RotateY(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoCombiTrans::SetTranslation(), TGeoVolume::SetTransparency(), and TMath::Sin().

Referenced by create_rootgeom_VacuumPipe_section2().

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

◆ CreateModule4()

TGeoVolume * CreateModule4 ( TString module_name)

!!

!!

!!

!!

Definition at line 548 of file create_rootgeom_VacuumPipe_section2.C.

References TGeoVolumeAssembly::AddNode(), TGeoCompositeShape::ComputeBBox(), TMath::DegToRad(), TColor::GetColor(), TGeoCompositeShape::MakeNode(), pMedCarbon, pMedVacuum, TGeoCombiTrans::RegisterYourself(), TGeoCombiTrans::RotateY(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoCombiTrans::SetTranslation(), TGeoVolume::SetTransparency(), and TMath::Sin().

Referenced by create_rootgeom_VacuumPipe_section2().

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 71 of file create_rootgeom_VacuumPipe_section2.C.

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

Referenced by create_rootgeom_VacuumPipe_section2().

Here is the caller graph for this function:

Variable Documentation

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 52 of file create_rootgeom_VacuumPipe_section2.C.

◆ NModules

const Int_t NModules = 4

Definition at line 19 of file create_rootgeom_VacuumPipe_section2.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 56 of file create_rootgeom_VacuumPipe_section2.C.

◆ pMedAluminium

TGeoMedium* pMedAluminium = 0

Definition at line 58 of file create_rootgeom_VacuumPipe_section2.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 57 of file create_rootgeom_VacuumPipe_section2.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 60 of file create_rootgeom_VacuumPipe_section2.C.

◆ pMedSilicon

TGeoMedium* pMedSilicon = 0

Definition at line 61 of file create_rootgeom_VacuumPipe_section2.C.

◆ pMedSteel

TGeoMedium* pMedSteel = 0

Definition at line 59 of file create_rootgeom_VacuumPipe_section2.C.

◆ pMedVacuum

TGeoMedium* pMedVacuum = 0

Definition at line 55 of file create_rootgeom_VacuumPipe_section2.C.

◆ XModulePositions

const Double_t XModulePositions[NModules]
Initial value:
= {
+0.372,
+0.372 + 0.65,
+0.372 + 0.65 + 3.14,
+0.372 + 0.65 + 3.14 + 6.97
}

Definition at line 22 of file create_rootgeom_VacuumPipe_section2.C.

◆ YModulePositions

const Double_t YModulePositions[NModules]
Initial value:
= {
-0.079,
-0.079,
-0.079,
-0.079
}

Definition at line 28 of file create_rootgeom_VacuumPipe_section2.C.

◆ ZModulePositions

const Double_t ZModulePositions[NModules]
Initial value:
= {
-34.0,
-34.0 + 82.26,
-34.0 + 82.26 + 101.54 - 1.5 - 0.05,
-34.0 + 82.26 + 101.54 - 1.5 + 125.58 - 1.5 - 0.35
}

Definition at line 34 of file create_rootgeom_VacuumPipe_section2.C.

◆ ZStationRotations

const Double_t ZStationRotations[NModules]
Initial value:
= {
+0.0,
+0.0,
+0.0,
+0.0
}

Definition at line 42 of file create_rootgeom_VacuumPipe_section2.C.