BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_CSC_RunSpring2018.C File Reference
#include "TGeoMatrix.h"
#include "TGeoVolume.h"
#include "TString.h"
Include dependency graph for create_rootgeom_CSC_RunSpring2018.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_RunSpring2018 ()

Variables

const Int_t NStations = 1
const Int_t NMaxModules = 2
const Double_t XStationPositions [NStations] = {110.1895}
const Double_t YStationPositions [NStations] = {2.21575}
const Double_t ZStationPositions [NStations] = {411.57}
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
const Double_t dXFrameSize = 4.5
const Double_t dYFrameSize = 4.5
const Double_t dZFrameSize = 3.26
const Double_t dZFiberglassPanel = 0.1
const Double_t dZHoneycombPanel = 1.05
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_RunSpring2018()

◆ CreateModule()

TGeoVolume * CreateModule ( TString module_name)

Definition at line 225 of file create_rootgeom_CSC_RunSpring2018.C.

References TGeoVolume::AddNode(), dXFrameSize, dYFrameSize, dZFiberglassPanel, dZHoneycombPanel, TColor::GetColor(), pMedAir, pMedArgonIsobutane7525, pMedFiberGlass, pMedRohacell, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TGeoVolume::SetTransparency(), XGasSize, XSensSize, YGasSize, YSensSize, ZGasSize, and ZSensSize.

Referenced by create_rootgeom_CSC_RunSpring2018().

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 216 of file create_rootgeom_CSC_RunSpring2018.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_CSC_RunSpring2018().

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 74 of file create_rootgeom_CSC_RunSpring2018.C.

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

Referenced by create_rootgeom_CSC_RunSpring2018().

Here is the caller graph for this function:

Variable Documentation

◆ dXFrameSize

const Double_t dXFrameSize = 4.5

Definition at line 46 of file create_rootgeom_CSC_RunSpring2018.C.

◆ dYFrameSize

const Double_t dYFrameSize = 4.5

Definition at line 47 of file create_rootgeom_CSC_RunSpring2018.C.

◆ dZFiberglassPanel

const Double_t dZFiberglassPanel = 0.1

Definition at line 51 of file create_rootgeom_CSC_RunSpring2018.C.

◆ dZFrameSize

const Double_t dZFrameSize = 3.26

Definition at line 48 of file create_rootgeom_CSC_RunSpring2018.C.

◆ dZHoneycombPanel

const Double_t dZHoneycombPanel = 1.05

Definition at line 52 of file create_rootgeom_CSC_RunSpring2018.C.

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 57 of file create_rootgeom_CSC_RunSpring2018.C.

◆ NMaxModules

const Int_t NMaxModules = 2

Definition at line 18 of file create_rootgeom_CSC_RunSpring2018.C.

◆ NStations

const Int_t NStations = 1

Definition at line 17 of file create_rootgeom_CSC_RunSpring2018.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 60 of file create_rootgeom_CSC_RunSpring2018.C.

◆ pMedArCO27030

TGeoMedium* pMedArCO27030 = 0

Definition at line 64 of file create_rootgeom_CSC_RunSpring2018.C.

◆ pMedArgonIsobutane7525

TGeoMedium* pMedArgonIsobutane7525 = 0

Definition at line 65 of file create_rootgeom_CSC_RunSpring2018.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 61 of file create_rootgeom_CSC_RunSpring2018.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 63 of file create_rootgeom_CSC_RunSpring2018.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 62 of file create_rootgeom_CSC_RunSpring2018.C.

◆ pMedRohacell

TGeoMedium* pMedRohacell = 0

Definition at line 66 of file create_rootgeom_CSC_RunSpring2018.C.

◆ XGasSize

const Double_t XGasSize = 113.0

Definition at line 36 of file create_rootgeom_CSC_RunSpring2018.C.

◆ XModuleShifts

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

Definition at line 26 of file create_rootgeom_CSC_RunSpring2018.C.

◆ XSensSize

const Double_t XSensSize = 112.9

Definition at line 41 of file create_rootgeom_CSC_RunSpring2018.C.

◆ XStationPositions

const Double_t XStationPositions[NStations] = {110.1895}

Definition at line 21 of file create_rootgeom_CSC_RunSpring2018.C.

◆ YGasSize

const Double_t YGasSize = 54.375

Definition at line 37 of file create_rootgeom_CSC_RunSpring2018.C.

◆ YModuleShifts

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

Definition at line 28 of file create_rootgeom_CSC_RunSpring2018.C.

◆ YSensSize

const Double_t YSensSize = 53.25

Definition at line 42 of file create_rootgeom_CSC_RunSpring2018.C.

◆ YStationPositions

const Double_t YStationPositions[NStations] = {2.21575}

Definition at line 22 of file create_rootgeom_CSC_RunSpring2018.C.

◆ ZGasSize

const Double_t ZGasSize = 0.76

Definition at line 38 of file create_rootgeom_CSC_RunSpring2018.C.

◆ ZModuleShifts

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

Definition at line 30 of file create_rootgeom_CSC_RunSpring2018.C.

◆ ZSensSize

const Double_t ZSensSize = 0.76

Definition at line 43 of file create_rootgeom_CSC_RunSpring2018.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations] = {411.57}

Definition at line 23 of file create_rootgeom_CSC_RunSpring2018.C.