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

Go to the source code of this file.

Enumerations

enum  StripNumberingDirection { LeftToRight , RightToLeft }

Functions

void CalculateParameters (TString config_name, TString author, TString date)
void GemConfigCalculate_Run9 ()

Variables

const Int_t NStations = 8
const Int_t NMaxModules = 4
const Int_t NModulesInStations [NStations] = {4, 4, 4, 4, 4, 4, 4, 1}
const Double_t XStationPositions [NStations]
const Double_t YStationPositions [NStations]
const Double_t ZStationPositions [NStations]
const Double_t xShift [NStations]
const Double_t yShift [NStations]
const Double_t zShift [NStations]
const Double_t XModuleShifts [NStations][NMaxModules]
const Double_t YModuleShifts [NStations][NMaxModules]
const Double_t ZModuleShifts [NStations][NMaxModules]
const Bool_t YStationRotations [NStations]
const Bool_t XStationRotations [NStations]
const Bool_t DriftDirectionInModules [NStations][NMaxModules]
const Double_t Gap_Drift_Thickness = 0.3
const Double_t Gap_FirstTransfer_Thickness = 0.25
const Double_t Gap_SecondTransfer_Thickness = 0.2
const Double_t Gap_Induction_Thickness = 0.15
const Double_t StripPitch_UHP = 0.08
const Double_t XMainZoneLayerSize_UHP = 81.6
const Double_t YMainZoneLayerSize_UHP = 45.0
const Double_t XHotZoneLayerSize_StraightStrips_UHP = 40.0
const Double_t YHotZoneLayerSize_StraightStrips_UHP = 15.0
const Double_t XHotZoneLayerSize_InclinedStrips_UHP [2] = {37.99, 42.01}
const Double_t YHotZoneLayerSize_InclinedStrips_UHP = 15.0
const Double_t StripPitch_LHP = 0.08
const Double_t XMainZoneLayerSize_LHP = 81.6
const Double_t YMainZoneLayerSize_LHP = 39.0
const Double_t XHotZoneLayerSize_StraightStrips_LHP = 40.0
const Double_t YHotZoneLayerSize_StraightStrips_LHP = 15.0
const Double_t XHotZoneLayerSize_InclinedStrips_LHP [2] = {37.99, 42.01}
const Double_t YHotZoneLayerSize_InclinedStrips_LHP = 15.0
const Double_t StripPitch_SMALL = 0.04
const Double_t XMainZoneLayerSize_SMALL = 10.0
const Double_t YMainZoneLayerSize_SMALL = 10.0
const Int_t NMaxLayersInModule = 4
const Int_t NLayersInModule [NStations] = {4, 4, 4, 4, 4, 4, 4, 2 }
const Int_t ZoneTypeOfLayers [NStations][NMaxLayersInModule]
const char * StripTypeOfLayes [NStations][NMaxLayersInModule]
const Double_t StripStereoAngleInModules [NStations][NMaxModules]
StripNumberingDirection StripDirection [2] = {LeftToRight, RightToLeft}
Double_t HoleRadius = 4.0 + 2.0
Double_t XDeadZone_Rect_UHP [4]
Double_t YDeadZone_Rect_UHP [4]
Double_t XDeadZone_TrapLeft_UHP [4]
Double_t YDeadZone_TrapLeft_UHP [4]
Double_t XDeadZone_TrapRight_UHP [4]
Double_t YDeadZone_TrapRight_UHP [4]
Double_t XDeadZone_TrianLeft_UHP [3]
Double_t YDeadZone_TrianLeft_UHP [3]
Double_t XDeadZone_TrianRight_UHP [3]
Double_t YDeadZone_TrianRight_UHP [3]
const UInt_t NPoints_DeadZone_Hole_UHP = 5
Double_t XDeadZone_Hole_UHP [NPoints_DeadZone_Hole_UHP]
Double_t YDeadZone_Hole_UHP [NPoints_DeadZone_Hole_UHP]
Double_t XDeadZone_Rect_LHP [4]
Double_t YDeadZone_Rect_LHP [4]
Double_t XDeadZone_TrapLeft_LHP [4]
Double_t YDeadZone_TrapLeft_LHP [4]
Double_t XDeadZone_TrapRight_LHP [4]
Double_t YDeadZone_TrapRight_LHP [4]
Double_t XDeadZone_TrianLeft_LHP [3]
Double_t YDeadZone_TrianLeft_LHP [3]
Double_t XDeadZone_TrianRight_LHP [3]
Double_t YDeadZone_TrianRight_LHP [3]
const UInt_t NPoints_DeadZone_Hole_LHP = 5
Double_t XDeadZone_Hole_LHP [NPoints_DeadZone_Hole_LHP]
Double_t YDeadZone_Hole_LHP [NPoints_DeadZone_Hole_LHP]

Enumeration Type Documentation

◆ StripNumberingDirection

Enumerator
LeftToRight 
RightToLeft 

Definition at line 280 of file GemConfigCalculate_Run9.C.

Function Documentation

◆ CalculateParameters()

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

Definition at line 422 of file GemConfigCalculate_Run9.C.

References TString::Data(), DriftDirectionInModules, Gap_Drift_Thickness, Gap_FirstTransfer_Thickness, Gap_Induction_Thickness, Gap_SecondTransfer_Thickness, HoleRadius, NLayersInModule, NModulesInStations, NPoints_DeadZone_Hole_LHP, NPoints_DeadZone_Hole_UHP, NStations, StripPitch_LHP, StripPitch_SMALL, StripPitch_UHP, StripStereoAngleInModules, StripTypeOfLayes, XDeadZone_Hole_LHP, XDeadZone_Hole_UHP, XDeadZone_Rect_LHP, XDeadZone_Rect_UHP, XDeadZone_TrapLeft_LHP, XDeadZone_TrapLeft_UHP, XDeadZone_TrapRight_LHP, XDeadZone_TrapRight_UHP, XDeadZone_TrianLeft_LHP, XDeadZone_TrianLeft_UHP, XDeadZone_TrianRight_LHP, XDeadZone_TrianRight_UHP, XHotZoneLayerSize_InclinedStrips_LHP, XHotZoneLayerSize_InclinedStrips_UHP, XHotZoneLayerSize_StraightStrips_LHP, XHotZoneLayerSize_StraightStrips_UHP, XMainZoneLayerSize_LHP, XMainZoneLayerSize_SMALL, XMainZoneLayerSize_UHP, XModuleShifts, XStationPositions, XStationRotations, YDeadZone_Hole_LHP, YDeadZone_Hole_UHP, YDeadZone_Rect_LHP, YDeadZone_Rect_UHP, YDeadZone_TrapLeft_LHP, YDeadZone_TrapLeft_UHP, YDeadZone_TrapRight_LHP, YDeadZone_TrapRight_UHP, YDeadZone_TrianLeft_LHP, YDeadZone_TrianLeft_UHP, YDeadZone_TrianRight_LHP, YDeadZone_TrianRight_UHP, YHotZoneLayerSize_InclinedStrips_LHP, YHotZoneLayerSize_InclinedStrips_UHP, YHotZoneLayerSize_StraightStrips_LHP, YHotZoneLayerSize_StraightStrips_UHP, YMainZoneLayerSize_LHP, YMainZoneLayerSize_SMALL, YMainZoneLayerSize_UHP, YModuleShifts, YStationPositions, YStationRotations, ZModuleShifts, ZoneTypeOfLayers, and ZStationPositions.

Here is the call graph for this function:

◆ GemConfigCalculate_Run9()

void GemConfigCalculate_Run9 ( )

Definition at line 406 of file GemConfigCalculate_Run9.C.

References CalculateParameters().

Here is the call graph for this function:

Variable Documentation

◆ DriftDirectionInModules

const Bool_t DriftDirectionInModules[NStations][NMaxModules]
Initial value:
= {
{false, false, true, true},
{true, true, false, false},
{false, false, true, true},
{true, true, false, false},
{false, false, true, true},
{true, true, false, false},
{false, false, true, true},
{true}
}

Definition at line 190 of file GemConfigCalculate_Run9.C.

◆ Gap_Drift_Thickness

const Double_t Gap_Drift_Thickness = 0.3

Definition at line 202 of file GemConfigCalculate_Run9.C.

◆ Gap_FirstTransfer_Thickness

const Double_t Gap_FirstTransfer_Thickness = 0.25

Definition at line 203 of file GemConfigCalculate_Run9.C.

◆ Gap_Induction_Thickness

const Double_t Gap_Induction_Thickness = 0.15

Definition at line 205 of file GemConfigCalculate_Run9.C.

◆ Gap_SecondTransfer_Thickness

const Double_t Gap_SecondTransfer_Thickness = 0.2

Definition at line 204 of file GemConfigCalculate_Run9.C.

◆ HoleRadius

Double_t HoleRadius = 4.0 + 2.0

Definition at line 287 of file GemConfigCalculate_Run9.C.

◆ NLayersInModule

const Int_t NLayersInModule[NStations] = {4, 4, 4, 4, 4, 4, 4, 2 }

Definition at line 241 of file GemConfigCalculate_Run9.C.

◆ NMaxLayersInModule

const Int_t NMaxLayersInModule = 4

Definition at line 240 of file GemConfigCalculate_Run9.C.

◆ NMaxModules

const Int_t NMaxModules = 4

Definition at line 28 of file GemConfigCalculate_Run9.C.

◆ NModulesInStations

const Int_t NModulesInStations[NStations] = {4, 4, 4, 4, 4, 4, 4, 1}

Definition at line 30 of file GemConfigCalculate_Run9.C.

◆ NPoints_DeadZone_Hole_LHP

const UInt_t NPoints_DeadZone_Hole_LHP = 5

Definition at line 381 of file GemConfigCalculate_Run9.C.

◆ NPoints_DeadZone_Hole_UHP

const UInt_t NPoints_DeadZone_Hole_UHP = 5

Definition at line 325 of file GemConfigCalculate_Run9.C.

◆ NStations

const Int_t NStations = 8

Definition at line 27 of file GemConfigCalculate_Run9.C.

◆ StripDirection

Definition at line 285 of file GemConfigCalculate_Run9.C.

◆ StripPitch_LHP

const Double_t StripPitch_LHP = 0.08

Definition at line 221 of file GemConfigCalculate_Run9.C.

◆ StripPitch_SMALL

const Double_t StripPitch_SMALL = 0.04

Definition at line 234 of file GemConfigCalculate_Run9.C.

◆ StripPitch_UHP

const Double_t StripPitch_UHP = 0.08

Definition at line 208 of file GemConfigCalculate_Run9.C.

◆ StripStereoAngleInModules

const Double_t StripStereoAngleInModules[NStations][NMaxModules]
Initial value:
= {
{+15.0, +15.0, -15.0, -15.0},
{+15.0, +15.0, -15.0, -15.0},
{+15.0, +15.0, -15.0, -15.0},
{+15.0, +15.0, -15.0, -15.0},
{+15.0, +15.0, -15.0, -15.0},
{+15.0, +15.0, -15.0, -15.0},
{+15.0, +15.0, -15.0, -15.0},
{+90.0}
}

Definition at line 268 of file GemConfigCalculate_Run9.C.

◆ StripTypeOfLayes

const char* StripTypeOfLayes[NStations][NMaxLayersInModule]
Initial value:
= {
{"lower", "upper", "lower", "upper"},
{"lower", "upper", "lower", "upper"},
{"lower", "upper", "lower", "upper"},
{"lower", "upper", "lower", "upper"},
{"lower", "upper", "lower", "upper"},
{"lower", "upper", "lower", "upper"},
{"lower", "upper", "lower", "upper"},
{"lower", "upper"}
}

Definition at line 255 of file GemConfigCalculate_Run9.C.

◆ XDeadZone_Hole_LHP

Double_t XDeadZone_Hole_LHP[NPoints_DeadZone_Hole_LHP]
Initial value:
= {
Double_t HoleRadius
const Double_t XMainZoneLayerSize_LHP
constexpr Double_t DegToRad()
Double_t Cos(Double_t)

Definition at line 382 of file GemConfigCalculate_Run9.C.

◆ XDeadZone_Hole_UHP

Double_t XDeadZone_Hole_UHP[NPoints_DeadZone_Hole_UHP]
Initial value:

Definition at line 326 of file GemConfigCalculate_Run9.C.

◆ XDeadZone_Rect_LHP

Double_t XDeadZone_Rect_LHP[4]
Initial value:

Definition at line 346 of file GemConfigCalculate_Run9.C.

◆ XDeadZone_Rect_UHP

Double_t XDeadZone_Rect_UHP[4]
Initial value:

Definition at line 290 of file GemConfigCalculate_Run9.C.

◆ XDeadZone_TrapLeft_LHP

Double_t XDeadZone_TrapLeft_LHP[4]
Initial value:

Definition at line 353 of file GemConfigCalculate_Run9.C.

◆ XDeadZone_TrapLeft_UHP

Double_t XDeadZone_TrapLeft_UHP[4]
Initial value:

Definition at line 297 of file GemConfigCalculate_Run9.C.

◆ XDeadZone_TrapRight_LHP

Double_t XDeadZone_TrapRight_LHP[4]

◆ XDeadZone_TrapRight_UHP

Double_t XDeadZone_TrapRight_UHP[4]

◆ XDeadZone_TrianLeft_LHP

◆ XDeadZone_TrianLeft_UHP

◆ XDeadZone_TrianRight_LHP

◆ XDeadZone_TrianRight_UHP

◆ XHotZoneLayerSize_InclinedStrips_LHP

const Double_t XHotZoneLayerSize_InclinedStrips_LHP[2] = {37.99, 42.01}

Definition at line 229 of file GemConfigCalculate_Run9.C.

◆ XHotZoneLayerSize_InclinedStrips_UHP

const Double_t XHotZoneLayerSize_InclinedStrips_UHP[2] = {37.99, 42.01}

Definition at line 216 of file GemConfigCalculate_Run9.C.

◆ XHotZoneLayerSize_StraightStrips_LHP

const Double_t XHotZoneLayerSize_StraightStrips_LHP = 40.0

Definition at line 226 of file GemConfigCalculate_Run9.C.

◆ XHotZoneLayerSize_StraightStrips_UHP

const Double_t XHotZoneLayerSize_StraightStrips_UHP = 40.0

Definition at line 213 of file GemConfigCalculate_Run9.C.

◆ XMainZoneLayerSize_LHP

const Double_t XMainZoneLayerSize_LHP = 81.6

Definition at line 223 of file GemConfigCalculate_Run9.C.

◆ XMainZoneLayerSize_SMALL

const Double_t XMainZoneLayerSize_SMALL = 10.0

Definition at line 236 of file GemConfigCalculate_Run9.C.

◆ XMainZoneLayerSize_UHP

const Double_t XMainZoneLayerSize_UHP = 81.6

Definition at line 210 of file GemConfigCalculate_Run9.C.

◆ XModuleShifts

const Double_t XModuleShifts[NStations][NMaxModules]
Initial value:
= {
{163.2 * 0.25 + xShift[0], -163.2 * 0.25 + xShift[0],
163.2 * 0.25, -163.2 * 0.25},
{163.2 * 0.25, -163.2 * 0.25,
163.2 * 0.25 + xShift[1], -163.2 * 0.25 + xShift[1]},
{163.2 * 0.25 + xShift[2], -163.2 * 0.25 + xShift[2],
163.2 * 0.25, -163.2 * 0.25},
{163.2 * 0.25, -163.2 * 0.25,
163.2 * 0.25 + xShift[3], -163.2 * 0.25 + xShift[3]},
{163.2 * 0.25 + xShift[4], -163.2 * 0.25 + xShift[4],
163.2 * 0.25, -163.2 * 0.25},
{163.2 * 0.25, -163.2 * 0.25,
163.2 * 0.25 + xShift[5], -163.2 * 0.25 + xShift[5]},
{163.2 * 0.25 + xShift[6], -163.2 * 0.25 + xShift[6],
163.2 * 0.25, -163.2 * 0.25},
{0.0}
}
const Double_t xShift[NStations]

Definition at line 101 of file GemConfigCalculate_Run9.C.

◆ xShift

const Double_t xShift[NStations]
Initial value:
= {
+0.111,
+0.142,
+0.081,
+0.100,
+0.092,
+0.113,
+0.155,
+0.0
}

Definition at line 69 of file GemConfigCalculate_Run9.C.

◆ XStationPositions

const Double_t XStationPositions[NStations]
Initial value:
= {
+1.419,
+2.529,
+3.408,
+4.697,
+6.335,
+8.213,
+9.784,
+50.494
}

Definition at line 33 of file GemConfigCalculate_Run9.C.

◆ XStationRotations

const Bool_t XStationRotations[NStations]
Initial value:
= {false , false , false , false ,
false , false , false , false }

Definition at line 186 of file GemConfigCalculate_Run9.C.

◆ YDeadZone_Hole_LHP

Double_t YDeadZone_Hole_LHP[NPoints_DeadZone_Hole_LHP]
Initial value:

Definition at line 387 of file GemConfigCalculate_Run9.C.

◆ YDeadZone_Hole_UHP

◆ YDeadZone_Rect_LHP

Double_t YDeadZone_Rect_LHP[4]
Initial value:

Definition at line 349 of file GemConfigCalculate_Run9.C.

◆ YDeadZone_Rect_UHP

Double_t YDeadZone_Rect_UHP[4]
Initial value:

Definition at line 293 of file GemConfigCalculate_Run9.C.

◆ YDeadZone_TrapLeft_LHP

Double_t YDeadZone_TrapLeft_LHP[4]
Initial value:

Definition at line 356 of file GemConfigCalculate_Run9.C.

◆ YDeadZone_TrapLeft_UHP

Double_t YDeadZone_TrapLeft_UHP[4]
Initial value:

Definition at line 300 of file GemConfigCalculate_Run9.C.

◆ YDeadZone_TrapRight_LHP

Double_t YDeadZone_TrapRight_LHP[4]

◆ YDeadZone_TrapRight_UHP

Double_t YDeadZone_TrapRight_UHP[4]

◆ YDeadZone_TrianLeft_LHP

Double_t YDeadZone_TrianLeft_LHP[3]

◆ YDeadZone_TrianLeft_UHP

Double_t YDeadZone_TrianLeft_UHP[3]

◆ YDeadZone_TrianRight_LHP

Double_t YDeadZone_TrianRight_LHP[3]
Initial value:

Definition at line 377 of file GemConfigCalculate_Run9.C.

◆ YDeadZone_TrianRight_UHP

Double_t YDeadZone_TrianRight_UHP[3]
Initial value:

Definition at line 321 of file GemConfigCalculate_Run9.C.

◆ YHotZoneLayerSize_InclinedStrips_LHP

const Double_t YHotZoneLayerSize_InclinedStrips_LHP = 15.0

Definition at line 230 of file GemConfigCalculate_Run9.C.

◆ YHotZoneLayerSize_InclinedStrips_UHP

const Double_t YHotZoneLayerSize_InclinedStrips_UHP = 15.0

Definition at line 217 of file GemConfigCalculate_Run9.C.

◆ YHotZoneLayerSize_StraightStrips_LHP

const Double_t YHotZoneLayerSize_StraightStrips_LHP = 15.0

Definition at line 227 of file GemConfigCalculate_Run9.C.

◆ YHotZoneLayerSize_StraightStrips_UHP

const Double_t YHotZoneLayerSize_StraightStrips_UHP = 15.0

Definition at line 214 of file GemConfigCalculate_Run9.C.

◆ YMainZoneLayerSize_LHP

const Double_t YMainZoneLayerSize_LHP = 39.0

Definition at line 224 of file GemConfigCalculate_Run9.C.

◆ YMainZoneLayerSize_SMALL

const Double_t YMainZoneLayerSize_SMALL = 10.0

Definition at line 237 of file GemConfigCalculate_Run9.C.

◆ YMainZoneLayerSize_UHP

const Double_t YMainZoneLayerSize_UHP = 45.0

Definition at line 211 of file GemConfigCalculate_Run9.C.

◆ YModuleShifts

const Double_t YModuleShifts[NStations][NMaxModules]
Initial value:
= {
{+22.5 + yShift[0], +22.5 + yShift[0],
-19.5, -19.5},
{+22.5, +22.5,
-19.5 + yShift[1], -19.5 + yShift[1]},
{+22.5 + yShift[2], +22.5 + yShift[2],
-19.5, -19.5},
{+22.5, +22.5,
-19.5 + yShift[3], -19.5 + yShift[3]},
{+22.5 + yShift[4], +22.5 + yShift[4],
-19.5, -19.5},
{+22.5, +22.5,
-19.5 + yShift[5], -19.5 + yShift[5]},
{+22.5 + yShift[6], +22.5 + yShift[6],
-19.5, -19.5},
{0.0}
}
const Double_t yShift[NStations]

Definition at line 125 of file GemConfigCalculate_Run9.C.

◆ yShift

const Double_t yShift[NStations]
Initial value:
= {
+0.008,
-0.100,
+0.048,
+0.042,
+0.109,
-0.089,
+0.168,
+0.0
}

Definition at line 79 of file GemConfigCalculate_Run9.C.

◆ YStationPositions

const Double_t YStationPositions[NStations]
Initial value:
= {
-0.032,
+0.123,
+0.026,
-0.013,
-0.026,
+0.058,
-0.048,
-0.186
}

Definition at line 45 of file GemConfigCalculate_Run9.C.

◆ YStationRotations

const Bool_t YStationRotations[NStations]
Initial value:
= {true , false , true , false ,
true , false , true , false }

Definition at line 182 of file GemConfigCalculate_Run9.C.

◆ ZModuleShifts

const Double_t ZModuleShifts[NStations][NMaxModules]
Initial value:
= {
{zShift[0], zShift[0], 0.0, 0.0},
{0.0, 0.0, zShift[1], zShift[1]},
{zShift[2], zShift[2], 0.0, 0.0},
{0.0, 0.0, zShift[3], zShift[3]},
{zShift[4], zShift[4], 0.0, 0.0},
{0.0, 0.0, zShift[5], zShift[5]},
{zShift[6], zShift[6], 0.0, 0.0},
{0.0}
}
const Double_t zShift[NStations]

Definition at line 149 of file GemConfigCalculate_Run9.C.

◆ ZoneTypeOfLayers

const Int_t ZoneTypeOfLayers[NStations][NMaxLayersInModule]
Initial value:
= {
{0, 0, 1, 1},
{0, 0, 1, 1},
{0, 0, 1, 1},
{0, 0, 1, 1},
{0, 0, 1, 1},
{0, 0, 1, 1},
{0, 0, 1, 1},
{0, 0}
}

Definition at line 243 of file GemConfigCalculate_Run9.C.

◆ zShift

const Double_t zShift[NStations]
Initial value:
= {
+4.691,
+4.158,
+4.672,
+4.124,
+4.683,
+3.995,
+4.063,
+0.0
}

Definition at line 89 of file GemConfigCalculate_Run9.C.

◆ ZStationPositions

const Double_t ZStationPositions[NStations]
Initial value:
= {
+61.107,
+92.313,
+123.541,
+154.778,
+185.458,
+217.141,
+248.367,
+792.532
}

Definition at line 57 of file GemConfigCalculate_Run9.C.