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

Go to the source code of this file.

Enumerations

enum  ModuleType { RIGHT_ANGLED_MODULE , BEVEL_MODULE , RIGHT_ANGLED_MODULE_HALF , BEVEL_MODULE_HALF }
enum  ModuleSize { STANDARD_MODULE , LONG_MODULE }

Functions

TGeoVolume * CreateStation (TString station_name)
TGeoVolume * CreateModule (TString module_name, ModuleType module_type, ModuleSize module_size)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void PrintInfoAboutModuleParameters ()
void PrintInformationAboutStations ()
void create_rootgeom_Silicon_Run8_4stations ()

Variables

const Int_t NStations = 4
const Int_t NMaxModules = 22
const Int_t NModulesInStations [NStations] = {10, 14, 18, 22}
const Double_t XStationPositions [NStations] = {0.0, 0.0, 0.0}
const Double_t YStationPositions [NStations] = {0.0, 0.0, 0.0}
const Double_t ZStationPositions [NStations] = {+15.7, +15.7 + 8.64, +15.7 + 8.64 + 8.64, +15.7 + 8.64 + 8.64 + 8.64}
const Double_t XModuleShifts [NStations][NMaxModules]
const Double_t YModuleShifts [NStations][NMaxModules]
const Double_t ZModuleShifts [NStations][NMaxModules]
const ModuleType ModulesTypes [NStations][NMaxModules]
const Bool_t ModulesYRotations [NStations][NMaxModules]
const Bool_t ModulesXRotations [NStations][NMaxModules]
TGeoManager * gGeoMan = 0
const unsigned int NModuleSizes = 2
Double_t YGapBetweenPartsOfModule [NModuleSizes] = {0.0035 , 0.0035 }
Double_t XModuleSize [NModuleSizes] = {6.3 , 6.3 }
Double_t YModuleSizeUpperPart [NModuleSizes] = {6.3 , 9.3 }
Double_t YModuleSizeLowerPart [NModuleSizes] = {6.3 , 9.3 }
Double_t YModuleSize [NModuleSizes]
Double_t ZModuleSize [NModuleSizes] = {0.03 , 0.03 }
Double_t XBevelSize [NModuleSizes] = {3.82 , 3.82 }
Double_t YBevelSize [NModuleSizes] = {3.82 , 3.82 }
Double_t BevelAngleRad [NModuleSizes]
Double_t BevelAngleDeg [NModuleSizes]
Double_t XLeftBorder [NModuleSizes] = {0.1145 , 0.1118 }
Double_t XRightBorder [NModuleSizes] = {0.1118 , 0.1118 }
Double_t YTopBorder [NModuleSizes] = {0.1143 , 0.1148 }
Double_t YMiddleBorderUpperPart [NModuleSizes] = {0.1121 , 0.1148 }
Double_t YMiddleBorderLowerPart [NModuleSizes] = {0.1147 , 0.1148 }
Double_t YBottomBorder [NModuleSizes] = {0.1148 , 0.1148 }
Double_t XYBevelBorder [NModuleSizes] = {0.1146 , 0.1146 }
Double_t XSensorZoneSize [NModuleSizes]
Double_t YSensorZoneSizeUpperPart [NModuleSizes]
Double_t YSensorZoneSizeLowerPart [NModuleSizes]
Double_t ZSensorZoneSize [NModuleSizes]
Double_t XModuleFrameSize [NModuleSizes]
Double_t YModuleFrameSize [NModuleSizes]
Double_t ZModuleFrameSize [NModuleSizes] = {0.18 , 0.18 }
Double_t YShiftFromCenterToAxis [NModuleSizes]
Double_t XShiftFromCenterToLocalX0 [NModuleSizes]
Double_t YShiftFromCenterToLocalY0 [NModuleSizes]
TGeoMedium * pMedAir = 0
TGeoMedium * pMedCarbon = 0
TGeoMedium * pMedFiberGlass = 0
TGeoMedium * pMedCopper = 0
TGeoMedium * pMedSilicon = 0

Enumeration Type Documentation

◆ ModuleSize

enum ModuleSize
Enumerator
STANDARD_MODULE 
LONG_MODULE 

Definition at line 137 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ ModuleType

enum ModuleType
Enumerator
RIGHT_ANGLED_MODULE 
BEVEL_MODULE 
RIGHT_ANGLED_MODULE_HALF 
BEVEL_MODULE_HALF 

Definition at line 79 of file create_rootgeom_Silicon_Run8_4stations.C.

Function Documentation

◆ create_rootgeom_Silicon_Run8_4stations()

◆ CreateModule()

◆ CreateStation()

TGeoVolume * CreateStation ( TString station_name)

Definition at line 586 of file create_rootgeom_Silicon_Run8_4stations.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_Silicon_Run8_4stations().

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 286 of file create_rootgeom_Silicon_Run8_4stations.C.

References pMedAir, pMedCarbon, pMedCopper, pMedFiberGlass, and pMedSilicon.

Referenced by create_rootgeom_Silicon_Run8_4stations().

Here is the caller graph for this function:

◆ PrintInfoAboutModuleParameters()

void PrintInfoAboutModuleParameters ( )

◆ PrintInformationAboutStations()

void PrintInformationAboutStations ( )

Definition at line 402 of file create_rootgeom_Silicon_Run8_4stations.C.

References ModulesTypes, ModulesXRotations, ModulesYRotations, NModulesInStations, NStations, XModuleShifts, XStationPositions, YModuleShifts, YStationPositions, ZModuleShifts, and ZStationPositions.

Referenced by create_rootgeom_Silicon_Run8_4stations().

Here is the caller graph for this function:

Variable Documentation

◆ BevelAngleDeg

Double_t BevelAngleDeg[NModuleSizes]
Initial value:

Definition at line 168 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ BevelAngleRad

Double_t BevelAngleRad[NModuleSizes]
Initial value:

Definition at line 163 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ gGeoMan

TGeoManager* gGeoMan = 0

Definition at line 134 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ ModulesTypes

const ModuleType ModulesTypes[NStations][NMaxModules]

◆ ModulesXRotations

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

Definition at line 119 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ ModulesYRotations

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

Definition at line 104 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ NMaxModules

const Int_t NMaxModules = 22

Definition at line 15 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ NModulesInStations

const Int_t NModulesInStations[NStations] = {10, 14, 18, 22}

Definition at line 17 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ NModuleSizes

const unsigned int NModuleSizes = 2

Definition at line 142 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ NStations

const Int_t NStations = 4

Definition at line 14 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ pMedAir

TGeoMedium* pMedAir = 0

Definition at line 273 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

Definition at line 274 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ pMedCopper

TGeoMedium* pMedCopper = 0

Definition at line 276 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

Definition at line 275 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ pMedSilicon

TGeoMedium* pMedSilicon = 0

Definition at line 277 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ XBevelSize

Double_t XBevelSize[NModuleSizes] = {3.82 , 3.82 }

Definition at line 160 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ XLeftBorder

Double_t XLeftBorder[NModuleSizes] = {0.1145 , 0.1118 }

Definition at line 173 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ XModuleFrameSize

Double_t XModuleFrameSize[NModuleSizes]
Initial value:

Definition at line 207 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+15.15 , +9.15 , +3.15 , -9.15 , -15.15 , +15.15 , +9.15 , +3.15 ,
-9.15 , -15.15 },
{+21.15 , +15.15 , +9.15 , +3.15 , -9.15 , -15.15 , -21.15 , +21.15 ,
+15.15 , +9.15 , +3.15 , -9.15 , -15.15 , -21.15 },
{+27.15 , +21.15 , +15.15 , +9.15 , +3.15 , -9.15 , -15.15 , -21.15 ,
-27.15 , +27.15 , +21.15 , +15.15 , +9.15 , +3.15 , -9.15 , -15.15 ,
-21.15 , -27.15 },
{+33.15 , +27.15 , +21.15 , +15.15 , +9.15 , +3.15 ,
-9.15 , -15.15 , -21.15 , -27.15 , -33.15 , +33.15 ,
+27.15 , +21.15 , +15.15 , +9.15 , +3.15 , -9.15 ,
-15.15 , -21.15 , -27.15 , -33.15 }}

Definition at line 34 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ XModuleSize

Double_t XModuleSize[NModuleSizes] = {6.3 , 6.3 }

Definition at line 146 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ XRightBorder

Double_t XRightBorder[NModuleSizes] = {0.1118 , 0.1118 }

Definition at line 174 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ XSensorZoneSize

◆ XShiftFromCenterToLocalX0

Double_t XShiftFromCenterToLocalX0[NModuleSizes]
Initial value:

Definition at line 227 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ XStationPositions

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

Definition at line 21 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ XYBevelBorder

Double_t XYBevelBorder[NModuleSizes] = {0.1146 , 0.1146 }

Definition at line 179 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ YBevelSize

Double_t YBevelSize[NModuleSizes] = {3.82 , 3.82 }

Definition at line 161 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ YBottomBorder

Double_t YBottomBorder[NModuleSizes] = {0.1148 , 0.1148 }

Definition at line 178 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ YGapBetweenPartsOfModule

Double_t YGapBetweenPartsOfModule[NModuleSizes] = {0.0035 , 0.0035 }

Definition at line 144 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ YMiddleBorderLowerPart

Double_t YMiddleBorderLowerPart[NModuleSizes] = {0.1147 , 0.1148 }

Definition at line 177 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ YMiddleBorderUpperPart

Double_t YMiddleBorderUpperPart[NModuleSizes] = {0.1121 , 0.1148 }

Definition at line 176 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ YModuleFrameSize

Double_t YModuleFrameSize[NModuleSizes]
Initial value:

Definition at line 212 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ YModuleShifts

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

Definition at line 46 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ YModuleSize

◆ YModuleSizeLowerPart

Double_t YModuleSizeLowerPart[NModuleSizes] = {6.3 , 9.3 }

Definition at line 149 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ YModuleSizeUpperPart

Double_t YModuleSizeUpperPart[NModuleSizes] = {6.3 , 9.3 }

Definition at line 148 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ YSensorZoneSizeLowerPart

◆ YSensorZoneSizeUpperPart

◆ YShiftFromCenterToAxis

◆ YShiftFromCenterToLocalY0

◆ YStationPositions

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

Definition at line 22 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ YTopBorder

Double_t YTopBorder[NModuleSizes] = {0.1143 , 0.1148 }

Definition at line 175 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ ZModuleFrameSize

Double_t ZModuleFrameSize[NModuleSizes] = {0.18 , 0.18 }

Definition at line 217 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ ZModuleShifts

const Double_t ZModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+1.36 + 4.31 , +0.14 + 4.31 , +1.36 + 4.31 , +0.0 + 4.31 , +1.22 + 4.31 , +0.0 ,
+1.22 , 0.0 , +1.36 , +0.14 },
{+0.14 + 4.31 , +1.36 + 4.31 , +0.14 + 4.31 , +1.36 + 4.31 , +0.0 + 4.31 ,
+1.22 + 4.31 , +0.0 + 4.31 , +1.22 , +0.0 , +1.22 , +0.0 , +1.36 ,
+0.14 , +1.36 },
{+1.36 + 4.31 , +0.14 + 4.31 , +1.36 + 4.31 , +0.14 + 4.31 , +1.36 + 4.31 ,
+0.0 + 4.31 , +1.22 + 4.31 , +0.0 + 4.31 , +1.22 + 4.31 , +0.0 , +1.22 ,
+0.0 , +1.22 , +0.0 , +1.36 , +0.14 , +1.36 , +0.14 },
{+0.14 + 4.31 , +1.36 + 4.31 ,
+0.14 + 4.31 , +1.36 + 4.31 ,
+0.14 + 4.31 , +1.36 + 4.31 ,
+0.0 + 4.31 , +1.22 + 4.31 ,
+0.0 + 4.31 , +1.22 + 4.31 ,
+0.0 + 4.31 , +1.22 ,
+0.0 , +1.22 ,
+0.0 , +1.22 ,
+0.0 , +1.36 ,
+0.14 , +1.36 ,
+0.14 , +1.36 }}

Definition at line 57 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ ZModuleSize

Double_t ZModuleSize[NModuleSizes] = {0.03 , 0.03 }

Definition at line 158 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ ZSensorZoneSize

Double_t ZSensorZoneSize[NModuleSizes]
Initial value:

Definition at line 200 of file create_rootgeom_Silicon_Run8_4stations.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations] = {+15.7, +15.7 + 8.64, +15.7 + 8.64 + 8.64, +15.7 + 8.64 + 8.64 + 8.64}

Definition at line 24 of file create_rootgeom_Silicon_Run8_4stations.C.