ATLAS Offline Software
Loading...
Searching...
No Matches
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};
99
100#endif /* TRTDEDXCORRECTION_H */
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
double normOffsetData[nGasTypes]
double hitOccPar[nParametersHitBaseddEdx]
static constexpr int nParametersLongStrawsRZ
double paraShortCorrRZDivideByLengthMC[nGasTypes][nParametersShortStrawsRZDivideByLength]
double paraEndCorrRZMC[nGasTypes][nParametersEndcapRZ]
double paraDivideByLengthDedxP4[nGasTypes]
static constexpr int nParametersShortStrawsRZ
float paraLongMimicToXeDATA[nGasTypes][nParametersLongStrawsMimic]
double trackOccPar0NoHt[nParametersTrackBaseddEdx]
double resolution[nGasTypes][nParametersResolution]
double paraDedxP5[nGasTypes]
double paraDedxP4[nGasTypes]
double paraShortCorrRZMC[nGasTypes][nParametersShortStrawsRZ]
static constexpr int nParametersShortStrawsMimic
float paraShortMimicToXeDATA[nGasTypes][nParametersShortStrawsMimic]
double paraLongCorrRZDivideByLengthMC[nGasTypes][nParametersLongStrawsRZDivideByLength]
double trackOccPar2[nParametersTrackBaseddEdx]
double normSlopeTot[nGasTypes]
double paraDedxP3[nGasTypes]
static constexpr int nParametersTrackBaseddEdx
double paraDivideByLengthDedxP1[nGasTypes]
float paraEndMimicToXeMC[nGasTypes][nParametersEndcapMimic]
static constexpr int nParametersShortStrawsRZDivideByLength
double paraDedxP2[nGasTypes]
static constexpr int nParametersLongStrawsRZDivideByLength
double trackOccPar1NoHt[nParametersTrackBaseddEdx]
double paraLongCorrRZ[nGasTypes][nParametersLongStrawsRZ]
static constexpr int nParametersLongStrawsMimic
double normSlopeTotDivideByLength[nGasTypes]
int normNzero[nGasTypes]
static constexpr int nParametersHitBaseddEdx
double paraEndCorrRZDivideByLengthDATA[nGasTypes][nParametersEndcapRZDivideByLength]
static constexpr int nParametersEndcapRZ
static constexpr int nParametersResolution
float paraLongMimicToXeMC[nGasTypes][nParametersLongStrawsMimic]
double paraDivideByLengthDedxP2[nGasTypes]
float paraShortMimicToXeMC[nGasTypes][nParametersShortStrawsMimic]
double paraShortCorrRZ[nGasTypes][nParametersShortStrawsRZ]
static constexpr int nParametersEndcapMimic
double trackOccPar2NoHt[nParametersTrackBaseddEdx]
double paraShortCorrRZDivideByLengthDATA[nGasTypes][nParametersShortStrawsRZDivideByLength]
double paraLongCorrRZDivideByLengthDATA[nGasTypes][nParametersLongStrawsRZDivideByLength]
double normOffsetTot[nGasTypes]
float paraEndMimicToXeDATA[nGasTypes][nParametersEndcapMimic]
double paraEndCorrRZDivideByLengthMC[nGasTypes][nParametersEndcapRZDivideByLength]
double trackOccPar0[nParametersTrackBaseddEdx]
double trackOccPar1[nParametersTrackBaseddEdx]
double paraLongCorrRZMC[nGasTypes][nParametersLongStrawsRZ]
double paraDivideByLengthDedxP3[nGasTypes]
static constexpr int nParametersEndcapRZDivideByLength
double paraDedxP1[nGasTypes]
static constexpr int nGasTypes
double paraDivideByLengthDedxP5[nGasTypes]
double paraEndCorrRZ[nGasTypes][nParametersEndcapRZ]
double normOffsetTotDivideByLength[nGasTypes]
double resolutionElectron[nGasTypes][nParametersResolution]