ATLAS Offline Software
TRTDedxcorrection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRTDEDXCORRECTION_H
6 #define TRTDEDXCORRECTION_H
7 
8 
10 
11  static constexpr int nParametersTrackBaseddEdx = 100;
12  static constexpr int nParametersHitBaseddEdx = 204;
13 
15 
16  // TrackOccupancy calibration constants are separated in three arrays as we use a polynomial
17  // function 2nd order of the form f(x)=a+b*x+c*x^2
18 
19  // TrackOccupancy calibration constants, HT hits are excluded, Pt>0.4 GeV d0<0.4 mm deltaZ0sin(theta)<0.4 mm
23 
24  // TrackOccupancy calibration constants, Pt>0.4 GeV d0<0.4 mm deltaZ0sin(theta)<0.4 mm
28 
29  static constexpr int nGasTypes = 3;
30 
36 
42 
43 
44  // resolution depends on the number of hits (and is different for e)
45  static constexpr int nParametersResolution = 4; //Polynomial function 3rd used
48 
49  // corrections for pile-up (as a function of NVtx linear behavior observed)
50  // was in principle also done separately for different detector regions
51  // should be checked in more details when high pileup data available
52 
53  double normOffsetData[nGasTypes]; // offset in normalization between data and MC
54  double normSlopeTot[nGasTypes]; // nvtx dependence for ToT
55  double normSlopeTotDivideByLength[nGasTypes]; // nvtx dependence for ToT/L
56  double normOffsetTot[nGasTypes]; // nvtx dependence for ToT
57  double normOffsetTotDivideByLength[nGasTypes]; // nvtx dependence for ToT/L
58  int normNzero[nGasTypes]; // for which average NVtx the fit parameters were determined
59 
60  static constexpr int nParametersLongStrawsRZ = 3240;
61  static constexpr int nParametersShortStrawsRZ = 216;
62  static constexpr int nParametersEndcapRZ = 336;
63 
70 
71  static constexpr int nParametersLongStrawsRZDivideByLength = 630;
72  static constexpr int nParametersShortStrawsRZDivideByLength = 63;
73  static constexpr int nParametersEndcapRZDivideByLength = 252;
74 
81 
82  static constexpr int nParametersLongStrawsMimic = 1800;
83  static constexpr int nParametersShortStrawsMimic = 180;
84  static constexpr int nParametersEndcapMimic = 560;
85 
92 
93  //==============================================================
94 
95 
96 };
97 CLASS_DEF(TRTDedxcorrection,105466510,1)
99 
100 #endif /* TRTDEDXCORRECTION_H */
TRTDedxcorrection::nParametersShortStrawsMimic
static constexpr int nParametersShortStrawsMimic
Definition: TRTDedxcorrection.h:83
TRTDedxcorrection::nParametersLongStrawsRZ
static constexpr int nParametersLongStrawsRZ
Definition: TRTDedxcorrection.h:60
TRTDedxcorrection::paraEndCorrRZMC
double paraEndCorrRZMC[nGasTypes][nParametersEndcapRZ]
Definition: TRTDedxcorrection.h:69
TRTDedxcorrection::resolutionElectron
double resolutionElectron[nGasTypes][nParametersResolution]
Definition: TRTDedxcorrection.h:47
TRTDedxcorrection::paraDivideByLengthDedxP4
double paraDivideByLengthDedxP4[nGasTypes]
Definition: TRTDedxcorrection.h:34
TRTDedxcorrection::nParametersShortStrawsRZDivideByLength
static constexpr int nParametersShortStrawsRZDivideByLength
Definition: TRTDedxcorrection.h:72
TRTDedxcorrection::paraShortMimicToXeMC
float paraShortMimicToXeMC[nGasTypes][nParametersShortStrawsMimic]
Definition: TRTDedxcorrection.h:88
TRTDedxcorrection::paraLongCorrRZDivideByLengthMC
double paraLongCorrRZDivideByLengthMC[nGasTypes][nParametersLongStrawsRZDivideByLength]
Definition: TRTDedxcorrection.h:75
TRTDedxcorrection::normOffsetTot
double normOffsetTot[nGasTypes]
Definition: TRTDedxcorrection.h:56
TRTDedxcorrection::nParametersResolution
static constexpr int nParametersResolution
Definition: TRTDedxcorrection.h:45
TRTDedxcorrection::normOffsetTotDivideByLength
double normOffsetTotDivideByLength[nGasTypes]
Definition: TRTDedxcorrection.h:57
TRTDedxcorrection::paraLongCorrRZ
double paraLongCorrRZ[nGasTypes][nParametersLongStrawsRZ]
Definition: TRTDedxcorrection.h:64
TRTDedxcorrection::nParametersEndcapMimic
static constexpr int nParametersEndcapMimic
Definition: TRTDedxcorrection.h:84
TRTDedxcorrection::paraDivideByLengthDedxP5
double paraDivideByLengthDedxP5[nGasTypes]
Definition: TRTDedxcorrection.h:35
TRTDedxcorrection::paraShortCorrRZDivideByLengthDATA
double paraShortCorrRZDivideByLengthDATA[nGasTypes][nParametersShortStrawsRZDivideByLength]
Definition: TRTDedxcorrection.h:79
TRTDedxcorrection::trackOccPar1NoHt
double trackOccPar1NoHt[nParametersTrackBaseddEdx]
Definition: TRTDedxcorrection.h:21
TRTDedxcorrection::paraDedxP5
double paraDedxP5[nGasTypes]
Definition: TRTDedxcorrection.h:41
TRTDedxcorrection::trackOccPar0
double trackOccPar0[nParametersTrackBaseddEdx]
Definition: TRTDedxcorrection.h:25
TRTDedxcorrection::nParametersHitBaseddEdx
static constexpr int nParametersHitBaseddEdx
Definition: TRTDedxcorrection.h:12
TRTDedxcorrection::normNzero
int normNzero[nGasTypes]
Definition: TRTDedxcorrection.h:58
TRTDedxcorrection::paraDivideByLengthDedxP1
double paraDivideByLengthDedxP1[nGasTypes]
Definition: TRTDedxcorrection.h:31
TRTDedxcorrection::trackOccPar0NoHt
double trackOccPar0NoHt[nParametersTrackBaseddEdx]
Definition: TRTDedxcorrection.h:20
TRTDedxcorrection::paraShortMimicToXeDATA
float paraShortMimicToXeDATA[nGasTypes][nParametersShortStrawsMimic]
Definition: TRTDedxcorrection.h:89
TRTDedxcorrection::nParametersLongStrawsRZDivideByLength
static constexpr int nParametersLongStrawsRZDivideByLength
Definition: TRTDedxcorrection.h:71
TRTDedxcorrection::paraShortCorrRZ
double paraShortCorrRZ[nGasTypes][nParametersShortStrawsRZ]
Definition: TRTDedxcorrection.h:65
TRTDedxcorrection::paraEndCorrRZDivideByLengthDATA
double paraEndCorrRZDivideByLengthDATA[nGasTypes][nParametersEndcapRZDivideByLength]
Definition: TRTDedxcorrection.h:80
TRTDedxcorrection::nParametersShortStrawsRZ
static constexpr int nParametersShortStrawsRZ
Definition: TRTDedxcorrection.h:61
TRTDedxcorrection::nParametersTrackBaseddEdx
static constexpr int nParametersTrackBaseddEdx
Definition: TRTDedxcorrection.h:11
TRTDedxcorrection::normOffsetData
double normOffsetData[nGasTypes]
Definition: TRTDedxcorrection.h:53
TRTDedxcorrection::nParametersEndcapRZ
static constexpr int nParametersEndcapRZ
Definition: TRTDedxcorrection.h:62
TRTDedxcorrection::trackOccPar1
double trackOccPar1[nParametersTrackBaseddEdx]
Definition: TRTDedxcorrection.h:26
TRTDedxcorrection::paraDedxP4
double paraDedxP4[nGasTypes]
Definition: TRTDedxcorrection.h:40
CONDCONT_DEF
CONDCONT_DEF(TRTDedxcorrection, 114226988)
TRTDedxcorrection::normSlopeTotDivideByLength
double normSlopeTotDivideByLength[nGasTypes]
Definition: TRTDedxcorrection.h:55
TRTDedxcorrection
Definition: TRTDedxcorrection.h:9
TRTDedxcorrection::nGasTypes
static constexpr int nGasTypes
Definition: TRTDedxcorrection.h:29
TRTDedxcorrection::paraLongCorrRZMC
double paraLongCorrRZMC[nGasTypes][nParametersLongStrawsRZ]
Definition: TRTDedxcorrection.h:67
TRTDedxcorrection::paraDedxP3
double paraDedxP3[nGasTypes]
Definition: TRTDedxcorrection.h:39
TRTDedxcorrection::resolution
double resolution[nGasTypes][nParametersResolution]
Definition: TRTDedxcorrection.h:46
TRTDedxcorrection::nParametersEndcapRZDivideByLength
static constexpr int nParametersEndcapRZDivideByLength
Definition: TRTDedxcorrection.h:73
TRTDedxcorrection::paraShortCorrRZMC
double paraShortCorrRZMC[nGasTypes][nParametersShortStrawsRZ]
Definition: TRTDedxcorrection.h:68
TRTDedxcorrection::paraDedxP1
double paraDedxP1[nGasTypes]
Definition: TRTDedxcorrection.h:37
TRTDedxcorrection::nParametersLongStrawsMimic
static constexpr int nParametersLongStrawsMimic
Definition: TRTDedxcorrection.h:82
TRTDedxcorrection::trackOccPar2
double trackOccPar2[nParametersTrackBaseddEdx]
Definition: TRTDedxcorrection.h:27
TRTDedxcorrection::trackOccPar2NoHt
double trackOccPar2NoHt[nParametersTrackBaseddEdx]
Definition: TRTDedxcorrection.h:22
TRTDedxcorrection::paraEndCorrRZDivideByLengthMC
double paraEndCorrRZDivideByLengthMC[nGasTypes][nParametersEndcapRZDivideByLength]
Definition: TRTDedxcorrection.h:77
TRTDedxcorrection::paraShortCorrRZDivideByLengthMC
double paraShortCorrRZDivideByLengthMC[nGasTypes][nParametersShortStrawsRZDivideByLength]
Definition: TRTDedxcorrection.h:76
TRTDedxcorrection::paraDivideByLengthDedxP2
double paraDivideByLengthDedxP2[nGasTypes]
Definition: TRTDedxcorrection.h:32
TRTDedxcorrection::paraEndCorrRZ
double paraEndCorrRZ[nGasTypes][nParametersEndcapRZ]
Definition: TRTDedxcorrection.h:66
TRTDedxcorrection::paraLongMimicToXeMC
float paraLongMimicToXeMC[nGasTypes][nParametersLongStrawsMimic]
Definition: TRTDedxcorrection.h:86
TRTDedxcorrection::paraLongMimicToXeDATA
float paraLongMimicToXeDATA[nGasTypes][nParametersLongStrawsMimic]
Definition: TRTDedxcorrection.h:87
TRTDedxcorrection::paraDivideByLengthDedxP3
double paraDivideByLengthDedxP3[nGasTypes]
Definition: TRTDedxcorrection.h:33
TRTDedxcorrection::paraLongCorrRZDivideByLengthDATA
double paraLongCorrRZDivideByLengthDATA[nGasTypes][nParametersLongStrawsRZDivideByLength]
Definition: TRTDedxcorrection.h:78
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
TRTDedxcorrection::paraDedxP2
double paraDedxP2[nGasTypes]
Definition: TRTDedxcorrection.h:38
TRTDedxcorrection::paraEndMimicToXeDATA
float paraEndMimicToXeDATA[nGasTypes][nParametersEndcapMimic]
Definition: TRTDedxcorrection.h:91
TRTDedxcorrection::hitOccPar
double hitOccPar[nParametersHitBaseddEdx]
Definition: TRTDedxcorrection.h:14
TRTDedxcorrection::normSlopeTot
double normSlopeTot[nGasTypes]
Definition: TRTDedxcorrection.h:54
TRTDedxcorrection::paraEndMimicToXeMC
float paraEndMimicToXeMC[nGasTypes][nParametersEndcapMimic]
Definition: TRTDedxcorrection.h:90