BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
SiliconConfigCalculate_Run8.C File Reference
#include "Rtypes.h"
#include "TString.h"
#include <fstream>
Include dependency graph for SiliconConfigCalculate_Run8.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 xml_file_name)
void SiliconConfigCalculate_Run8 ()

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 = 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]
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]
const Int_t NMaxHalfPlanes = 2
const Double_t HalfPlanesYRotations [NStations][NMaxHalfPlanes]

Enumeration Type Documentation

◆ ModuleSize

enum ModuleSize
Enumerator
STANDARD_MODULE 
LONG_MODULE 

Definition at line 37 of file SiliconConfigCalculate_Run8.C.

◆ ModuleType

enum ModuleType
Enumerator
RIGHT_ANGLED_MODULE 
BEVEL_MODULE 
RIGHT_ANGLED_MODULE_HALF 
BEVEL_MODULE_HALF 

Definition at line 636 of file SiliconConfigCalculate_Run8.C.

◆ StripNumberingDirection

Enumerator
LeftToRight 
RightToLeft 

Definition at line 313 of file SiliconConfigCalculate_Run8.C.

Function Documentation

◆ CalculateParameters()

◆ PrintInfo()

◆ SiliconConfigCalculate_Run8()

void SiliconConfigCalculate_Run8 ( )

Definition at line 694 of file SiliconConfigCalculate_Run8.C.

References CalculateParameters(), and PrintInfo().

Here is the call graph for this function:

Variable Documentation

◆ BevelAngleDeg

Double_t BevelAngleDeg[NModuleSizes]
Initial value:
= {
}
Double_t BevelAngleRad[NModuleSizes]
@ STANDARD_MODULE
constexpr Double_t RadToDeg()

Definition at line 68 of file SiliconConfigCalculate_Run8.C.

◆ BevelAngleRad

Double_t BevelAngleRad[NModuleSizes]
Initial value:
= {
}
Double_t YBevelSize[NModuleSizes]
Double_t XBevelSize[NModuleSizes]
Double_t ATan(Double_t)

Definition at line 63 of file SiliconConfigCalculate_Run8.C.

◆ FirstStripNumberLowLayer

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

Definition at line 343 of file SiliconConfigCalculate_Run8.C.

◆ FirstStripNumberUpLayer

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

Definition at line 337 of file SiliconConfigCalculate_Run8.C.

◆ HalfPlanesYRotations

const Double_t HalfPlanesYRotations[NStations][NMaxHalfPlanes]
Initial value:
= {
{+0.1209, +0.1257},
{+0.1148, +0.3336},
{+0.2566, -0.1563},
{+0.2504, +0.7422}
}

Definition at line 681 of file SiliconConfigCalculate_Run8.C.

◆ 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 669 of file SiliconConfigCalculate_Run8.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 658 of file SiliconConfigCalculate_Run8.C.

◆ NMaxHalfPlanes

const Int_t NMaxHalfPlanes = 2

Definition at line 680 of file SiliconConfigCalculate_Run8.C.

◆ NMaxModules

const Int_t NMaxModules = 22

Definition at line 443 of file SiliconConfigCalculate_Run8.C.

◆ NModulesInStations

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

Definition at line 445 of file SiliconConfigCalculate_Run8.C.

◆ NModuleSizes

const unsigned int NModuleSizes = 2

Definition at line 42 of file SiliconConfigCalculate_Run8.C.

◆ NStations

const Int_t NStations = 4

Definition at line 442 of file SiliconConfigCalculate_Run8.C.

◆ PitchValue

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

Definition at line 325 of file SiliconConfigCalculate_Run8.C.

◆ StripAngle

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

Definition at line 331 of file SiliconConfigCalculate_Run8.C.

◆ StripDirection

Initial value:
= {
}
@ RightToLeft
@ LeftToRight

Definition at line 319 of file SiliconConfigCalculate_Run8.C.

◆ x_delta

◆ x_delta_bottom_BP

◆ x_delta_top_BP

Double_t x_delta_top_BP[NModuleSizes][2]
Initial value:

Definition at line 372 of file SiliconConfigCalculate_Run8.C.

◆ 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 463 of file SiliconConfigCalculate_Run8.C.

◆ x_shift_hp

const Double_t x_shift_hp[NStations]
Initial value:
= {
+0.1295 , -0.021 , +0.006 ,
+0.2285 }

Definition at line 471 of file SiliconConfigCalculate_Run8.C.

◆ XBevelSize

Double_t XBevelSize[NModuleSizes] = {3.82 , 3.82 }

Definition at line 60 of file SiliconConfigCalculate_Run8.C.

◆ XDeadZone

◆ XLeftBorder

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

Definition at line 76 of file SiliconConfigCalculate_Run8.C.

◆ XLeftBorderLowerlayer

◆ XLeftBorderUpperlayer

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]

Definition at line 478 of file SiliconConfigCalculate_Run8.C.

◆ XModuleSize

Double_t XModuleSize[NModuleSizes] = {6.3 , 6.3 }

Definition at line 46 of file SiliconConfigCalculate_Run8.C.

◆ XOrigLowLayer

◆ XOrigUpLayer

◆ XRightBorder

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

Definition at line 81 of file SiliconConfigCalculate_Run8.C.

◆ XRightBorderLowerlayer

◆ XRightBorderUpperlayer

◆ XShiftFirstStripLowLayer

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

Definition at line 119 of file SiliconConfigCalculate_Run8.C.

◆ XShiftFirstStripUpLayer

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

Definition at line 114 of file SiliconConfigCalculate_Run8.C.

◆ XShiftLastStripLowLayer

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

Definition at line 129 of file SiliconConfigCalculate_Run8.C.

◆ XShiftLastStripUpLayer

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

Definition at line 124 of file SiliconConfigCalculate_Run8.C.

◆ XSizeLowLayer

◆ XSizeUpLayer

◆ XStationPositions

const Double_t XStationPositions[NStations]
Initial value:
= {+0.622 , +0.874 , +0.981 ,
+1.0065 }

Definition at line 448 of file SiliconConfigCalculate_Run8.C.

◆ XYBevelBorder

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

Definition at line 106 of file SiliconConfigCalculate_Run8.C.

◆ y_delta

◆ y_delta_bottom_BP

Double_t y_delta_bottom_BP[NModuleSizes][2]
Initial value:

Definition at line 391 of file SiliconConfigCalculate_Run8.C.

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

Definition at line 465 of file SiliconConfigCalculate_Run8.C.

◆ y_shift_hp

const Double_t y_shift_hp[NStations]
Initial value:
= {
+0.0695 , -0.0035 , -0.03 ,
+0.4585 }

Definition at line 474 of file SiliconConfigCalculate_Run8.C.

◆ YBevelSize

Double_t YBevelSize[NModuleSizes] = {3.82 , 3.82 }

Definition at line 61 of file SiliconConfigCalculate_Run8.C.

◆ YBottomBorder

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

Definition at line 101 of file SiliconConfigCalculate_Run8.C.

◆ YDeadZone

◆ YGapBetweenPartsOfModule

Double_t YGapBetweenPartsOfModule[NModuleSizes] = {0.0035 , 0.0035 }

Definition at line 44 of file SiliconConfigCalculate_Run8.C.

◆ YLeftBorderLowerlayer

◆ YLeftBorderUpperlayer

◆ YMiddleBorderLowerPart

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

Definition at line 96 of file SiliconConfigCalculate_Run8.C.

◆ YMiddleBorderUpperPart

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

Definition at line 91 of file SiliconConfigCalculate_Run8.C.

◆ YModuleShifts

const Double_t YModuleShifts[NStations][NMaxModules]

Definition at line 509 of file SiliconConfigCalculate_Run8.C.

◆ YModuleSize

◆ YModuleSizeLowerPart

Double_t YModuleSizeLowerPart[NModuleSizes] = {6.3 , 9.3 }

Definition at line 49 of file SiliconConfigCalculate_Run8.C.

◆ YModuleSizeUpperPart

Double_t YModuleSizeUpperPart[NModuleSizes] = {6.3 , 9.3 }

Definition at line 48 of file SiliconConfigCalculate_Run8.C.

◆ YOrigLowLayer

◆ YOrigUpLayer

◆ YRightBorderLowerlayer

Double_t YRightBorderLowerlayer[NModuleSizes][2]

◆ YRightBorderUpperlayer

Double_t YRightBorderUpperlayer[NModuleSizes][2]

◆ YShiftFirstStripLowLayer

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

Definition at line 139 of file SiliconConfigCalculate_Run8.C.

◆ YShiftFirstStripUpLayer

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

Definition at line 134 of file SiliconConfigCalculate_Run8.C.

◆ YShiftLastStripLowLayer

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

Definition at line 149 of file SiliconConfigCalculate_Run8.C.

◆ YShiftLastStripUpLayer

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

Definition at line 144 of file SiliconConfigCalculate_Run8.C.

◆ YSizeLowLayer

◆ YSizeUpLayer

◆ YStationPositions

const Double_t YStationPositions[NStations]
Initial value:
= {-0.1495 , -0.153 , -0.1 ,
-0.0945 }

Definition at line 450 of file SiliconConfigCalculate_Run8.C.

◆ YTopBorder

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

Definition at line 86 of file SiliconConfigCalculate_Run8.C.

◆ z_mod_thick

const Double_t z_mod_thick = 0.03

Definition at line 461 of file SiliconConfigCalculate_Run8.C.

◆ z_shift_hp

const Double_t z_shift_hp[NStations]
Initial value:
= {
+5.003 , +5.1265 , +5.279 ,
+5.1125 }

Definition at line 468 of file SiliconConfigCalculate_Run8.C.

◆ z_shift_low

const Double_t z_shift_low = -0.61

Definition at line 458 of file SiliconConfigCalculate_Run8.C.

◆ z_shift_up

const Double_t z_shift_up = +2.68

Definition at line 456 of file SiliconConfigCalculate_Run8.C.

◆ ZModuleShifts

const Double_t ZModuleShifts[NStations][NMaxModules]

Definition at line 540 of file SiliconConfigCalculate_Run8.C.

◆ ZModuleSize

Double_t ZModuleSize[NModuleSizes] = {0.03 , 0.03 }

Definition at line 58 of file SiliconConfigCalculate_Run8.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations]
Initial value:
= {
+14.123 , +22.806 , +31.367 ,
+40.1595 }

Definition at line 452 of file SiliconConfigCalculate_Run8.C.