BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_Silicon_Run8_4stations_detailed.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)
TGeoVolume * CreateModuleFrame (TString module_name, ModuleType module_type, ModuleSize module_size)
TGeoVolume * CreateFrameForStation_StandardModule (TString frame_name, Int_t current_station_num)
TGeoVolume * CreateFrameForStation_LongModule (TString frame_name, Int_t current_station_num)
void DefineRequiredMedia (FairGeoMedia *geoMedia, FairGeoBuilder *geoBuild)
void PrintInfoAboutModuleParameters ()
void PrintInformationAboutStations ()
void create_rootgeom_Silicon_Run8_4stations_detailed ()

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
TGeoMedium * pMedAluminium = 0
TGeoMedium * pMedPolystyrene = 0

Enumeration Type Documentation

◆ ModuleSize

enum ModuleSize
Enumerator
STANDARD_MODULE 
LONG_MODULE 

Definition at line 135 of file create_rootgeom_Silicon_Run8_4stations_detailed.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_detailed.C.

Function Documentation

◆ create_rootgeom_Silicon_Run8_4stations_detailed()

◆ CreateFrameForStation_LongModule()

TGeoVolume * CreateFrameForStation_LongModule ( TString frame_name,
Int_t current_station_num )

◆ CreateFrameForStation_StandardModule()

TGeoVolume * CreateFrameForStation_StandardModule ( TString frame_name,
Int_t current_station_num )

◆ CreateModule()

◆ CreateModuleFrame()

◆ CreateStation()

TGeoVolume * CreateStation ( TString station_name)

Definition at line 643 of file create_rootgeom_Silicon_Run8_4stations_detailed.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_Silicon_Run8_4stations_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 291 of file create_rootgeom_Silicon_Run8_4stations_detailed.C.

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

Referenced by create_rootgeom_Silicon_Run8_4stations_detailed().

Here is the caller graph for this function:

◆ PrintInfoAboutModuleParameters()

◆ PrintInformationAboutStations()

void PrintInformationAboutStations ( )

Definition at line 425 of file create_rootgeom_Silicon_Run8_4stations_detailed.C.

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

Referenced by create_rootgeom_Silicon_Run8_4stations_detailed().

Here is the caller graph for this function:

Variable Documentation

◆ BevelAngleDeg

◆ BevelAngleRad

◆ gGeoMan

TGeoManager* gGeoMan = 0

◆ 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_detailed.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_detailed.C.

◆ NMaxModules

const Int_t NMaxModules = 22

◆ NModulesInStations

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

◆ NModuleSizes

const unsigned int NModuleSizes = 2

◆ NStations

const Int_t NStations = 4

◆ pMedAir

TGeoMedium* pMedAir = 0

◆ pMedAluminium

TGeoMedium* pMedAluminium = 0

◆ pMedCarbon

TGeoMedium* pMedCarbon = 0

◆ pMedCopper

TGeoMedium* pMedCopper = 0

◆ pMedFiberGlass

TGeoMedium* pMedFiberGlass = 0

◆ pMedPolystyrene

TGeoMedium* pMedPolystyrene = 0

◆ pMedSilicon

TGeoMedium* pMedSilicon = 0

◆ XBevelSize

Double_t XBevelSize[NModuleSizes] = {3.82 , 3.82 }

◆ XLeftBorder

Double_t XLeftBorder[NModuleSizes] = {0.1145 , 0.1118 }

◆ XModuleFrameSize

Double_t XModuleFrameSize[NModuleSizes]

◆ 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_detailed.C.

◆ XModuleSize

Double_t XModuleSize[NModuleSizes] = {6.3 , 6.3 }

◆ XRightBorder

Double_t XRightBorder[NModuleSizes] = {0.1118 , 0.1118 }

◆ XSensorZoneSize

◆ XShiftFromCenterToLocalX0

Double_t XShiftFromCenterToLocalX0[NModuleSizes]
Initial value:

Definition at line 225 of file create_rootgeom_Silicon_Run8_4stations_detailed.C.

◆ XStationPositions

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

◆ XYBevelBorder

Double_t XYBevelBorder[NModuleSizes] = {0.1146 , 0.1146 }

◆ YBevelSize

Double_t YBevelSize[NModuleSizes] = {3.82 , 3.82 }

◆ YBottomBorder

Double_t YBottomBorder[NModuleSizes] = {0.1148 , 0.1148 }

◆ YGapBetweenPartsOfModule

Double_t YGapBetweenPartsOfModule[NModuleSizes] = {0.0035 , 0.0035 }

◆ YMiddleBorderLowerPart

Double_t YMiddleBorderLowerPart[NModuleSizes] = {0.1147 , 0.1148 }

◆ YMiddleBorderUpperPart

Double_t YMiddleBorderUpperPart[NModuleSizes] = {0.1121 , 0.1148 }

◆ YModuleFrameSize

Double_t YModuleFrameSize[NModuleSizes]

◆ 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_detailed.C.

◆ YModuleSize

◆ YModuleSizeLowerPart

Double_t YModuleSizeLowerPart[NModuleSizes] = {6.3 , 9.3 }

◆ YModuleSizeUpperPart

Double_t YModuleSizeUpperPart[NModuleSizes] = {6.3 , 9.3 }

◆ YSensorZoneSizeLowerPart

◆ YSensorZoneSizeUpperPart

◆ YShiftFromCenterToAxis

◆ YShiftFromCenterToLocalY0

◆ YStationPositions

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

◆ YTopBorder

Double_t YTopBorder[NModuleSizes] = {0.1143 , 0.1148 }

◆ ZModuleFrameSize

Double_t ZModuleFrameSize[NModuleSizes] = {0.18 , 0.18 }

◆ 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_detailed.C.

◆ ZModuleSize

Double_t ZModuleSize[NModuleSizes] = {0.03 , 0.03 }

◆ ZSensorZoneSize

Double_t ZSensorZoneSize[NModuleSizes]

◆ 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}