ATLAS Offline Software
Loading...
Searching...
No Matches
AFP_ConfigParams.cxx
Go to the documentation of this file.
1
2/*
3 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4*/
5
7
8//-------------------------------------------------------------------------------------------------------------
10{
11 AFP_SIDCONFIGURATION defsidcfg;
12 defsidcfg.clear();
13 sidcfg[EAS_AFP00]=defsidcfg;
14 sidcfg[EAS_AFP01]=defsidcfg;
15 sidcfg[EAS_AFP02]=defsidcfg;
16 sidcfg[EAS_AFP03]=std::move(defsidcfg);
17
18 AFP_TDCONFIGURATION deftofcfg;
19 deftofcfg.setDefault();
20 tdcfg[EAS_AFP00]=deftofcfg;
21 tdcfg[EAS_AFP01]=deftofcfg; // only stations 0 and 3 have ToF, so these shouldn't be needed
22 tdcfg[EAS_AFP02]=deftofcfg; // however, the code crashes without them
23 tdcfg[EAS_AFP03]=std::move(deftofcfg);
24
27
28 vecStatNominalZPos.resize(4);
33}
34
35//-------------------------------------------------------------------------------------------------------------
43
44//-------------------------------------------------------------------------------------------------------------
66
67//-------------------------------------------------------------------------------------------------------------
68
70{
71 nBarX1ID=4;
72 nBarX2ID=2;
73 fLBarThickness=6.0*CLHEP::mm;
74 fRadLength=56.78*CLHEP::mm;
75 fLGuideLength=71.3*CLHEP::mm;
76}
77
79{
80 nBarX1ID=1;
81 nBarX2ID=1;
82 nTrainID=4;
83 fLBarThickness=6.0*CLHEP::mm;
84 fRadLength=50.0*CLHEP::mm;
85 fRadYDim=5.0*CLHEP::mm;
86 fLGuideWidth=5.0*CLHEP::mm;
87 fLGuideLength=70.0*CLHEP::mm;
88}
90{
95 fPixelX1Dim=6.25;
96 fPixelX2Dim=6.25;
97 bApplyBottomCut=true;
99 bEmulateGlue=true;
100
103
104 mapBarDims.clear();
105
108 fZPosInRPot=0.0;
109
110 //setup train info
112 mapTrainInfo.clear();
113
114 ti.nPmtRow=4; ti.fLGuideWidth=5.0*CLHEP::mm; ti.fPerpShiftInPixel=0.0*CLHEP::mm;
115 ti.bUseTaper=true; ti.fTaperAngle=18.0*CLHEP::deg; ti.fTaperOffset=3.0*CLHEP::mm;
116 ti.fLength=-1.0*CLHEP::mm;
117 mapTrainInfo[1]=ti;
118
119 ti.nPmtRow=3; ti.fLGuideWidth=5.0*CLHEP::mm; ti.fPerpShiftInPixel=0.0*CLHEP::mm;
120 ti.bUseTaper=true; ti.fTaperAngle=18.0*CLHEP::deg; ti.fTaperOffset=1.0*CLHEP::mm;
121 ti.fLength=-1.0*CLHEP::mm;
122 mapTrainInfo[2]=ti;
123
124 ti.nPmtRow=2; ti.fLGuideWidth=5.0*CLHEP::mm; ti.fPerpShiftInPixel=0.0*CLHEP::mm;
125 ti.bUseTaper=false; ti.fTaperAngle=0.0*CLHEP::deg; ti.fTaperOffset=0.0*CLHEP::mm;
126 ti.fLength=-1.0*CLHEP::mm;
127 mapTrainInfo[3]=ti;
128
129 ti.nPmtRow=1; ti.fLGuideWidth=5.5*CLHEP::mm; ti.fPerpShiftInPixel=0.25*CLHEP::mm;
130 ti.bUseTaper=false; ti.fTaperAngle=0.0*CLHEP::deg; ti.fTaperOffset=0.0*CLHEP::mm;
131 ti.fLength=-1.0*CLHEP::mm;
132 mapTrainInfo[4]=ti;
133}
@ ELBT_METALELBOW
@ ESRM_SINGLE
@ EAS_AFP02
@ EAS_AFP03
@ EAS_AFP00
@ EAS_AFP01
std::map< eAFPStation, AFP_TDCONFIGURATION > tdcfg
std::vector< double > vecRPotFloorDistance
std::vector< double > vecRPotYPos
std::vector< double > vecStatNominalZPos
std::map< eAFPStation, AFP_SIDCONFIGURATION > sidcfg
static constexpr double ToF_TrainsCnt
static constexpr double SiT_Pixel_x
static constexpr double Stat_OuterZDistance
static constexpr double SiT_Chip_x
static constexpr double SiT_Pixel_y
static constexpr double SiT_Chip_rot
static constexpr double Stat_ShiftInYAxis
static constexpr double ToF_NominalSlope
static constexpr double SiT_Plate_rot_xz
static constexpr double SiT_DistanceToFloor
static constexpr double SiT_Plate_zsep
static constexpr double Stat_InnerZDistance
static constexpr double ToF_DistanceToFloor
static constexpr double SiT_ZDistanceInRPot
static constexpr double SiT_Chip_length_y
static constexpr double SiT_Plate_amount
static constexpr double SiT_Chip_y
static constexpr double Stat_RPotFloorDistance
static constexpr double SiT_Chip_length_x
static constexpr double ToF_ColumnsCnt
std::vector< double > vecChipXLength
std::vector< double > vecChipYPos
std::vector< double > vecSensorXPos
std::vector< double > vecYStaggering
std::vector< double > vecChipRotAngle
std::vector< double > vecChipXPos
std::vector< double > vecSensorYPos
HepGeom::Transform3D TransInStation
std::vector< double > vecChipYLength
std::vector< double > vecXStaggering
eSkinReflectivityMode eSReflecMode
std::map< int, AFPTOF_LBARDIMENSIONS > mapBarDims
std::map< int, AFPTOF_TRAININFO > mapTrainInfo