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

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_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_Run9.C.

◆ ModuleType

enum ModuleType
Enumerator
RIGHT_ANGLED_MODULE 
BEVEL_MODULE 
RIGHT_ANGLED_MODULE_HALF 
BEVEL_MODULE_HALF 

Definition at line 612 of file SiliconConfigCalculate_Run9.C.

◆ StripNumberingDirection

Enumerator
LeftToRight 
RightToLeft 

Definition at line 305 of file SiliconConfigCalculate_Run9.C.

Function Documentation

◆ CalculateParameters()

◆ PrintInfo()

◆ SiliconConfigCalculate_Run9()

void SiliconConfigCalculate_Run9 ( )

Definition at line 672 of file SiliconConfigCalculate_Run9.C.

References CalculateParameters().

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 60 of file SiliconConfigCalculate_Run9.C.

◆ BevelAngleRad

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

Definition at line 55 of file SiliconConfigCalculate_Run9.C.

◆ FirstStripNumberLowLayer

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

Definition at line 335 of file SiliconConfigCalculate_Run9.C.

◆ FirstStripNumberUpLayer

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

Definition at line 329 of file SiliconConfigCalculate_Run9.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 645 of file SiliconConfigCalculate_Run9.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 634 of file SiliconConfigCalculate_Run9.C.

◆ NMaxModules

const Int_t NMaxModules = 22

Definition at line 435 of file SiliconConfigCalculate_Run9.C.

◆ NModulesInStations

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

Definition at line 437 of file SiliconConfigCalculate_Run9.C.

◆ NModuleSizes

const unsigned int NModuleSizes = 2

Definition at line 34 of file SiliconConfigCalculate_Run9.C.

◆ NStations

const Int_t NStations = 4

Definition at line 434 of file SiliconConfigCalculate_Run9.C.

◆ PitchValue

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

Definition at line 317 of file SiliconConfigCalculate_Run9.C.

◆ StripAngle

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

Definition at line 323 of file SiliconConfigCalculate_Run9.C.

◆ StripDirection

Initial value:
= {
}
@ RightToLeft
@ LeftToRight

Definition at line 311 of file SiliconConfigCalculate_Run9.C.

◆ x_delta

◆ x_delta_bottom_BP

◆ x_delta_top_BP

Double_t x_delta_top_BP[NModuleSizes][2]
Initial value:

Definition at line 364 of file SiliconConfigCalculate_Run9.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 470 of file SiliconConfigCalculate_Run9.C.

◆ x_shift_hp

const Double_t x_shift_hp[NStations]
Initial value:
= {
+0.0165,
+0.0100,
+0.0325,
+0.0820
}

Definition at line 494 of file SiliconConfigCalculate_Run9.C.

◆ XBevelSize

Double_t XBevelSize[NModuleSizes] = {3.82 , 3.82 }

Definition at line 52 of file SiliconConfigCalculate_Run9.C.

◆ XDeadZone

◆ XLeftBorder

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

Definition at line 68 of file SiliconConfigCalculate_Run9.C.

◆ XLeftBorderLowerlayer

◆ XLeftBorderUpperlayer

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]

Definition at line 510 of file SiliconConfigCalculate_Run9.C.

◆ XModuleSize

Double_t XModuleSize[NModuleSizes] = {6.3 , 6.3 }

Definition at line 38 of file SiliconConfigCalculate_Run9.C.

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

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

◆ XShiftFirstStripUpLayer

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

Definition at line 106 of file SiliconConfigCalculate_Run9.C.

◆ XShiftLastStripLowLayer

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

Definition at line 121 of file SiliconConfigCalculate_Run9.C.

◆ XShiftLastStripUpLayer

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

Definition at line 116 of file SiliconConfigCalculate_Run9.C.

◆ XSizeLowLayer

◆ XSizeUpLayer

◆ XStationPositions

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

Definition at line 440 of file SiliconConfigCalculate_Run9.C.

◆ XYBevelBorder

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

Definition at line 98 of file SiliconConfigCalculate_Run9.C.

◆ y_delta

◆ y_delta_bottom_BP

Double_t y_delta_bottom_BP[NModuleSizes][2]
Initial value:

Definition at line 383 of file SiliconConfigCalculate_Run9.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 478 of file SiliconConfigCalculate_Run9.C.

◆ y_shift_hp

const Double_t y_shift_hp[NStations]
Initial value:
= {
-0.0155,
-0.0730,
-0.0645,
+0.6580
}

Definition at line 502 of file SiliconConfigCalculate_Run9.C.

◆ YBevelSize

Double_t YBevelSize[NModuleSizes] = {3.82 , 3.82 }

Definition at line 53 of file SiliconConfigCalculate_Run9.C.

◆ YBottomBorder

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

Definition at line 93 of file SiliconConfigCalculate_Run9.C.

◆ YDeadZone

◆ YGapBetweenPartsOfModule

Double_t YGapBetweenPartsOfModule[NModuleSizes] = {0.0035 , 0.0035 }

Definition at line 36 of file SiliconConfigCalculate_Run9.C.

◆ YLeftBorderLowerlayer

◆ YLeftBorderUpperlayer

◆ YMiddleBorderLowerPart

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

Definition at line 88 of file SiliconConfigCalculate_Run9.C.

◆ YMiddleBorderUpperPart

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

Definition at line 83 of file SiliconConfigCalculate_Run9.C.

◆ YModuleShifts

const Double_t YModuleShifts[NStations][NMaxModules]

Definition at line 542 of file SiliconConfigCalculate_Run9.C.

◆ YModuleSize

◆ YModuleSizeLowerPart

Double_t YModuleSizeLowerPart[NModuleSizes] = {6.3 , 9.3 }

Definition at line 41 of file SiliconConfigCalculate_Run9.C.

◆ YModuleSizeUpperPart

Double_t YModuleSizeUpperPart[NModuleSizes] = {6.3 , 9.3 }

Definition at line 40 of file SiliconConfigCalculate_Run9.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 131 of file SiliconConfigCalculate_Run9.C.

◆ YShiftFirstStripUpLayer

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

Definition at line 126 of file SiliconConfigCalculate_Run9.C.

◆ YShiftLastStripLowLayer

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

Definition at line 141 of file SiliconConfigCalculate_Run9.C.

◆ YShiftLastStripUpLayer

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

Definition at line 136 of file SiliconConfigCalculate_Run9.C.

◆ YSizeLowLayer

◆ YSizeUpLayer

◆ YStationPositions

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

Definition at line 448 of file SiliconConfigCalculate_Run9.C.

◆ YTopBorder

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

Definition at line 78 of file SiliconConfigCalculate_Run9.C.

◆ z_mod_thick

const Double_t z_mod_thick = 0.03

Definition at line 465 of file SiliconConfigCalculate_Run9.C.

◆ z_shift_hp

const Double_t z_shift_hp[NStations]
Initial value:
= {
+5.0800,
+5.1255,
+4.9800,
+5.0115
}

Definition at line 486 of file SiliconConfigCalculate_Run9.C.

◆ z_shift_low

const Double_t z_shift_low = -0.61

Definition at line 468 of file SiliconConfigCalculate_Run9.C.

◆ z_shift_up

const Double_t z_shift_up = +2.68

Definition at line 467 of file SiliconConfigCalculate_Run9.C.

◆ ZModuleShifts

const Double_t ZModuleShifts[NStations][NMaxModules]

Definition at line 574 of file SiliconConfigCalculate_Run9.C.

◆ ZModuleSize

Double_t ZModuleSize[NModuleSizes] = {0.03 , 0.03 }

Definition at line 50 of file SiliconConfigCalculate_Run9.C.

◆ ZStationPositions

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

Definition at line 456 of file SiliconConfigCalculate_Run9.C.