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

Go to the source code of this file.

Enumerations

enum  ModuleType { WHOLE_MOD , HOLED_LEFT_MOD , HOLED_RIGHT_MOD }

Functions

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

Variables

const Int_t NStations = 1
const Int_t NMaxModules = 8
const Double_t XStationPositions [NStations] = {0.0 }
const Double_t YStationPositions [NStations] = {0.0 }
const Double_t ZStationPositions [NStations] = {800.0 }
const Double_t XModuleShifts [NStations][NMaxModules]
const Double_t YModuleShifts [NStations][NMaxModules]
const Double_t ZModuleShifts [NStations][NMaxModules]
const ModuleType ModuleTypes [NStations][NMaxModules]
const Bool_t ModulesYRotations [NStations][NMaxModules]
const Bool_t ModulesXRotations [NStations][NMaxModules]
const Double_t XGasSize = 54.25
const Double_t YGasSize = 73.0
const Double_t ZGasSize = 0.76
const Double_t BeamHole_XSize = 11.125
const Double_t BeamHole_YSize = 11.625
TGeoManager * gGeoMan = NULL
TGeoMedium * pMedAir = 0
TGeoMedium * pMedCarbon = 0
TGeoMedium * pMedFiberGlass = 0
TGeoMedium * pMedCopper = 0
TGeoMedium * pMedArCO27030 = 0
TGeoMedium * pMedArgonIsobutane7525 = 0
TGeoMedium * pMedRohacell = 0

Enumeration Type Documentation

◆ ModuleType

enum ModuleType
Enumerator
WHOLE_MOD 
HOLED_LEFT_MOD 
HOLED_RIGHT_MOD 

Definition at line 40 of file create_rootgeom_LargeCSC_Run8.C.

Function Documentation

◆ create_rootgeom_LargeCSC_Run8()

◆ CreateModule()

TGeoVolume * CreateModule ( TString module_name,
ModuleType module_type )

Definition at line 242 of file create_rootgeom_LargeCSC_Run8.C.

References BeamHole_XSize, BeamHole_YSize, TString::Data(), TColor::GetColor(), pMedArgonIsobutane7525, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoVolume::SetTransparency(), XGasSize, YGasSize, and ZGasSize.

Referenced by create_rootgeom_LargeCSC_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 233 of file create_rootgeom_LargeCSC_Run8.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_LargeCSC_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 90 of file create_rootgeom_LargeCSC_Run8.C.

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

Referenced by create_rootgeom_LargeCSC_Run8().

Here is the caller graph for this function:

Variable Documentation

◆ BeamHole_XSize

const Double_t BeamHole_XSize = 11.125

Definition at line 67 of file create_rootgeom_LargeCSC_Run8.C.

◆ BeamHole_YSize

const Double_t BeamHole_YSize = 11.625

Definition at line 68 of file create_rootgeom_LargeCSC_Run8.C.

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 73 of file create_rootgeom_LargeCSC_Run8.C.

◆ ModulesXRotations

const Bool_t ModulesXRotations[NStations][NMaxModules]
Initial value:
= {
{false , false , false , false , true , true , true , true }
}

Definition at line 56 of file create_rootgeom_LargeCSC_Run8.C.

◆ ModulesYRotations

const Bool_t ModulesYRotations[NStations][NMaxModules]
Initial value:
= {
{false , false , false , false , true , true , true , true }
}

Definition at line 52 of file create_rootgeom_LargeCSC_Run8.C.

◆ ModuleTypes

const ModuleType ModuleTypes[NStations][NMaxModules]
Initial value:

Definition at line 47 of file create_rootgeom_LargeCSC_Run8.C.

◆ NMaxModules

const Int_t NMaxModules = 8

Definition at line 17 of file create_rootgeom_LargeCSC_Run8.C.

◆ NStations

const Int_t NStations = 1

Definition at line 16 of file create_rootgeom_LargeCSC_Run8.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 76 of file create_rootgeom_LargeCSC_Run8.C.

◆ pMedArCO27030

TGeoMedium* pMedArCO27030 = 0

Definition at line 80 of file create_rootgeom_LargeCSC_Run8.C.

◆ pMedArgonIsobutane7525

TGeoMedium* pMedArgonIsobutane7525 = 0

Definition at line 81 of file create_rootgeom_LargeCSC_Run8.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 77 of file create_rootgeom_LargeCSC_Run8.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 79 of file create_rootgeom_LargeCSC_Run8.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 78 of file create_rootgeom_LargeCSC_Run8.C.

◆ pMedRohacell

TGeoMedium* pMedRohacell = 0

Definition at line 82 of file create_rootgeom_LargeCSC_Run8.C.

◆ XGasSize

const Double_t XGasSize = 54.25

Definition at line 63 of file create_rootgeom_LargeCSC_Run8.C.

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+81.375 , +27.125 , -27.125 , -81.375 , +81.375 , +27.125 , -27.125 ,
-81.375 }
}

Definition at line 25 of file create_rootgeom_LargeCSC_Run8.C.

◆ XStationPositions

const Double_t XStationPositions[NStations] = {0.0 }

Definition at line 20 of file create_rootgeom_LargeCSC_Run8.C.

◆ YGasSize

const Double_t YGasSize = 73.0

Definition at line 64 of file create_rootgeom_LargeCSC_Run8.C.

◆ YModuleShifts

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

Definition at line 30 of file create_rootgeom_LargeCSC_Run8.C.

◆ YStationPositions

const Double_t YStationPositions[NStations] = {0.0 }

Definition at line 21 of file create_rootgeom_LargeCSC_Run8.C.

◆ ZGasSize

const Double_t ZGasSize = 0.76

Definition at line 65 of file create_rootgeom_LargeCSC_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 35 of file create_rootgeom_LargeCSC_Run8.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations] = {800.0 }

Definition at line 22 of file create_rootgeom_LargeCSC_Run8.C.