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

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] = {0.0, 0.0, 0.0, 0.0}
const Double_t YStationPositions [NStations] = {0.0, 0.0, 0.0, 0.0}
const Double_t ZStationPositions [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 29 of file SiliconConfigCalculate_Run8_5stations.C.

◆ ModuleType

enum ModuleType
Enumerator
RIGHT_ANGLED_MODULE 
BEVEL_MODULE 
RIGHT_ANGLED_MODULE_HALF 
BEVEL_MODULE_HALF 

Definition at line 494 of file SiliconConfigCalculate_Run8_5stations.C.

◆ StripNumberingDirection

Enumerator
LeftToRight 
RightToLeft 

Definition at line 305 of file SiliconConfigCalculate_Run8_5stations.C.

Function Documentation

◆ CalculateParameters()

◆ PrintInfo()

◆ SiliconConfigCalculate_Run8_5stations()

void SiliconConfigCalculate_Run8_5stations ( )

Definition at line 556 of file SiliconConfigCalculate_Run8_5stations.C.

References CalculateParameters(), and PrintInfo().

Here is the call graph for this function:

Variable Documentation

◆ BevelAngleDeg

Double_t BevelAngleDeg[NModuleSizes]
Initial value:

Definition at line 60 of file SiliconConfigCalculate_Run8_5stations.C.

◆ BevelAngleRad

Double_t BevelAngleRad[NModuleSizes]
Initial value:

Definition at line 55 of file SiliconConfigCalculate_Run8_5stations.C.

◆ FirstStripNumberLowLayer

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

Definition at line 335 of file SiliconConfigCalculate_Run8_5stations.C.

◆ FirstStripNumberUpLayer

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

Definition at line 329 of file SiliconConfigCalculate_Run8_5stations.C.

◆ ModulesTypes

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

Definition at line 502 of file SiliconConfigCalculate_Run8_5stations.C.

◆ 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 537 of file SiliconConfigCalculate_Run8_5stations.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 },
{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 521 of file SiliconConfigCalculate_Run8_5stations.C.

◆ NMaxModules

const Int_t NMaxModules = 22

Definition at line 435 of file SiliconConfigCalculate_Run8_5stations.C.

◆ NModulesInStations

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

Definition at line 437 of file SiliconConfigCalculate_Run8_5stations.C.

◆ NModuleSizes

const unsigned int NModuleSizes = 2

Definition at line 34 of file SiliconConfigCalculate_Run8_5stations.C.

◆ NStations

const Int_t NStations = 5

Definition at line 434 of file SiliconConfigCalculate_Run8_5stations.C.

◆ PitchValue

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

Definition at line 317 of file SiliconConfigCalculate_Run8_5stations.C.

◆ StripAngle

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

Definition at line 323 of file SiliconConfigCalculate_Run8_5stations.C.

◆ StripDirection

Initial value:
= {
}
@ RightToLeft
@ LeftToRight

Definition at line 311 of file SiliconConfigCalculate_Run8_5stations.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_Run8_5stations.C.

◆ XBevelSize

Double_t XBevelSize[NModuleSizes] = {3.82 , 3.82 }

Definition at line 52 of file SiliconConfigCalculate_Run8_5stations.C.

◆ XDeadZone

◆ XLeftBorder

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

Definition at line 68 of file SiliconConfigCalculate_Run8_5stations.C.

◆ XLeftBorderLowerlayer

◆ XLeftBorderUpperlayer

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+9.15 , +3.15 , -9.15 , +9.15 , +3.15 , -9.15 },
{+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 446 of file SiliconConfigCalculate_Run8_5stations.C.

◆ XModuleSize

Double_t XModuleSize[NModuleSizes] = {6.3 , 6.3 }

Definition at line 38 of file SiliconConfigCalculate_Run8_5stations.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_Run8_5stations.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_Run8_5stations.C.

◆ XShiftFirstStripUpLayer

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

Definition at line 106 of file SiliconConfigCalculate_Run8_5stations.C.

◆ XShiftLastStripLowLayer

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

Definition at line 121 of file SiliconConfigCalculate_Run8_5stations.C.

◆ XShiftLastStripUpLayer

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

Definition at line 116 of file SiliconConfigCalculate_Run8_5stations.C.

◆ XSizeLowLayer

◆ XSizeUpLayer

◆ XStationPositions

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

Definition at line 440 of file SiliconConfigCalculate_Run8_5stations.C.

◆ XYBevelBorder

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

Definition at line 98 of file SiliconConfigCalculate_Run8_5stations.C.

◆ y_delta

◆ y_delta_bottom_BP

Double_t y_delta_bottom_BP[NModuleSizes][2]
Initial value:

Definition at line 383 of file SiliconConfigCalculate_Run8_5stations.C.

◆ y_delta_top_BP

◆ YBevelSize

Double_t YBevelSize[NModuleSizes] = {3.82 , 3.82 }

Definition at line 53 of file SiliconConfigCalculate_Run8_5stations.C.

◆ YBottomBorder

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

Definition at line 93 of file SiliconConfigCalculate_Run8_5stations.C.

◆ YDeadZone

◆ YGapBetweenPartsOfModule

Double_t YGapBetweenPartsOfModule[NModuleSizes] = {0.0035 , 0.0035 }

Definition at line 36 of file SiliconConfigCalculate_Run8_5stations.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_Run8_5stations.C.

◆ YMiddleBorderUpperPart

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

Definition at line 83 of file SiliconConfigCalculate_Run8_5stations.C.

◆ YModuleShifts

const Double_t YModuleShifts[NStations][NMaxModules]
Initial value:
= {
{-0.15 , +2.85 , -0.15 , +0.15 , -2.85 , +0.15 },
{-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 459 of file SiliconConfigCalculate_Run8_5stations.C.

◆ YModuleSize

◆ YModuleSizeLowerPart

Double_t YModuleSizeLowerPart[NModuleSizes] = {6.3 , 9.3 }

Definition at line 41 of file SiliconConfigCalculate_Run8_5stations.C.

◆ YModuleSizeUpperPart

Double_t YModuleSizeUpperPart[NModuleSizes] = {6.3 , 9.3 }

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

◆ YShiftFirstStripUpLayer

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

Definition at line 126 of file SiliconConfigCalculate_Run8_5stations.C.

◆ YShiftLastStripLowLayer

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

Definition at line 141 of file SiliconConfigCalculate_Run8_5stations.C.

◆ YShiftLastStripUpLayer

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

Definition at line 136 of file SiliconConfigCalculate_Run8_5stations.C.

◆ YSizeLowLayer

◆ YSizeUpLayer

◆ YStationPositions

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

Definition at line 441 of file SiliconConfigCalculate_Run8_5stations.C.

◆ YTopBorder

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

Definition at line 78 of file SiliconConfigCalculate_Run8_5stations.C.

◆ ZModuleShifts

const Double_t ZModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+0.14 + 4.31 , +1.36 + 4.31 , +0.0 + 4.31 , +1.22 , 0.0 , +1.36 },
{+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 471 of file SiliconConfigCalculate_Run8_5stations.C.

◆ ZModuleSize

Double_t ZModuleSize[NModuleSizes] = {0.03 , 0.03 }

Definition at line 50 of file SiliconConfigCalculate_Run8_5stations.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations]
Initial value:
= {15.7 - 8.64 , +15.7, +15.7 + 8.64, +15.7 + 8.64 + 8.64,
+15.7 + 8.64 + 8.64 + 8.64}

Definition at line 442 of file SiliconConfigCalculate_Run8_5stations.C.