ATLAS Offline Software
AFP_ConfigParams.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef AFP_CONFIGPARAMS_H
6 #define AFP_CONFIGPARAMS_H
7 
8 #include <list>
9 #include <map>
10 #include <vector>
11 #include <string>
12 
13 #include "CLHEP/Geometry/Transform3D.h"
15 
19 
23 
24 //--------------------------------------------------------------------------------------------
27  {
28  nPmtRow=-1;
29  bUseTaper=false;
30  fTaperOffset=0.0;
31  fTaperAngle=0.0;
32  fLength=-1.0;
33  fLGuideWidth=-1.0;
35  }
36 
37  int nPmtRow;
38  bool bUseTaper;
39  double fTaperOffset;
40  double fTaperAngle;
41  double fLength;
42  double fLGuideWidth;
44 };
45 
48  {
49  setDefaults();
50  }
51 
52  int nBarX1ID;
53  int nBarX2ID;
55  double fRadLength;
56  double fLGuideLength;
57 
58  void setDefaults();
59 };
60 
63  {
64  setDefaults();
65  }
66 
67  int nBarX1ID;
68  int nBarX2ID;
69  int nTrainID;
71  double fRadLength;
72  double fRadYDim;
73  double fLGuideWidth;
74  double fLGuideLength;
75 
76  void setDefaults();
77 };
78 
79 //--------------------------------------------------------------------------------------------
80 
83  double fAlpha;
84  int nX1PixCnt;
85  int nX2PixCnt;
86  double fPixelX1Dim;
87  double fPixelX2Dim;
91 
94  std::map<int,AFPTOF_LBARDIMENSIONS> mapBarDims;
95  std::map<int,AFPTOF_TRAININFO> mapTrainInfo;
97 
99  double fYPosInRPot;
100  double fZPosInRPot;
101 
102  void setDefault();
103 };
104 
106  double fSlope;
107  double fLayerCount;
111 
112  std::vector<double> vecXStaggering; //distance to floor
113  std::vector<double> vecYStaggering; // zero for now
114 
115  std::vector<double> vecChipXPos;
116  std::vector<double> vecChipYPos;
117  std::vector<double> vecChipRotAngle;
118  std::vector<double> vecChipXLength;
119  std::vector<double> vecChipYLength;
120  std::vector<double> vecSensorXPos;
121  std::vector<double> vecSensorYPos;
122 
124 
125  void clear();
126 };
127 
132  void clear();
133 };
134 
136  std::map<eAFPStation, AFP_SIDCONFIGURATION> sidcfg;
137  std::map<eAFPStation, AFP_TDCONFIGURATION> tdcfg;
138 
139  std::vector<double> vecRPotFloorDistance;
140  std::vector<double> vecRPotYPos;
141  std::vector<double> vecStatNominalZPos;
142 
143  void clear();
144 };
145 
146 #endif // AFP_CONFIGPARAMS_H
AFP_SIDCONFIGURATION
Definition: AFP_ConfigParams.h:105
AFP_SIDCONFIGURATION::fLayerSpacing
double fLayerSpacing
Definition: AFP_ConfigParams.h:108
EAS_AFP02
@ EAS_AFP02
Definition: AFP_ConfigParams.h:18
ELBT_METALELBOW
@ ELBT_METALELBOW
Definition: AFP_ConfigParams.h:20
AFPTOF_LBARREFDIMENSIONS::AFPTOF_LBARREFDIMENSIONS
AFPTOF_LBARREFDIMENSIONS()
Definition: AFP_ConfigParams.h:47
ESTT_SUPPORT
@ ESTT_SUPPORT
Definition: AFP_ConfigParams.h:17
AFP_TDCONFIGURATION::fSkinReflectivity
double fSkinReflectivity
Definition: AFP_ConfigParams.h:92
AFP_TDCONFIGURATION::nX2PixCnt
int nX2PixCnt
Definition: AFP_ConfigParams.h:85
AFP_SIDCONFIGURATION::vecChipYLength
std::vector< double > vecChipYLength
Definition: AFP_ConfigParams.h:119
AFPTOF_LBARREFDIMENSIONS::setDefaults
void setDefaults()
Definition: AFP_ConfigParams.cxx:69
ELBT_MIKELBAR
@ ELBT_MIKELBAR
Definition: AFP_ConfigParams.h:20
ELBT_HYBRIDMETALELBOW
@ ELBT_HYBRIDMETALELBOW
Definition: AFP_ConfigParams.h:20
AFPTOF_LBARREFDIMENSIONS::nBarX1ID
int nBarX1ID
Definition: AFP_ConfigParams.h:52
AFP_HBPCONFIGURATION::windowPlateThickness
double windowPlateThickness
Definition: AFP_ConfigParams.h:129
AFP_TDCONFIGURATION::setDefault
void setDefault()
Definition: AFP_ConfigParams.cxx:89
ESTT_SENSORLOCAL
@ ESTT_SENSORLOCAL
Definition: AFP_ConfigParams.h:17
ESTT_SENSORGLOBAL
@ ESTT_SENSORGLOBAL
Definition: AFP_ConfigParams.h:17
AFP_CONFIGURATION::sidcfg
std::map< eAFPStation, AFP_SIDCONFIGURATION > sidcfg
Definition: AFP_ConfigParams.h:136
EAS_UNKNOWN
@ EAS_UNKNOWN
Definition: AFP_ConfigParams.h:18
EAS_AFP00
@ EAS_AFP00
Definition: AFP_ConfigParams.h:18
AFPTOF_LBARREFDIMENSIONS::nBarX2ID
int nBarX2ID
Definition: AFP_ConfigParams.h:53
AFP_constants.h
AFP_TDCONFIGURATION
Definition: AFP_ConfigParams.h:81
AFPTOF_TRAININFO::fTaperAngle
double fTaperAngle
Definition: AFP_ConfigParams.h:40
EAS_AFP01
@ EAS_AFP01
Definition: AFP_ConfigParams.h:18
ELBT_ONEARMAIRGUIDE
@ ELBT_ONEARMAIRGUIDE
Definition: AFP_ConfigParams.h:20
ESE_RPOT
@ ESE_RPOT
Definition: AFP_ConfigParams.h:16
eSkinReflectivityMode
eSkinReflectivityMode
Definition: AFP_ConfigParams.h:21
AFP_TDCONFIGURATION::eType
eLBarType eType
Definition: AFP_ConfigParams.h:82
ESTT_SENSOR
@ ESTT_SENSOR
Definition: AFP_ConfigParams.h:17
ELBT_AIRGUIDE
@ ELBT_AIRGUIDE
Definition: AFP_ConfigParams.h:20
AFPTOF_LBARDIMENSIONS::fLBarThickness
double fLBarThickness
Definition: AFP_ConfigParams.h:70
eLBarType
eLBarType
Definition: AFP_ConfigParams.h:20
AFP_CONFIGURATION::vecRPotFloorDistance
std::vector< double > vecRPotFloorDistance
Definition: AFP_ConfigParams.h:139
ESTT_VACUUMSENSOR
@ ESTT_VACUUMSENSOR
Definition: AFP_ConfigParams.h:17
AFP_HBPCONFIGURATION
Definition: AFP_ConfigParams.h:128
AFP_SIDCONFIGURATION::fLayerCount
double fLayerCount
Definition: AFP_ConfigParams.h:107
AFP_TDCONFIGURATION::fZPosInRPot
double fZPosInRPot
Definition: AFP_ConfigParams.h:100
AFPTOF_LBARDIMENSIONS::nBarX2ID
int nBarX2ID
Definition: AFP_ConfigParams.h:68
AFP_HBPCONFIGURATION::clear
void clear()
Definition: AFP_ConfigParams.cxx:36
AFP_SIDCONFIGURATION::vecSensorXPos
std::vector< double > vecSensorXPos
Definition: AFP_ConfigParams.h:120
AFP_TDCONFIGURATION::bEmulateImmersion
bool bEmulateImmersion
Definition: AFP_ConfigParams.h:89
AFPTOF_TRAININFO::fLength
double fLength
Definition: AFP_ConfigParams.h:41
AFP_SIDCONFIGURATION::vecSensorYPos
std::vector< double > vecSensorYPos
Definition: AFP_ConfigParams.h:121
ELBT_ONEARM
@ ELBT_ONEARM
Definition: AFP_ConfigParams.h:20
AFPTOF_TRAININFO::bUseTaper
bool bUseTaper
Definition: AFP_ConfigParams.h:38
ESRM_SPECTRAL1
@ ESRM_SPECTRAL1
Definition: AFP_ConfigParams.h:21
AFP_TDCONFIGURATION::bApplyBottomCut
bool bApplyBottomCut
Definition: AFP_ConfigParams.h:88
AFP_SIDCONFIGURATION::bAddVacuumSensors
bool bAddVacuumSensors
Definition: AFP_ConfigParams.h:110
ELBT_REGULAR
@ ELBT_REGULAR
Definition: AFP_ConfigParams.h:20
AFP_TDCONFIGURATION::fYPosInRPot
double fYPosInRPot
Definition: AFP_ConfigParams.h:99
ESE_TOF
@ ESE_TOF
Definition: AFP_ConfigParams.h:16
AFP_SIDCONFIGURATION::vecChipYPos
std::vector< double > vecChipYPos
Definition: AFP_ConfigParams.h:116
AFP_CONFIGURATION
Definition: AFP_ConfigParams.h:135
EM_QUARTZ
@ EM_QUARTZ
Definition: AFP_ConfigParams.h:22
AFP_CONFIGURATION::tdcfg
std::map< eAFPStation, AFP_TDCONFIGURATION > tdcfg
Definition: AFP_ConfigParams.h:137
AFP_SIDCONFIGURATION::vecXStaggering
std::vector< double > vecXStaggering
Definition: AFP_ConfigParams.h:112
ELBT_UNDEFINED
@ ELBT_UNDEFINED
Definition: AFP_ConfigParams.h:20
Amg::Transform3D
Eigen::Affine3d Transform3D
Definition: GeoPrimitives.h:46
AFPTOF_TRAININFO::fLGuideWidth
double fLGuideWidth
Definition: AFP_ConfigParams.h:42
eMaterial
eMaterial
Definition: AFP_ConfigParams.h:22
AFPTOF_TRAININFO::fTaperOffset
double fTaperOffset
Definition: AFP_ConfigParams.h:39
AFPTOF_LBARDIMENSIONS::fLGuideLength
double fLGuideLength
Definition: AFP_ConfigParams.h:74
AFP_CONFIGURATION::vecStatNominalZPos
std::vector< double > vecStatNominalZPos
Definition: AFP_ConfigParams.h:141
AFPTOF_TRAININFO::AFPTOF_TRAININFO
AFPTOF_TRAININFO()
Definition: AFP_ConfigParams.h:26
EAS_AFP03
@ EAS_AFP03
Definition: AFP_ConfigParams.h:18
eSIDTransformType
eSIDTransformType
Definition: AFP_ConfigParams.h:17
AFP_TDCONFIGURATION::mapTrainInfo
std::map< int, AFPTOF_TRAININFO > mapTrainInfo
Definition: AFP_ConfigParams.h:95
eAFPStation
eAFPStation
Definition: AFP_ConfigParams.h:18
AFP_TDCONFIGURATION::bEmulateGlue
bool bEmulateGlue
Definition: AFP_ConfigParams.h:90
AFPTOF_LBARDIMENSIONS::nBarX1ID
int nBarX1ID
Definition: AFP_ConfigParams.h:67
AFP_TDCONFIGURATION::eSReflecMode
eSkinReflectivityMode eSReflecMode
Definition: AFP_ConfigParams.h:93
AFP_HBPCONFIGURATION::windowPlatesInsteadOfHB
bool windowPlatesInsteadOfHB
Definition: AFP_ConfigParams.h:130
AFPTOF_LBARREFDIMENSIONS::fLBarThickness
double fLBarThickness
Definition: AFP_ConfigParams.h:54
AFP_SIDCONFIGURATION::vecChipXLength
std::vector< double > vecChipXLength
Definition: AFP_ConfigParams.h:118
AFPTOF_LBARDIMENSIONS
Definition: AFP_ConfigParams.h:61
AFP_TDCONFIGURATION::RefBarDims
AFPTOF_LBARREFDIMENSIONS RefBarDims
Definition: AFP_ConfigParams.h:96
ELBT_HYBRID
@ ELBT_HYBRID
Definition: AFP_ConfigParams.h:20
eStationElement
eStationElement
Definition: AFP_ConfigParams.h:16
AFP_CONFIGURATION::clear
void clear()
Definition: AFP_ConfigParams.cxx:9
AFP_SIDCONFIGURATION::clear
void clear()
Definition: AFP_ConfigParams.cxx:45
AFP_TDCONFIGURATION::nX1PixCnt
int nX1PixCnt
Definition: AFP_ConfigParams.h:84
EM_VACUUM
@ EM_VACUUM
Definition: AFP_ConfigParams.h:22
AFPTOF_LBARREFDIMENSIONS::fLGuideLength
double fLGuideLength
Definition: AFP_ConfigParams.h:56
AFP_TDCONFIGURATION::mapBarDims
std::map< int, AFPTOF_LBARDIMENSIONS > mapBarDims
Definition: AFP_ConfigParams.h:94
AFP_HBPCONFIGURATION::setMaterialToBeryllium
bool setMaterialToBeryllium
Definition: AFP_ConfigParams.h:131
AFPTOF_LBARDIMENSIONS::fRadYDim
double fRadYDim
Definition: AFP_ConfigParams.h:72
AFP_TDCONFIGURATION::fXFloorDistance
double fXFloorDistance
Definition: AFP_ConfigParams.h:98
AFP_SIDCONFIGURATION::TransInStation
HepGeom::Transform3D TransInStation
Definition: AFP_ConfigParams.h:123
AFP_TDCONFIGURATION::fPixelX1Dim
double fPixelX1Dim
Definition: AFP_ConfigParams.h:86
ESTT_PLATE
@ ESTT_PLATE
Definition: AFP_ConfigParams.h:17
AFP_TDCONFIGURATION::fPixelX2Dim
double fPixelX2Dim
Definition: AFP_ConfigParams.h:87
AFP_SIDCONFIGURATION::vecYStaggering
std::vector< double > vecYStaggering
Definition: AFP_ConfigParams.h:113
ESE_SID
@ ESE_SID
Definition: AFP_ConfigParams.h:16
AFPTOF_TRAININFO::fPerpShiftInPixel
double fPerpShiftInPixel
Definition: AFP_ConfigParams.h:43
AFP_HBPCONFIGURATION::windowPlateAngle
double windowPlateAngle
Definition: AFP_ConfigParams.h:129
AFPTOF_LBARDIMENSIONS::nTrainID
int nTrainID
Definition: AFP_ConfigParams.h:69
AFPTOF_LBARDIMENSIONS::fLGuideWidth
double fLGuideWidth
Definition: AFP_ConfigParams.h:73
AFPTOF_LBARDIMENSIONS::fRadLength
double fRadLength
Definition: AFP_ConfigParams.h:71
AFPTOF_LBARREFDIMENSIONS::fRadLength
double fRadLength
Definition: AFP_ConfigParams.h:55
AFP_CONFIGURATION::vecRPotYPos
std::vector< double > vecRPotYPos
Definition: AFP_ConfigParams.h:140
AFPTOF_LBARDIMENSIONS::AFPTOF_LBARDIMENSIONS
AFPTOF_LBARDIMENSIONS()
Definition: AFP_ConfigParams.h:62
AFP_SIDCONFIGURATION::fSlope
double fSlope
Definition: AFP_ConfigParams.h:106
AFPTOF_LBARDIMENSIONS::setDefaults
void setDefaults()
Definition: AFP_ConfigParams.cxx:78
ESRM_SINGLE
@ ESRM_SINGLE
Definition: AFP_ConfigParams.h:21
AFP_SIDCONFIGURATION::vecChipRotAngle
std::vector< double > vecChipRotAngle
Definition: AFP_ConfigParams.h:117
AFP_TDCONFIGURATION::fAlpha
double fAlpha
Definition: AFP_ConfigParams.h:83
ESTT_FEI4CHIP
@ ESTT_FEI4CHIP
Definition: AFP_ConfigParams.h:17
AFPTOF_TRAININFO::nPmtRow
int nPmtRow
Definition: AFP_ConfigParams.h:37
AFP_SIDCONFIGURATION::fZDistanceInRPot
double fZDistanceInRPot
Definition: AFP_ConfigParams.h:109
AFPTOF_LBARREFDIMENSIONS
Definition: AFP_ConfigParams.h:46
AFPTOF_TRAININFO
Definition: AFP_ConfigParams.h:25
AFP_SIDCONFIGURATION::vecChipXPos
std::vector< double > vecChipXPos
Definition: AFP_ConfigParams.h:115