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

Go to the source code of this file.

Enumerations

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_3stations ()

Variables

Double_t YGapBetweenPartsOfModule = 0.0035
Double_t XModuleSize = 6.3
Double_t YModuleSizeUpperPart = XModuleSize
Double_t YModuleSizeLowerPart = XModuleSize
Double_t YModuleSize = YModuleSizeUpperPart + YModuleSizeLowerPart + YGapBetweenPartsOfModule
Double_t ZModuleSize = 0.03
Double_t XBevelSize = 3.82
Double_t YBevelSize = XBevelSize
Double_t BevelAngleRad = TMath::ATan(XBevelSize / YBevelSize)
Double_t BevelAngleDeg = BevelAngleRad * TMath::RadToDeg()
Double_t XLeftBorder [2] = {0.1145, 0.10995}
Double_t XRightBorder [2] = {0.1118, 0.11005}
Double_t YTopBorder [2] = {0.1143, 0.1143}
Double_t YMiddleBorderUpperPart [2] = {0.1121, 0.1055}
Double_t YMiddleBorderLowerPart [2] = {0.1147, 0.1055}
Double_t YBottomBorder [2] = {0.1148, 0.1055}
Double_t XYBevelBorder [2] = {0.1146, 0.1076}
Double_t XShiftFirstStripUpLayer [2]
Double_t XShiftFirstStripLowLayer [2] = {0.00780, 0.0}
Double_t XShiftLastStripUpLayer [2]
Double_t XShiftLastStripLowLayer [2] = {0.00675, 0.0}
Double_t YShiftFirstStripUpLayer [2] = {0.0, 0.0}
Double_t YShiftFirstStripLowLayer [2] = {0.0, 0.0}
Double_t YShiftLastStripUpLayer [2] = {0.0, 0.0}
Double_t YShiftLastStripLowLayer [2] = {0.0, 0.0}
Double_t XOrigUpLayer [2] = {XModuleSize - XLeftBorder[0], XModuleSize - XLeftBorder[1]}
Double_t XOrigLowLayer [2] = {XModuleSize - XLeftBorder[0], XModuleSize - XLeftBorder[1]}
Double_t YOrigUpLayer [2]
Double_t YOrigLowLayer [2] = {YBottomBorder[0], YBottomBorder[1]}
Double_t XSizeUpLayer [2]
Double_t YSizeUpLayer [2]
Double_t XSizeLowLayer [2]
Double_t YSizeLowLayer [2]
Double_t XLeftBorderUpperlayer [2]
Double_t XLeftBorderLowerlayer [2]
Double_t XRightBorderUpperlayer [2]
Double_t XRightBorderLowerlayer [2]
Double_t YLeftBorderUpperlayer [2]
Double_t YLeftBorderLowerlayer [2]
Double_t YRightBorderUpperlayer [2] = {YOrigUpLayer[0], YOrigUpLayer[1]}
Double_t YRightBorderLowerlayer [2] = {YOrigLowLayer[0], YOrigLowLayer[1]}
StripNumberingDirection StripDirection [2] = {LeftToRight, RightToLeft}
Double_t PitchValue [2] = {0.01029019668, 0.0095}
Double_t StripAngle [2] = {+2.5, +0.0}
Int_t FirstStripNumberUpLayer [2] = {0, 0}
Int_t FirstStripNumberLowLayer [2] = {26, 0}
Double_t x_delta [2] = {XYBevelBorder[0] / TMath::Cos(BevelAngleRad), XYBevelBorder[1] / TMath::Cos(BevelAngleRad)}
Double_t y_delta [2] = {XYBevelBorder[0] / TMath::Sin(BevelAngleRad), XYBevelBorder[1] / TMath::Sin(BevelAngleRad)}
Double_t x_delta_top_BP [2] = {XLeftBorder[0], XLeftBorder[1]}
Double_t y_delta_top_BP [2]
Double_t y_delta_bottom_BP [2] = {YBottomBorder[0], YBottomBorder[1]}
Double_t x_delta_bottom_BP [2]
Double_t XDeadZone [2][3]
Double_t YDeadZone [2][3]
const Int_t NStations = 3
const Int_t NMaxModules = 18
const Int_t NModulesInStations [NStations] = {10, 14, 18}
const Double_t XStationPositions [NStations] = {0.0, 0.0, 0.0}
const Double_t YStationPositions [NStations] = {0.0, 0.0, 0.0}
const Double_t ZStationPositions [NStations] = {+15.7, +15.7 + 8.64, +15.7 + 8.64 + 8.64}
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

◆ ModuleType

enum ModuleType
Enumerator
RIGHT_ANGLED_MODULE 
BEVEL_MODULE 
RIGHT_ANGLED_MODULE_HALF 
BEVEL_MODULE_HALF 

Definition at line 188 of file SiliconConfigCalculate_Run8_3stations.C.

◆ StripNumberingDirection

Enumerator
LeftToRight 
RightToLeft 

Definition at line 110 of file SiliconConfigCalculate_Run8_3stations.C.

Function Documentation

◆ CalculateParameters()

◆ PrintInfo()

◆ SiliconConfigCalculate_Run8_3stations()

void SiliconConfigCalculate_Run8_3stations ( )

Definition at line 234 of file SiliconConfigCalculate_Run8_3stations.C.

References CalculateParameters(), and PrintInfo().

Here is the call graph for this function:

Variable Documentation

◆ BevelAngleDeg

Double_t BevelAngleDeg = BevelAngleRad * TMath::RadToDeg()

Definition at line 43 of file SiliconConfigCalculate_Run8_3stations.C.

◆ BevelAngleRad

Definition at line 42 of file SiliconConfigCalculate_Run8_3stations.C.

◆ FirstStripNumberLowLayer

Int_t FirstStripNumberLowLayer[2] = {26, 0}

Definition at line 120 of file SiliconConfigCalculate_Run8_3stations.C.

◆ FirstStripNumberUpLayer

Int_t FirstStripNumberUpLayer[2] = {0, 0}

Definition at line 119 of file SiliconConfigCalculate_Run8_3stations.C.

◆ ModulesTypes

◆ ModulesXRotations

const Bool_t ModulesXRotations[NStations][NMaxModules]
Initial value:
= {
{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 218 of file SiliconConfigCalculate_Run8_3stations.C.

◆ ModulesYRotations

const Bool_t ModulesYRotations[NStations][NMaxModules]
Initial value:
= {
{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 208 of file SiliconConfigCalculate_Run8_3stations.C.

◆ NMaxModules

const Int_t NMaxModules = 18

Definition at line 150 of file SiliconConfigCalculate_Run8_3stations.C.

◆ NModulesInStations

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

Definition at line 152 of file SiliconConfigCalculate_Run8_3stations.C.

◆ NStations

const Int_t NStations = 3

Definition at line 149 of file SiliconConfigCalculate_Run8_3stations.C.

◆ PitchValue

Double_t PitchValue[2] = {0.01029019668, 0.0095}

Definition at line 117 of file SiliconConfigCalculate_Run8_3stations.C.

◆ StripAngle

Double_t StripAngle[2] = {+2.5, +0.0}

Definition at line 118 of file SiliconConfigCalculate_Run8_3stations.C.

◆ StripDirection

◆ x_delta

◆ x_delta_bottom_BP

Double_t x_delta_bottom_BP[2]
Initial value:
= {
constexpr Double_t PiOver2()
Double_t Tan(Double_t)

Definition at line 135 of file SiliconConfigCalculate_Run8_3stations.C.

◆ x_delta_top_BP

Double_t x_delta_top_BP[2] = {XLeftBorder[0], XLeftBorder[1]}

Definition at line 129 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XBevelSize

Double_t XBevelSize = 3.82

Definition at line 39 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XDeadZone

◆ XLeftBorder

Double_t XLeftBorder[2] = {0.1145, 0.10995}

Definition at line 46 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XLeftBorderLowerlayer

Double_t XLeftBorderLowerlayer[2]

◆ XLeftBorderUpperlayer

Double_t XLeftBorderUpperlayer[2]

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+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 }}

Definition at line 161 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XModuleSize

Double_t XModuleSize = 6.3

Definition at line 33 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XOrigLowLayer

Double_t XOrigLowLayer[2] = {XModuleSize - XLeftBorder[0], XModuleSize - XLeftBorder[1]}

Definition at line 76 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XOrigUpLayer

Double_t XOrigUpLayer[2] = {XModuleSize - XLeftBorder[0], XModuleSize - XLeftBorder[1]}

Definition at line 75 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XRightBorder

Double_t XRightBorder[2] = {0.1118, 0.11005}

Definition at line 47 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XRightBorderLowerlayer

Double_t XRightBorderLowerlayer[2]

◆ XRightBorderUpperlayer

Double_t XRightBorderUpperlayer[2]

◆ XShiftFirstStripLowLayer

Double_t XShiftFirstStripLowLayer[2] = {0.00780, 0.0}

Definition at line 61 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XShiftFirstStripUpLayer

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

Definition at line 59 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XShiftLastStripLowLayer

Double_t XShiftLastStripLowLayer[2] = {0.00675, 0.0}

Definition at line 65 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XShiftLastStripUpLayer

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

Definition at line 63 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XSizeLowLayer

Double_t XSizeLowLayer[2]
Initial value:

Definition at line 87 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XSizeUpLayer

Double_t XSizeUpLayer[2]
Initial value:

Definition at line 82 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XStationPositions

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

Definition at line 155 of file SiliconConfigCalculate_Run8_3stations.C.

◆ XYBevelBorder

Double_t XYBevelBorder[2] = {0.1146, 0.1076}

Definition at line 55 of file SiliconConfigCalculate_Run8_3stations.C.

◆ y_delta

◆ y_delta_bottom_BP

Double_t y_delta_bottom_BP[2] = {YBottomBorder[0], YBottomBorder[1]}

Definition at line 134 of file SiliconConfigCalculate_Run8_3stations.C.

◆ y_delta_top_BP

◆ YBevelSize

Double_t YBevelSize = XBevelSize

Definition at line 40 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YBottomBorder

Double_t YBottomBorder[2] = {0.1148, 0.1055}

Definition at line 53 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YDeadZone

Double_t YDeadZone[2][3]
Initial value:

Definition at line 142 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YGapBetweenPartsOfModule

Double_t YGapBetweenPartsOfModule = 0.0035

Definition at line 31 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YLeftBorderLowerlayer

Double_t YLeftBorderLowerlayer[2]

◆ YLeftBorderUpperlayer

Double_t YLeftBorderUpperlayer[2]

◆ YMiddleBorderLowerPart

Double_t YMiddleBorderLowerPart[2] = {0.1147, 0.1055}

Definition at line 51 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YMiddleBorderUpperPart

Double_t YMiddleBorderUpperPart[2] = {0.1121, 0.1055}

Definition at line 50 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YModuleShifts

const Double_t YModuleShifts[NStations][NMaxModules]
Initial value:
= {
{-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 }}

Definition at line 169 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YModuleSize

◆ YModuleSizeLowerPart

Double_t YModuleSizeLowerPart = XModuleSize

Definition at line 35 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YModuleSizeUpperPart

Double_t YModuleSizeUpperPart = XModuleSize

Definition at line 34 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YOrigLowLayer

Double_t YOrigLowLayer[2] = {YBottomBorder[0], YBottomBorder[1]}

Definition at line 80 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YOrigUpLayer

◆ YRightBorderLowerlayer

Double_t YRightBorderLowerlayer[2] = {YOrigLowLayer[0], YOrigLowLayer[1]}

Definition at line 108 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YRightBorderUpperlayer

Double_t YRightBorderUpperlayer[2] = {YOrigUpLayer[0], YOrigUpLayer[1]}

Definition at line 107 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YShiftFirstStripLowLayer

Double_t YShiftFirstStripLowLayer[2] = {0.0, 0.0}

Definition at line 68 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YShiftFirstStripUpLayer

Double_t YShiftFirstStripUpLayer[2] = {0.0, 0.0}

Definition at line 67 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YShiftLastStripLowLayer

Double_t YShiftLastStripLowLayer[2] = {0.0, 0.0}

Definition at line 71 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YShiftLastStripUpLayer

Double_t YShiftLastStripUpLayer[2] = {0.0, 0.0}

Definition at line 70 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YSizeLowLayer

◆ YSizeUpLayer

◆ YStationPositions

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

Definition at line 156 of file SiliconConfigCalculate_Run8_3stations.C.

◆ YTopBorder

Double_t YTopBorder[2] = {0.1143, 0.1143}

Definition at line 49 of file SiliconConfigCalculate_Run8_3stations.C.

◆ ZModuleShifts

const Double_t ZModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+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 }}

Definition at line 177 of file SiliconConfigCalculate_Run8_3stations.C.

◆ ZModuleSize

Double_t ZModuleSize = 0.03

Definition at line 37 of file SiliconConfigCalculate_Run8_3stations.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations] = {+15.7, +15.7 + 8.64, +15.7 + 8.64 + 8.64}

Definition at line 158 of file SiliconConfigCalculate_Run8_3stations.C.