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

Go to the source code of this file.

Functions

TGeoVolume * CreateStation (TString station_name)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void create_rootgeom_BC_Triggers ()

Variables

const Int_t NStations = 4
const Double_t Zshift = -647.5
const Double_t Xshift = 0.5
const Double_t Yshift = -4.7
const Double_t StationPositions [NStations][3]
const Double_t StationLength [NStations][3]
const Double_t Rotation [NStations][3]
TGeoManager * gGeoMan = NULL
TGeoMedium * pMedAir = 0
TGeoMedium * pMedBC408 = 0

Function Documentation

◆ create_rootgeom_BC_Triggers()

void create_rootgeom_BC_Triggers ( )

Definition at line 75 of file create_rootgeom_BC_Triggers.C.

References TGeoVolume::AddNode(), TFile::Close(), DefineRequiredMedia(), TGeoVolume::Draw(), gGeoMan, pMedAir, pMedBC408, Rotation, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoVolume::SetTransparency(), TGeoVolume::SetVisContainers(), StationLength, StationPositions, and TObject::Write().

Here is the call graph for this function:

◆ CreateStation()

TGeoVolume * CreateStation ( TString station_name)

Definition at line 504 of file create_rootgeom_GEMS_RunSpring2018_misAlign.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_GEMS_RunSpring2018_misAlign().

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 54 of file create_rootgeom_BC_Triggers.C.

References pMedAir, and pMedBC408.

Referenced by create_rootgeom_BC_Triggers().

Here is the caller graph for this function:

Variable Documentation

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 43 of file create_rootgeom_BC_Triggers.C.

◆ NStations

const Int_t NStations = 4

Definition at line 12 of file create_rootgeom_BC_Triggers.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 46 of file create_rootgeom_BC_Triggers.C.

◆ pMedBC408

TGeoMedium* pMedBC408 = 0

Definition at line 47 of file create_rootgeom_BC_Triggers.C.

◆ Rotation

const Double_t Rotation[NStations][3]
Initial value:
= {
{0.0, 0.0, 0.0},
{90.0, 45.0, 0.0},
{0.0, 0.0, 0.0},
{0.0, 0.0, 0.0}
}

Definition at line 35 of file create_rootgeom_BC_Triggers.C.

◆ StationLength

const Double_t StationLength[NStations][3]
Initial value:
= {
{15.000, 15.000, 0.3},
{12.653, 12.653, 0.8},
{8.507, 13.007, 0.5},
{8.402, 8.402, 0.5}
}

Definition at line 27 of file create_rootgeom_BC_Triggers.C.

◆ StationPositions

const Double_t StationPositions[NStations][3]
Initial value:
= {
{-0.0125 + Xshift, -0.3245 + Yshift, -172.0000 + Zshift},
{-0.4735 + Xshift, +3.5355 + Yshift, -85.50000 + Zshift},
{-0.0955 + Xshift, -0.8540 + Yshift, +167.8390 + Zshift},
{+0.0360 + Xshift, Yshift,
+188.5850 + Zshift}
}
const Double_t Zshift
const Double_t Xshift
const Double_t Yshift

Definition at line 18 of file create_rootgeom_BC_Triggers.C.

◆ Xshift

const Double_t Xshift = 0.5

Definition at line 14 of file create_rootgeom_BC_Triggers.C.

◆ Yshift

const Double_t Yshift = -4.7

Definition at line 15 of file create_rootgeom_BC_Triggers.C.

◆ Zshift

const Double_t Zshift = -647.5

Definition at line 13 of file create_rootgeom_BC_Triggers.C.