BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_CSC_Run9_detailed.C File Reference

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 * CreateSmallModule (TString module_name)
TGeoVolume * CreateFrameForSmallModule (TString frame_name)
TGeoVolume * CreateLargeModule (TString module_name, ModuleType module_type)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void create_rootgeom_CSC_Run9_detailed ()

Variables

const Int_t NStations = 6
const Int_t NMaxModules = 8
const Double_t XStationPositions [NStations]
const Double_t YStationPositions [NStations]
const Double_t ZStationPositions [NStations]
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_small = 113.0
const Double_t YGasSize_small = 54.375
const Double_t ZGasSize_small = 0.76
const Double_t XSensSize_small = 112.9
const Double_t YSensSize_small = 53.25
const Double_t ZSensSize_small = 0.76
const Double_t XGasSize_large = 54.25
const Double_t YGasSize_large = 73.0
const Double_t ZGasSize_large = 0.6
const Double_t BeamHole_XSize_large = 11.125
const Double_t BeamHole_YSize_large = 11.625
TGeoManager * gGeoMan = NULL
TGeoMedium * pMedAir = 0
TGeoMedium * pMedCarbon = 0
TGeoMedium * pMedFiberGlass = 0
TGeoMedium * pMedCopper = 0
TGeoMedium * pMedArCO27030 = 0
TGeoMedium * pMedArgonIsobutane7525 = 0
TGeoMedium * pMedHoneyComb = 0
TGeoMedium * pMedEpoxideCompound = 0
TGeoMedium * pMedBrass = 0
TGeoMedium * pMedTeflon = 0

Enumeration Type Documentation

◆ ModuleType

enum ModuleType
Enumerator
WHOLE_MOD 
HOLED_LEFT_MOD 
HOLED_RIGHT_MOD 

Definition at line 86 of file create_rootgeom_CSC_Run9_detailed.C.

Function Documentation

◆ create_rootgeom_CSC_Run9_detailed()

◆ CreateFrameForSmallModule()

TGeoVolume * CreateFrameForSmallModule ( TString frame_name)

◆ CreateLargeModule()

TGeoVolume * CreateLargeModule ( TString module_name,
ModuleType module_type )

Definition at line 1085 of file create_rootgeom_CSC_Run9_detailed.C.

References BeamHole_XSize_large, BeamHole_YSize_large, TString::Data(), TColor::GetColor(), pMedArgonIsobutane7525, TGeoVolume::SetLineColor(), TGeoVolume::SetMedium(), TNamed::SetName(), TGeoVolume::SetTransparency(), XGasSize_large, YGasSize_large, and ZGasSize_large.

Referenced by create_rootgeom_CSC_Run9_detailed().

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

◆ CreateSmallModule()

TGeoVolume * CreateSmallModule ( TString module_name)

◆ CreateStation()

TGeoVolume * CreateStation ( TString station_name)

Definition at line 379 of file create_rootgeom_CSC_Run9_detailed.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_CSC_Run9_detailed().

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 173 of file create_rootgeom_CSC_Run9_detailed.C.

References pMedAir, pMedArCO27030, pMedArgonIsobutane7525, pMedBrass, pMedCarbon, pMedEpoxideCompound, pMedFiberGlass, pMedHoneyComb, and pMedTeflon.

Referenced by create_rootgeom_CSC_Run9_detailed().

Here is the caller graph for this function:

Variable Documentation

◆ BeamHole_XSize_large

const Double_t BeamHole_XSize_large = 11.125

Definition at line 145 of file create_rootgeom_CSC_Run9_detailed.C.

Referenced by CreateLargeModule().

◆ BeamHole_YSize_large

const Double_t BeamHole_YSize_large = 11.625

Definition at line 146 of file create_rootgeom_CSC_Run9_detailed.C.

Referenced by CreateLargeModule().

◆ gGeoMan

TGeoManager* gGeoMan = NULL

Definition at line 150 of file create_rootgeom_CSC_Run9_detailed.C.

◆ ModulesXRotations

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

Definition at line 117 of file create_rootgeom_CSC_Run9_detailed.C.

◆ ModulesYRotations

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

Definition at line 106 of file create_rootgeom_CSC_Run9_detailed.C.

◆ ModuleTypes

◆ NMaxModules

const Int_t NMaxModules = 8

Definition at line 14 of file create_rootgeom_CSC_Run9_detailed.C.

◆ NStations

const Int_t NStations = 6

Definition at line 13 of file create_rootgeom_CSC_Run9_detailed.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 153 of file create_rootgeom_CSC_Run9_detailed.C.

◆ pMedArCO27030

TGeoMedium* pMedArCO27030 = 0

Definition at line 157 of file create_rootgeom_CSC_Run9_detailed.C.

◆ pMedArgonIsobutane7525

TGeoMedium* pMedArgonIsobutane7525 = 0

Definition at line 158 of file create_rootgeom_CSC_Run9_detailed.C.

◆ pMedBrass

TGeoMedium* pMedBrass = 0

Definition at line 161 of file create_rootgeom_CSC_Run9_detailed.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 154 of file create_rootgeom_CSC_Run9_detailed.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 156 of file create_rootgeom_CSC_Run9_detailed.C.

◆ pMedEpoxideCompound

TGeoMedium* pMedEpoxideCompound = 0

Definition at line 160 of file create_rootgeom_CSC_Run9_detailed.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 155 of file create_rootgeom_CSC_Run9_detailed.C.

◆ pMedHoneyComb

TGeoMedium* pMedHoneyComb = 0

Definition at line 159 of file create_rootgeom_CSC_Run9_detailed.C.

◆ pMedTeflon

TGeoMedium* pMedTeflon = 0

Definition at line 162 of file create_rootgeom_CSC_Run9_detailed.C.

◆ XGasSize_large

const Double_t XGasSize_large = 54.25

Definition at line 141 of file create_rootgeom_CSC_Run9_detailed.C.

Referenced by CreateLargeModule().

◆ XGasSize_small

const Double_t XGasSize_small = 113.0

◆ 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},
{+81.375 , +27.125 , -27.125 , -81.375 , +81.375 , +27.125 , -27.125 ,
-81.375 },
{+81.375 , +27.125 , -27.125 , -81.375 , +81.375 , +27.125 , -27.125 ,
-81.375 }
}

Definition at line 50 of file create_rootgeom_CSC_Run9_detailed.C.

◆ XSensSize_small

const Double_t XSensSize_small = 112.9

Definition at line 136 of file create_rootgeom_CSC_Run9_detailed.C.

Referenced by CreateSmallModule().

◆ XStationPositions

const Double_t XStationPositions[NStations]
Initial value:
= {
+130.688,
-89.761,
+196.159,
-144.430,
+27.126,
+30.503
}

Definition at line 17 of file create_rootgeom_CSC_Run9_detailed.C.

◆ YGasSize_large

const Double_t YGasSize_large = 73.0

Definition at line 142 of file create_rootgeom_CSC_Run9_detailed.C.

Referenced by CreateLargeModule().

◆ YGasSize_small

const Double_t YGasSize_small = 54.375

◆ 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},
{+36.5 , +36.5 , +36.5 , +36.5 , -36.5 , -36.5 , -36.5 , -36.5 },
{+36.5 , +36.5 , +36.5 , +36.5 , -36.5 , -36.5 , -36.5 , -36.5 }
}

Definition at line 63 of file create_rootgeom_CSC_Run9_detailed.C.

◆ YSensSize_small

const Double_t YSensSize_small = 53.25

Definition at line 137 of file create_rootgeom_CSC_Run9_detailed.C.

Referenced by CreateSmallModule().

◆ YStationPositions

const Double_t YStationPositions[NStations]
Initial value:
= {
+8.571,
+8.530,
-0.025,
-0.087,
-0.032,
-0.046
}

Definition at line 28 of file create_rootgeom_CSC_Run9_detailed.C.

◆ ZGasSize_large

◆ ZGasSize_small

◆ 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},
{2.5 , 2.5 , 2.5 , 2.5 , 2.5 , 2.5 , 2.5 , 2.5 },
{2.5 , 2.5 , 2.5 , 2.5 , 2.5 , 2.5 , 2.5 , 2.5 }
}

Definition at line 74 of file create_rootgeom_CSC_Run9_detailed.C.

◆ ZSensSize_small

const Double_t ZSensSize_small = 0.76

Definition at line 138 of file create_rootgeom_CSC_Run9_detailed.C.

Referenced by CreateSmallModule().

◆ ZStationPositions

const Double_t ZStationPositions[NStations]
Initial value:
= {
+399.250,
+399.246,
+471.557,
+471.589,
+491.4198,
+536.7465
}

Definition at line 39 of file create_rootgeom_CSC_Run9_detailed.C.