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

Go to the source code of this file.

Functions

TGeoVolume * CreateStation (TString station_name)
TGeoVolume * CreateModule (TString module_name)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void create_rootgeom_CSC_Run8 ()

Variables

const Int_t NStations = 4
const Int_t NMaxModules = 2
const Double_t XStationPositions [NStations]
const Double_t YStationPositions [NStations] = {0.0 , 0.0 , 0.0 , 0.0 }
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 XGasSize = 113.0
const Double_t YGasSize = 54.375
const Double_t ZGasSize = 0.76
const Double_t XSensSize = 112.9
const Double_t YSensSize = 53.25
const Double_t ZSensSize = 0.76
TGeoManager * gGeoMan = NULL
TGeoMedium * pMedAir = 0
TGeoMedium * pMedCarbon = 0
TGeoMedium * pMedFiberGlass = 0
TGeoMedium * pMedCopper = 0
TGeoMedium * pMedArCO27030 = 0
TGeoMedium * pMedArgonIsobutane7525 = 0
TGeoMedium * pMedRohacell = 0

Function Documentation

◆ create_rootgeom_CSC_Run8()

◆ CreateModule()

TGeoVolume * CreateModule ( TString module_name)

Definition at line 229 of file create_rootgeom_CSC_Run8.C.

References TGeoVolume::AddNode(), TColor::GetColor(), pMedArgonIsobutane7525, TGeoCombiTrans::SetDx(), TGeoCombiTrans::SetDy(), TGeoCombiTrans::SetDz(), TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoVolume::SetTransparency(), XGasSize, XSensSize, YGasSize, YSensSize, ZGasSize, and ZSensSize.

Referenced by create_rootgeom_CSC_Run8().

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 220 of file create_rootgeom_CSC_Run8.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_CSC_Run8().

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 80 of file create_rootgeom_CSC_Run8.C.

References pMedAir, pMedArCO27030, pMedArgonIsobutane7525, pMedCarbon, pMedFiberGlass, and pMedRohacell.

Referenced by create_rootgeom_CSC_Run8().

Here is the caller graph for this function:

Variable Documentation

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 63 of file create_rootgeom_CSC_Run8.C.

◆ NMaxModules

const Int_t NMaxModules = 2

Definition at line 17 of file create_rootgeom_CSC_Run8.C.

◆ NStations

const Int_t NStations = 4

Definition at line 16 of file create_rootgeom_CSC_Run8.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 66 of file create_rootgeom_CSC_Run8.C.

◆ pMedArCO27030

TGeoMedium* pMedArCO27030 = 0

Definition at line 70 of file create_rootgeom_CSC_Run8.C.

◆ pMedArgonIsobutane7525

TGeoMedium* pMedArgonIsobutane7525 = 0

Definition at line 71 of file create_rootgeom_CSC_Run8.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 67 of file create_rootgeom_CSC_Run8.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 69 of file create_rootgeom_CSC_Run8.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 68 of file create_rootgeom_CSC_Run8.C.

◆ pMedRohacell

TGeoMedium* pMedRohacell = 0

Definition at line 72 of file create_rootgeom_CSC_Run8.C.

◆ XGasSize

const Double_t XGasSize = 113.0

Definition at line 52 of file create_rootgeom_CSC_Run8.C.

◆ XModuleShifts

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

Definition at line 27 of file create_rootgeom_CSC_Run8.C.

◆ XSensSize

const Double_t XSensSize = 112.9

Definition at line 57 of file create_rootgeom_CSC_Run8.C.

◆ XStationPositions

const Double_t XStationPositions[NStations]
Initial value:
= {110.0 , -110.0 , 130.0 ,
-130.0 }

Definition at line 20 of file create_rootgeom_CSC_Run8.C.

◆ YGasSize

const Double_t YGasSize = 54.375

Definition at line 53 of file create_rootgeom_CSC_Run8.C.

◆ YModuleShifts

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

Definition at line 34 of file create_rootgeom_CSC_Run8.C.

◆ YSensSize

const Double_t YSensSize = 53.25

Definition at line 58 of file create_rootgeom_CSC_Run8.C.

◆ YStationPositions

const Double_t YStationPositions[NStations] = {0.0 , 0.0 , 0.0 , 0.0 }

Definition at line 22 of file create_rootgeom_CSC_Run8.C.

◆ ZGasSize

const Double_t ZGasSize = 0.76

Definition at line 54 of file create_rootgeom_CSC_Run8.C.

◆ ZModuleShifts

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

Definition at line 41 of file create_rootgeom_CSC_Run8.C.

◆ ZSensSize

const Double_t ZSensSize = 0.76

Definition at line 59 of file create_rootgeom_CSC_Run8.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations]
Initial value:
= {410.0 , 410.0 , 470.0 ,
470.0 }

Definition at line 23 of file create_rootgeom_CSC_Run8.C.