BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
SiliconConfigCalculate_5stations_2026.C File Reference
#include "Rtypes.h"
#include "TString.h"
#include <fstream>
Include dependency graph for SiliconConfigCalculate_5stations_2026.C:

Go to the source code of this file.

Enumerations

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

Functions

void PrintInfo ()
void CalculateParameters (TString config_name, TString author, TString date)
void SiliconConfigCalculate_5stations_2026 ()

Variables

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][2]
Double_t XRightBorder [NModuleSizes][2]
Double_t YTopBorder [NModuleSizes][2]
Double_t YMiddleBorderUpperPart [NModuleSizes][2]
Double_t YMiddleBorderLowerPart [NModuleSizes][2]
Double_t YBottomBorder [NModuleSizes][2]
Double_t XYBevelBorder [NModuleSizes][2]
Double_t XShiftFirstStripUpLayer [NModuleSizes][2]
Double_t XShiftFirstStripLowLayer [NModuleSizes][2]
Double_t XShiftLastStripUpLayer [NModuleSizes][2]
Double_t XShiftLastStripLowLayer [NModuleSizes][2]
Double_t YShiftFirstStripUpLayer [NModuleSizes][2]
Double_t YShiftFirstStripLowLayer [NModuleSizes][2]
Double_t YShiftLastStripUpLayer [NModuleSizes][2]
Double_t YShiftLastStripLowLayer [NModuleSizes][2]
Double_t XOrigUpLayer [NModuleSizes][2]
Double_t XOrigLowLayer [NModuleSizes][2]
Double_t YOrigUpLayer [NModuleSizes][2]
Double_t YOrigLowLayer [NModuleSizes][2]
Double_t XSizeUpLayer [NModuleSizes][2]
Double_t YSizeUpLayer [NModuleSizes][2]
Double_t XSizeLowLayer [NModuleSizes][2]
Double_t YSizeLowLayer [NModuleSizes][2]
Double_t XLeftBorderUpperlayer [NModuleSizes][2]
Double_t XLeftBorderLowerlayer [NModuleSizes][2]
Double_t XRightBorderUpperlayer [NModuleSizes][2]
Double_t XRightBorderLowerlayer [NModuleSizes][2]
Double_t YLeftBorderUpperlayer [NModuleSizes][2]
Double_t YLeftBorderLowerlayer [NModuleSizes][2]
Double_t YRightBorderUpperlayer [NModuleSizes][2]
Double_t YRightBorderLowerlayer [NModuleSizes][2]
StripNumberingDirection StripDirection [NModuleSizes][2]
Double_t PitchValue [NModuleSizes][2]
Double_t StripAngle [NModuleSizes][2]
Double_t FirstStripNumberUpLayer [NModuleSizes][2]
Double_t FirstStripNumberLowLayer [NModuleSizes][2]
Double_t x_delta [NModuleSizes][2]
Double_t y_delta [NModuleSizes][2]
Double_t x_delta_top_BP [NModuleSizes][2]
Double_t y_delta_top_BP [NModuleSizes][2]
Double_t y_delta_bottom_BP [NModuleSizes][2]
Double_t x_delta_bottom_BP [NModuleSizes][2]
Double_t XDeadZone [NModuleSizes][2][3]
Double_t YDeadZone [NModuleSizes][2][3]
const Int_t NStations = 5
const Int_t NMaxModules = 22
const Int_t NModulesInStations [NStations] = {6, 10, 14, 18, 22}
const Double_t XStationPositions [NStations]
const Double_t YStationPositions [NStations]
const Double_t ZStationPositions [NStations]
const Double_t z_mod_thick = 0.03
const Double_t z_shift_up = +2.68
const Double_t z_shift_low = -0.61
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]
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]

Enumeration Type Documentation

◆ ModuleSize

enum ModuleSize
Enumerator
STANDARD_MODULE 
LONG_MODULE 

Definition at line 28 of file SiliconConfigCalculate_5stations_2026.C.

◆ ModuleType

enum ModuleType
Enumerator
RIGHT_ANGLED_MODULE 
BEVEL_MODULE 
RIGHT_ANGLED_MODULE_HALF 
BEVEL_MODULE_HALF 

Definition at line 689 of file SiliconConfigCalculate_5stations_2026.C.

◆ StripNumberingDirection

Enumerator
LeftToRight 
RightToLeft 

Definition at line 305 of file SiliconConfigCalculate_5stations_2026.C.

Function Documentation

◆ CalculateParameters()

◆ PrintInfo()

◆ SiliconConfigCalculate_5stations_2026()

void SiliconConfigCalculate_5stations_2026 ( )

Definition at line 762 of file SiliconConfigCalculate_5stations_2026.C.

References CalculateParameters().

Here is the call graph for this function:

Variable Documentation

◆ BevelAngleDeg

◆ BevelAngleRad

◆ FirstStripNumberLowLayer

Double_t FirstStripNumberLowLayer[NModuleSizes][2]
Initial value:
= {
{26, 0},
{37, 0}
}

Definition at line 335 of file SiliconConfigCalculate_5stations_2026.C.

Referenced by CalculateParameters(), CalculateParameters(), and PrintInfo().

◆ FirstStripNumberUpLayer

Double_t FirstStripNumberUpLayer[NModuleSizes][2]
Initial value:
= {
{0, 0},
{0, 0}
}

Definition at line 329 of file SiliconConfigCalculate_5stations_2026.C.

Referenced by CalculateParameters(), CalculateParameters(), and PrintInfo().

◆ ModulesTypes

const ModuleType ModulesTypes[NStations][NMaxModules]
Initial value:
= {

Definition at line 697 of file SiliconConfigCalculate_5stations_2026.C.

Referenced by CalculateParameters(), CalculateParameters(), create_rootgeom_Silicon_5stations_2026_detailed(), create_rootgeom_Silicon_Run8(), create_rootgeom_Silicon_Run8_3stations(), create_rootgeom_Silicon_Run8_3stations_detailed(), create_rootgeom_Silicon_Run8_4stations(), create_rootgeom_Silicon_Run8_4stations_detailed(), create_rootgeom_Silicon_Run8_5stations(), create_rootgeom_Silicon_Run8_5stations_detailed(), create_rootgeom_Silicon_Run8_aligned(), create_rootgeom_Silicon_Run8_detailed(), create_rootgeom_Silicon_Run8_detailed_aligned(), create_rootgeom_Silicon_Run8_mods_10_14rot_18(), create_rootgeom_Silicon_Run8_mods_10_14rot_18_detailed(), create_rootgeom_Silicon_Run8_mods_6_10_14_18_detailed(), create_rootgeom_Silicon_Run9(), create_rootgeom_Silicon_Run9_detailed(), create_rootgeom_Silicon_RunSpring2018(), create_rootgeom_Silicon_RunSRCSpring2018(), CreateSiliconStation(), and PrintInformationAboutStations().

◆ 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 },
{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 730 of file SiliconConfigCalculate_5stations_2026.C.

Referenced by CalculateParameters(), CalculateParameters(), create_rootgeom_CSC_Run9_detailed(), create_rootgeom_FullCSC_Run8_detailed(), create_rootgeom_LargeCSC_Run8(), create_rootgeom_Silicon_5stations_2026_detailed(), create_rootgeom_Silicon_Run8(), create_rootgeom_Silicon_Run8_3stations(), create_rootgeom_Silicon_Run8_3stations_detailed(), create_rootgeom_Silicon_Run8_4stations(), create_rootgeom_Silicon_Run8_4stations_detailed(), create_rootgeom_Silicon_Run8_5stations(), create_rootgeom_Silicon_Run8_5stations_detailed(), create_rootgeom_Silicon_Run8_aligned(), create_rootgeom_Silicon_Run8_detailed(), create_rootgeom_Silicon_Run8_detailed_aligned(), create_rootgeom_Silicon_Run8_mods_10_14rot_18(), create_rootgeom_Silicon_Run8_mods_10_14rot_18_detailed(), create_rootgeom_Silicon_Run8_mods_6_10_14_18_detailed(), create_rootgeom_Silicon_Run9(), create_rootgeom_Silicon_Run9_detailed(), create_rootgeom_Silicon_RunSpring2018(), create_rootgeom_Silicon_RunSRCSpring2018(), create_rootgeom_VSP_Run9(), CreateSiliconStation(), and PrintInformationAboutStations().

◆ 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 },
{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 716 of file SiliconConfigCalculate_5stations_2026.C.

Referenced by CalculateParameters(), CalculateParameters(), create_rootgeom_CSC_Run9_detailed(), create_rootgeom_FullCSC_Run8_detailed(), create_rootgeom_LargeCSC_Run8(), create_rootgeom_Silicon_5stations_2026_detailed(), create_rootgeom_Silicon_Run8(), create_rootgeom_Silicon_Run8_3stations(), create_rootgeom_Silicon_Run8_3stations_detailed(), create_rootgeom_Silicon_Run8_4stations(), create_rootgeom_Silicon_Run8_4stations_detailed(), create_rootgeom_Silicon_Run8_5stations(), create_rootgeom_Silicon_Run8_5stations_detailed(), create_rootgeom_Silicon_Run8_aligned(), create_rootgeom_Silicon_Run8_detailed(), create_rootgeom_Silicon_Run8_detailed_aligned(), create_rootgeom_Silicon_Run8_mods_10_14rot_18(), create_rootgeom_Silicon_Run8_mods_10_14rot_18_detailed(), create_rootgeom_Silicon_Run8_mods_6_10_14_18_detailed(), create_rootgeom_Silicon_Run9(), create_rootgeom_Silicon_Run9_detailed(), create_rootgeom_Silicon_RunSpring2018(), create_rootgeom_Silicon_RunSRCSpring2018(), create_rootgeom_VSP_Run9(), CreateSiliconStation(), and PrintInformationAboutStations().

◆ NMaxModules

const Int_t NMaxModules = 22

Definition at line 435 of file SiliconConfigCalculate_5stations_2026.C.

◆ NModulesInStations

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

Definition at line 437 of file SiliconConfigCalculate_5stations_2026.C.

◆ NModuleSizes

const unsigned int NModuleSizes = 2

Definition at line 34 of file SiliconConfigCalculate_5stations_2026.C.

◆ NStations

const Int_t NStations = 5

Definition at line 434 of file SiliconConfigCalculate_5stations_2026.C.

◆ PitchValue

Double_t PitchValue[NModuleSizes][2]
Initial value:
= {
{0.01029019668, 0.0095},
{0.0107150, 0.0095}
}

Definition at line 317 of file SiliconConfigCalculate_5stations_2026.C.

Referenced by CalculateParameters(), CalculateParameters(), and PrintInfo().

◆ StripAngle

Double_t StripAngle[NModuleSizes][2]
Initial value:
= {
{+2.5, +0.0},
{+2.5, +0.0}
}

Definition at line 323 of file SiliconConfigCalculate_5stations_2026.C.

Referenced by CalculateParameters(), CalculateParameters(), and PrintInfo().

◆ StripDirection

Initial value:
= {
}
@ RightToLeft
@ LeftToRight

Definition at line 311 of file SiliconConfigCalculate_5stations_2026.C.

◆ x_delta

◆ x_delta_bottom_BP

◆ x_delta_top_BP

◆ x_dist_cent_base

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

Definition at line 474 of file SiliconConfigCalculate_5stations_2026.C.

◆ x_shift_hp

◆ XBevelSize

◆ XDeadZone

◆ XLeftBorder

Double_t XLeftBorder[NModuleSizes][2]
Initial value:
= {
{0.1145, 0.10995},
{0.1118, 0.10995}
}

Definition at line 68 of file SiliconConfigCalculate_5stations_2026.C.

Referenced by CreateModule(), CreateModule(), CreateModule(), CreateSiliconModule(), and PrintInfoAboutModuleParameters().

◆ XLeftBorderLowerlayer

◆ XLeftBorderUpperlayer

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]

Definition at line 518 of file SiliconConfigCalculate_5stations_2026.C.

◆ XModuleSize

◆ XOrigLowLayer

◆ XOrigUpLayer

◆ XRightBorder

Double_t XRightBorder[NModuleSizes][2]
Initial value:
= {
{0.1118, 0.11005},
{0.1118, 0.11005}
}

Definition at line 73 of file SiliconConfigCalculate_5stations_2026.C.

Referenced by CreateModule(), CreateModule(), CreateModule(), CreateSiliconModule(), and PrintInfoAboutModuleParameters().

◆ XRightBorderLowerlayer

◆ XRightBorderUpperlayer

◆ XShiftFirstStripLowLayer

Double_t XShiftFirstStripLowLayer[NModuleSizes][2]
Initial value:
= {
{0.00780, 0.0},
{0.00261, 0.0}
}

Definition at line 111 of file SiliconConfigCalculate_5stations_2026.C.

◆ XShiftFirstStripUpLayer

Double_t XShiftFirstStripUpLayer[NModuleSizes][2]
Initial value:
= {
{0.00795, 0.0},
{0.00261, 0.0}
}

Definition at line 106 of file SiliconConfigCalculate_5stations_2026.C.

◆ XShiftLastStripLowLayer

Double_t XShiftLastStripLowLayer[NModuleSizes][2]
Initial value:
= {
{0.00675, 0.0},
{0.00255, 0.0}
}

Definition at line 121 of file SiliconConfigCalculate_5stations_2026.C.

◆ XShiftLastStripUpLayer

Double_t XShiftLastStripUpLayer[NModuleSizes][2]
Initial value:
= {
{0.00675, 0.0},
{0.00255, 0.0}
}

Definition at line 116 of file SiliconConfigCalculate_5stations_2026.C.

◆ XSizeLowLayer

◆ XSizeUpLayer

◆ XStationPositions

const Double_t XStationPositions[NStations]
Initial value:
= {
+0.6250,
+0.7045,
+0.9185,
+1.0180,
+1.15
}

Definition at line 440 of file SiliconConfigCalculate_5stations_2026.C.

◆ XYBevelBorder

Double_t XYBevelBorder[NModuleSizes][2]
Initial value:
= {
{0.1146, 0.1076},
{0.1148, 0.1055}
}

Definition at line 98 of file SiliconConfigCalculate_5stations_2026.C.

Referenced by CreateModule(), CreateModule(), CreateModule(), CreateSiliconModule(), and PrintInfoAboutModuleParameters().

◆ y_delta

◆ y_delta_bottom_BP

◆ y_delta_top_BP

◆ y_dist_cent_base

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

Definition at line 483 of file SiliconConfigCalculate_5stations_2026.C.

◆ y_shift_hp

◆ YBevelSize

◆ YBottomBorder

Double_t YBottomBorder[NModuleSizes][2]
Initial value:
= {
{0.1148, 0.1055},
{0.1148, 0.1055}
}

Definition at line 93 of file SiliconConfigCalculate_5stations_2026.C.

Referenced by CreateModule(), CreateModule(), CreateModule(), CreateSiliconModule(), and PrintInfoAboutModuleParameters().

◆ YDeadZone

◆ YGapBetweenPartsOfModule

◆ YLeftBorderLowerlayer

◆ YLeftBorderUpperlayer

◆ YMiddleBorderLowerPart

◆ YMiddleBorderUpperPart

◆ YModuleShifts

const Double_t YModuleShifts[NStations][NMaxModules]

Definition at line 577 of file SiliconConfigCalculate_5stations_2026.C.

◆ YModuleSize

◆ YModuleSizeLowerPart

◆ YModuleSizeUpperPart

◆ YOrigLowLayer

◆ YOrigUpLayer

◆ YRightBorderLowerlayer

◆ YRightBorderUpperlayer

◆ YShiftFirstStripLowLayer

Double_t YShiftFirstStripLowLayer[NModuleSizes][2]
Initial value:
= {
{0.0, 0.0},
{0.0, 0.0}
}

Definition at line 131 of file SiliconConfigCalculate_5stations_2026.C.

◆ YShiftFirstStripUpLayer

Double_t YShiftFirstStripUpLayer[NModuleSizes][2]
Initial value:
= {
{0.0, 0.0},
{0.0, 0.0}
}

Definition at line 126 of file SiliconConfigCalculate_5stations_2026.C.

◆ YShiftLastStripLowLayer

Double_t YShiftLastStripLowLayer[NModuleSizes][2]
Initial value:
= {
{0.0, 0.0},
{0.0, 0.0}
}

Definition at line 141 of file SiliconConfigCalculate_5stations_2026.C.

◆ YShiftLastStripUpLayer

Double_t YShiftLastStripUpLayer[NModuleSizes][2]
Initial value:
= {
{0.0, 0.0},
{0.0, 0.0}
}

Definition at line 136 of file SiliconConfigCalculate_5stations_2026.C.

◆ YSizeLowLayer

◆ YSizeUpLayer

◆ YStationPositions

const Double_t YStationPositions[NStations]
Initial value:
= {
-0.0695,
-0.0895,
-0.0565,
-0.0670,
+0.0
}

Definition at line 449 of file SiliconConfigCalculate_5stations_2026.C.

◆ YTopBorder

Double_t YTopBorder[NModuleSizes][2]
Initial value:
= {
{0.1143, 0.1143},
{0.1148, 0.1055}
}

Definition at line 78 of file SiliconConfigCalculate_5stations_2026.C.

Referenced by CreateModule(), CreateModule(), CreateModule(), and PrintInfoAboutModuleParameters().

◆ z_mod_thick

const Double_t z_mod_thick = 0.03

Definition at line 468 of file SiliconConfigCalculate_5stations_2026.C.

◆ z_shift_hp

◆ z_shift_low

const Double_t z_shift_low = -0.61

Definition at line 471 of file SiliconConfigCalculate_5stations_2026.C.

◆ z_shift_up

const Double_t z_shift_up = +2.68

Definition at line 470 of file SiliconConfigCalculate_5stations_2026.C.

◆ ZModuleShifts

const Double_t ZModuleShifts[NStations][NMaxModules]

Definition at line 636 of file SiliconConfigCalculate_5stations_2026.C.

◆ ZModuleSize

Double_t ZModuleSize[NModuleSizes] = {0.03 , 0.03 }

◆ ZStationPositions

const Double_t ZStationPositions[NStations]
Initial value:
= {
+14.1370,
+22.9015,
+31.6785,
+40.5235,
+48.91
}

Definition at line 458 of file SiliconConfigCalculate_5stations_2026.C.