BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
create_rootgeom_Silicon_Run8_detailed_aligned.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_detailed_aligned ()

Variables

const Int_t NStations = 4
const Int_t NMaxModules = 22
const Int_t NModulesInStations [NStations] = {6, 10, 14, 18}
const Double_t XStationPositions [NStations]
const Double_t YStationPositions [NStations]
const Double_t ZStationPositions [NStations]
const Double_t z_shift_up = +2.68
const Double_t z_shift_low = -0.61
const Double_t z_mod_thick = 0.03
const Double_t x_dist_cent_base [NStations]
const Double_t y_dist_cent_base [NStations]
const Double_t z_shift_hp [NStations]
const Double_t x_shift_hp [NStations]
const Double_t y_shift_hp [NStations]
Double_t XModuleShifts [NStations][NMaxModules]
Double_t YModuleShifts [NStations][NMaxModules]
Double_t ZModuleShifts [NStations][NMaxModules]
const Double_t XAlignmentCorrections [NStations][NMaxModules]
const Double_t YAlignmentCorrections [NStations][NMaxModules]
const Double_t ZAlignmentCorrections [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] = {z_mod_thick , z_mod_thick }
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 248 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ ModuleType

enum ModuleType
Enumerator
RIGHT_ANGLED_MODULE 
BEVEL_MODULE 
RIGHT_ANGLED_MODULE_HALF 
BEVEL_MODULE_HALF 

Definition at line 188 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

Function Documentation

◆ create_rootgeom_Silicon_Run8_detailed_aligned()

◆ 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 772 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

References pMedAir, and TGeoVolume::SetMedium().

Referenced by create_rootgeom_Silicon_Run8_detailed_aligned().

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 403 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

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

Referenced by create_rootgeom_Silicon_Run8_detailed_aligned().

Here is the caller graph for this function:

◆ PrintInfoAboutModuleParameters()

◆ PrintInformationAboutStations()

void PrintInformationAboutStations ( )

Definition at line 537 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

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

Referenced by create_rootgeom_Silicon_Run8_detailed_aligned().

Here is the caller graph for this function:

Variable Documentation

◆ BevelAngleDeg

Double_t BevelAngleDeg[NModuleSizes]

◆ BevelAngleRad

◆ gGeoMan

TGeoManager* gGeoMan = 0

◆ ModulesTypes

◆ ModulesXRotations

const Bool_t ModulesXRotations[NStations][NMaxModules]
Initial value:
= {
{false , false , false , true , true , true },
{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 }}

Definition at line 221 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ ModulesYRotations

const Bool_t ModulesYRotations[NStations][NMaxModules]
Initial value:
= {
{true , true , false , true , true , false },
{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 }}

Definition at line 210 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ NMaxModules

const Int_t NMaxModules = 22

◆ NModulesInStations

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

◆ 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

◆ x_dist_cent_base

const Double_t x_dist_cent_base[NStations]
Initial value:
= {21.7 , 21.7 , 27.7 ,
33.7 }

Definition at line 45 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ x_shift_hp

const Double_t x_shift_hp[NStations]
Initial value:
= {
+0.1255 , -0.0105 , +0.013 ,
+0.239 }

Definition at line 54 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ XAlignmentCorrections

const Double_t XAlignmentCorrections[NStations][NMaxModules]
Initial value:
= {
{2.68835e-01, 2.39831e-01, 2.52506e-01, 2.05206e-01, 2.11052e-01, 0.20737190},
{3.15120e-01, 2.74671e-01, 2.55372e-01, 2.83446e-01, 2.79317e-01, 3.48623e-01, 3.18654e-01, 3.00181e-01,
3.16157e-01, 3.80363e-01},
{1.65037e-01, 2.71806e-01, 2.66914e-01, 2.40166e-01, 2.59614e-01, 2.66288e-01, 2.83516e-01, 2.88311e-01,
2.61280e-01, 3.02609e-01, 2.96469e-01, 2.98769e-01, 2.66650e-01, 3.72627e-01},
{3.01013e-01, 3.62381e-01, 3.03249e-01, 3.06502e-01, 2.75747e-01, 2.95530e-01, 3.05152e-01, 3.42706e-01,
3.09787e-01, 2.24795e-01, 2.31845e-01, 2.59297e-01, 2.17342e-01, 2.20424e-01, 2.06861e-01, 2.49563e-01,
2.64846e-01, 2.02358e-01}}

Definition at line 162 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ XBevelSize

Double_t XBevelSize[NModuleSizes] = {3.82 , 3.82 }

◆ XLeftBorder

Double_t XLeftBorder[NModuleSizes] = {0.1145 , 0.1118 }

◆ XModuleFrameSize

Double_t XModuleFrameSize[NModuleSizes]

◆ XModuleShifts

◆ 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 338 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ XStationPositions

const Double_t XStationPositions[NStations]
Initial value:
= {+0.4025 , +0.726 , 0.8415 ,
+0.877 }

Definition at line 30 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ XYBevelBorder

Double_t XYBevelBorder[NModuleSizes] = {0.1146 , 0.1146 }

◆ y_dist_cent_base

const Double_t y_dist_cent_base[NStations]
Initial value:
= {12.99 , 16.29 , 16.29 ,
16.29 }

Definition at line 47 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ y_shift_hp

const Double_t y_shift_hp[NStations]
Initial value:
= {
+0.1495 , +0.0425 , +0.0265 ,
+0.5025 }

Definition at line 58 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ YAlignmentCorrections

const Double_t YAlignmentCorrections[NStations][NMaxModules]
Initial value:
= {
{-0.272688, -0.300649, -0.343639, -0.313878, -0.331129, -0.299529},
{-0.342847, -0.343267, -0.328436, -0.354188, -0.332445, -0.349645, -0.332025, -0.294098, -0.249696, -0.217585},
{-0.398784, -0.342968, -0.325462, -0.325316, -0.338778, -0.338966, -0.324549, -0.339105, -0.314266, -0.301756,
-0.288295, -0.272864, -0.272913, -0.21294},
{-0.269827, -0.227419, -0.295412, -0.274608, -0.322856, -0.33417, -0.361013, -0.397192, -0.368905, -0.217688,
-0.240085, -0.266281, -0.285738, -0.269306, -0.292405, -0.297714, -0.323987, -0.379705}}

Definition at line 172 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ 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

◆ 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]
Initial value:
= {-0.159 , -0.165 , -0.122 ,
-0.111 }

Definition at line 32 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ YTopBorder

Double_t YTopBorder[NModuleSizes] = {0.1143 , 0.1148 }

◆ z_mod_thick

const Double_t z_mod_thick = 0.03

◆ z_shift_hp

const Double_t z_shift_hp[NStations]
Initial value:
= {
+5.0 , 5.134 , 5.2825 ,
5.106 }

Definition at line 50 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ z_shift_low

const Double_t z_shift_low = -0.61

◆ z_shift_up

const Double_t z_shift_up = +2.68

◆ ZAlignmentCorrections

const Double_t ZAlignmentCorrections[NStations][NMaxModules]
Initial value:
= {
{-0.4, -0.3, -0.23, -0.27, -0.3, -0.23},
{-0.5, -0.4, -0.4, -0.28, -0.25, -0.45, -0.45, -0.3, -0.23, -0.2},
{-0.3, -0.5, -0.45, -0.4, -0.3, -0.2, -0.2, -0.25, -0.2, -0.3, -0.3, -0.4, -0.5, -0.27},
{-0.5, -0.6, -0.4, -0.5, -0.3, -0.35, -0.2, -0.1, -0.4, -0.6, -0.6, -0.6, -0.5, -0.35, -0.2, -0.1, 0.1, 0.}}

Definition at line 180 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.

◆ ZModuleFrameSize

Double_t ZModuleFrameSize[NModuleSizes] = {0.18 , 0.18 }

◆ ZModuleShifts

◆ ZModuleSize

◆ ZSensorZoneSize

Double_t ZSensorZoneSize[NModuleSizes]

◆ ZStationPositions

const Double_t ZStationPositions[NStations]
Initial value:
= {
+14.2735 , +23.022 , 31.594 ,
40.407 }

Definition at line 34 of file create_rootgeom_Silicon_Run8_detailed_aligned.C.