CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCTFPtMethods.h
Go to the documentation of this file.
1 #ifndef CSCTrackFinder_CSCTFPtMethods_h
2 #define CSCTrackFinder_CSCTFPtMethods_h
3 
5 
6 class L1MuTriggerPtScale ;
7 
9 {
10  public:
11  enum {kMaxParameters = 4};
15 
16  CSCTFPtMethods( const L1MuTriggerPtScale* ptScale = 0 ) ;
17 
22  static const float AkLowEta_Fit2[kME2andMB2][kMaxParameters];
24 
25  static const float BkLowEta_Fit2[kME2andMB2][kMaxParameters];
27 
30  static const float AkLowEta_Fit1[kME2andMB2][kMaxParameters];
32 
33  static const float kGlobalScaleFactor;
35  static const float FRCorrLowEta[kME2andMB2][2];
36  static const float FRCorrHighEta[kME2andMB2][2];
37 
39  static double AB_mu12FnoME11[4][15];
40  static double AB_mu13FnoME11[4][15];
41  static double AB_mu14FnoME11[4][15];
42  static double AB_mu12RnoME11[4][15];
43  static double AB_mu13RnoME11[4][15];
44  static double AB_mu14RnoME11[4][15];
45  static double AB_mu12FME11[4][15];
46  static double AB_mu13FME11[4][15];
47  static double AB_mu14FME11[4][15];
48  static double AB_mu12RME11[4][15];
49  static double AB_mu13RME11[4][15];
50  static double AB_mu14RME11[4][15];
51  static double AB_sig12FnoME11[4][15];
52  static double AB_sig13FnoME11[4][15];
53  static double AB_sig14FnoME11[4][15];
54  static double AB_sig12RnoME11[4][15];
55  static double AB_sig13RnoME11[4][15];
56  static double AB_sig14RnoME11[4][15];
57  static double AB_sig12FME11[4][15];
58  static double AB_sig13FME11[4][15];
59  static double AB_sig14FME11[4][15];
60  static double AB_sig12RME11[4][15];
61  static double AB_sig13RME11[4][15];
62  static double AB_sig14RME11[4][15];
63 
64  static double AB_mu12F[4][15];
65  static double AB_mu13F[4][15];
66  static double AB_mu14F[4][15];
67  static double AB_mu12R[4][15];
68  static double AB_mu13R[4][15];
69  static double AB_mu14R[4][15];
70  static double AB_mu23[4][15];
71  static double AB_mu24[4][15];
72  static double AB_mu34[4][15];
73  static double AB_mu51[4][15];
74  static double AB_mu52[4][15];
75  static double AB_mu53[4][15];
76  static double AB_mu5[4][15];
77 
78  static double AB_sig12F[4][15];
79  static double AB_sig13F[4][15];
80  static double AB_sig14F[4][15];
81  static double AB_sig12R[4][15];
82  static double AB_sig13R[4][15];
83  static double AB_sig14R[4][15];
84  static double AB_sig23[4][15];
85  static double AB_sig24[4][15];
86  static double AB_sig34[4][15];
87  static double AB_sig51[4][15];
88  static double AB_sig52[4][15];
89  static double AB_sig53[4][15];
90  static double AB_sig5[4][15];
91 
92  static double AB_rho123F[5][15];
93  static double AB_rho124F[5][15];
94  static double AB_rho134F[5][15];
95  static double AB_rho123R[5][15];
96  static double AB_rho124R[5][15];
97  static double AB_rho134R[5][15];
98  static double AB_rho234[5][15];
99  static double AB_rho512[5][15];
100  static double AB_rho513[5][15];
101  static double AB_rho523[5][15];
102  static double AB_rho51B[5][15];
103  static double AB_rho52B[5][15];
104  static double AB_rho53B[5][15];
106  static const double A_mu12Front[4][15];
107  static const double A_sig12Front[3][15];
108  static const double A_mu13Front[4][15];
109  static const double A_sig13Front[3][15];
110  static const double A_mu14Front[4][15];
111  static const double A_sig14Front[3][15];
112 
113  static const double A_mu12Rare[4][15];
114  static const double A_sig12Rare[3][15];
115  static const double A_mu13Rare[4][15];
116  static const double A_sig13Rare[3][15];
117  static const double A_mu14Rare[4][15];
118  static const double A_sig14Rare[3][15];
119 
120  static const double A_mu51[4][15];
121  static const double A_sig51[3][15];
122  static const double A_mu52[4][15];
123  static const double A_sig52[3][15];
124  static const double A_mu53[4][15];
125  static const double A_sig53[3][15];
126 
127  static const double A_mu23[4][15];
128  static const double A_sig23[3][15];
129  static const double A_mu24[4][15];
130  static const double A_sig24[3][15];
131  static const double A_mu34[4][15];
132  static const double A_sig34[3][15];
133 
134 /*
135  static const double A_mu23CSCTF[4][15];
136  static const double A_sig23CSCTF[3][15];
137  static const double A_mu24CSCTF[4][15];
138  static const double A_sig24CSCTF[3][15];
139  static const double A_mu34CSCTF[4][15];
140  static const double A_sig34CSCTF[3][15];
141 */
142  static const double A_rho123FrontCSCTF[5][15];
143  static const double A_rho124FrontCSCTF[5][15];
144  static const double A_rho134FrontCSCTF[5][15];
145 
146  static const double A_rho123RareCSCTF[5][15];
147  static const double A_rho124RareCSCTF[5][15];
148  static const double A_rho134RareCSCTF[5][15];
149 
150  static const double A_rho234CSCTF[5][15];
151 
152  static const double A_rho512[5][15];
153  static const double A_rho513[5][15];
154  static const double A_rho523[5][15];
155 
156 // don't care about Mode 12: 1-2-b1 yet, should add A_mu12CSCTF or A_mu51CSCTF depending how calculate dphi12
157 
159  float Pt2Stn(int type, float eta, float dphi, int fr=-1) const;
160  float Pt2Stn2010(int type, float eta, float dphi, int fr=-1, int method=11) const;
161  float Pt2Stn2011(int type, float eta, float dphi, int fr=-1, int method=11, int phiSign=2) const;
162  float Pt2Stn2012(int type, float eta, float dphi, int PtbyMLH, float &theLH, int fr=-1, int method=11) const;
163  float Pt2Stn2012_DT(int type, float eta, float dphi, int PtbyMLH, float &theLH,int fr=-1, int method=11, int phiSign=2) const;
164  double Likelihood2(double *phi12, double *par_m12, double *par_sig12, double *v) const;
165  double Likelihood2_2011(double *phi12, double *par_m12, double *par_sig12, double *v) const;
166 
168  float Pt3Stn(int type, float eta, float dphi1, float dphi2, int fr=-1) const;
169  float Pt3Stn2010(int type, float eta, float dphi1, float dphi2, int fr=-1, int method=11) const;
170  float Pt3Stn2011(int type, float eta, float dphi1, float dphi2, int fr=-1, int method=11) const;
171  float Pt3Stn2012(int type, float eta, float dphi1, float dphi2, int PtbyMLH, float &theLH, int fr=-1, int method=11) const;
172  float Pt3Stn2012_DT(int type, float eta, float dphi1, float dphi2, int PtbyMLH, float &theLH, int fr=-1, int method=11) const;
173  double Likelihood(double *phi12, double *phi23, double *par_m12, double *par_m23, double *par_sig12, double *par_sig23, double *par_rho, double *v) const;
174  double Likelihood2011(double *phi12, double *phi23, double *par_m12, double *par_m23, double *par_sig12, double *par_sig23, double *par_rho, double *v) const;
177  static const float ptbins[29];
178  static const float etabins[16];
179  static const float dphifr0[4][15][28];
180  static const float dphifr1[4][15][28];
181  static const float sigmafr0[4][15][28];
182  static const float sigmafr1[4][15][28];
183 
184  float Pt2StnChiSq(int type, float eta, int dphi, int fr) const;
185  float Pt3StnChiSq(int type, float eta, int dphi1, int dphi2, int fr) const;
186 
189  float Pt2StnHybrid(int type, float eta, int dphi, int fr) const;
190  float Pt3StnHybrid(int type, float eta, int dphi1, int dphi2, int fr) const;
191 
202  bool chargeValid(unsigned Pt, unsigned Quality, unsigned Eta, unsigned method) const;
203 
205  float PtEff90(float pt, float eta, int mode) const;
206 
207  private:
209 };
210 
211 #endif
static const double A_sig14Front[3][15]
float Pt3Stn2012_DT(int type, float eta, float dphi1, float dphi2, int PtbyMLH, float &theLH, int fr=-1, int method=11) const
type
Definition: HCALResponse.h:21
static double AB_mu12F[4][15]
bool chargeValid(unsigned Pt, unsigned Quality, unsigned Eta, unsigned method) const
static double AB_mu14FME11[4][15]
static double AB_mu12FME11[4][15]
static const float AkHighEta_Fit2[kME2andMB2][kMaxParameters]
float Pt2Stn2012_DT(int type, float eta, float dphi, int PtbyMLH, float &theLH, int fr=-1, int method=11, int phiSign=2) const
static const double A_rho123RareCSCTF[5][15]
static double AB_mu51[4][15]
static double AB_sig14FnoME11[4][15]
static const double A_sig13Rare[3][15]
static double AB_sig12F[4][15]
static double AB_rho52B[5][15]
static double AB_rho134R[5][15]
float Pt3StnHybrid(int type, float eta, int dphi1, int dphi2, int fr) const
static double AB_mu14R[4][15]
static double AB_mu34[4][15]
static double AB_sig14F[4][15]
static double AB_sig52[4][15]
static const double A_sig12Front[3][15]
static const float FRCorrHighEta[kME2andMB2][2]
static double AB_mu13F[4][15]
static double AB_sig12FnoME11[4][15]
static double AB_mu24[4][15]
float Pt2Stn2010(int type, float eta, float dphi, int fr=-1, int method=11) const
static const float dphifr1[4][15][28]
static double AB_sig14RME11[4][15]
float Pt2StnChiSq(int type, float eta, int dphi, int fr) const
float Pt2Stn2011(int type, float eta, float dphi, int fr=-1, int method=11, int phiSign=2) const
static double AB_mu12RME11[4][15]
float Pt3Stn2011(int type, float eta, float dphi1, float dphi2, int fr=-1, int method=11) const
static const float AkLowEta_Fit1[kME2andMB2][kMaxParameters]
static double AB_sig53[4][15]
T eta() const
static double AB_mu23[4][15]
static double AB_mu13FnoME11[4][15]
float Pt3StnChiSq(int type, float eta, int dphi1, int dphi2, int fr) const
static double AB_mu13RME11[4][15]
static const float BkLowEta_Fit2[kME2andMB2][kMaxParameters]
const L1MuTriggerPtScale * trigger_scale
static const float dphifr0[4][15][28]
static double AB_mu14RME11[4][15]
static double AB_sig13F[4][15]
static double AB_sig14RnoME11[4][15]
static const double A_sig34[3][15]
static const double A_sig53[3][15]
static double AB_mu13R[4][15]
static double AB_rho123F[5][15]
static const double A_mu53[4][15]
double Likelihood2_2011(double *phi12, double *par_m12, double *par_sig12, double *v) const
static const double A_mu24[4][15]
static const float AkHighEta_Fit1[kME2andMB2][kMaxParameters]
float Pt3Stn(int type, float eta, float dphi1, float dphi2, int fr=-1) const
static const float sigmafr0[4][15][28]
static double AB_mu52[4][15]
static double AB_mu12FnoME11[4][15]
static double AB_sig13FME11[4][15]
static const double A_sig23[3][15]
double Likelihood(double *phi12, double *phi23, double *par_m12, double *par_m23, double *par_sig12, double *par_sig23, double *par_rho, double *v) const
static const double A_rho134RareCSCTF[5][15]
static double AB_sig51[4][15]
static double AB_mu5[4][15]
static double AB_mu13FME11[4][15]
static const float BkHighEta_Fit2[kME2andMB2][kMaxParameters]
float Pt2StnHybrid(int type, float eta, int dphi, int fr) const
static double AB_rho53B[5][15]
static const float kGlobalScaleFactor
static const double A_mu14Front[4][15]
float PtEff90(float pt, float eta, int mode) const
static double AB_rho234[5][15]
static double AB_mu12RnoME11[4][15]
static const double A_mu23[4][15]
static const double A_rho512[5][15]
DT correlation.
static double AB_sig12RnoME11[4][15]
static double AB_mu13RnoME11[4][15]
static double AB_sig34[4][15]
static const double A_sig14Rare[3][15]
static const double A_sig12Rare[3][15]
static double AB_rho124R[5][15]
float Pt3Stn2010(int type, float eta, float dphi1, float dphi2, int fr=-1, int method=11) const
static const double A_sig51[3][15]
static double AB_rho523[5][15]
static double AB_rho124F[5][15]
static double AB_sig5[4][15]
static const double A_rho523[5][15]
static const double A_mu52[4][15]
static double AB_sig24[4][15]
static double AB_sig12FME11[4][15]
static const double A_mu13Front[4][15]
float Pt3Stn2012(int type, float eta, float dphi1, float dphi2, int PtbyMLH, float &theLH, int fr=-1, int method=11) const
CSCTFPtMethods(const L1MuTriggerPtScale *ptScale=0)
static const double A_rho134FrontCSCTF[5][15]
double Likelihood2(double *phi12, double *par_m12, double *par_sig12, double *v) const
static double AB_sig14R[4][15]
static double AB_mu14F[4][15]
static double AB_sig12R[4][15]
static const double A_mu12Rare[4][15]
double Likelihood2011(double *phi12, double *phi23, double *par_m12, double *par_m23, double *par_sig12, double *par_sig23, double *par_rho, double *v) const
static const double A_mu13Rare[4][15]
static const double A_mu12Front[4][15]
static double AB_mu53[4][15]
static const double A_sig24[3][15]
static double AB_sig12RME11[4][15]
static const float AkLowEta_Fit2[kME2andMB2][kMaxParameters]
static double AB_rho512[5][15]
static double AB_sig23[4][15]
static double AB_rho513[5][15]
static double AB_mu12R[4][15]
static const double A_mu14Rare[4][15]
static const double A_rho234CSCTF[5][15]
static double AB_sig13FnoME11[4][15]
static const float FRCorrLowEta[kME2andMB2][2]
float Pt2Stn2012(int type, float eta, float dphi, int PtbyMLH, float &theLH, int fr=-1, int method=11) const
static const double A_sig13Front[3][15]
static const double A_mu51[4][15]
static double AB_mu14RnoME11[4][15]
static const float ptbins[29]
static double AB_sig13RnoME11[4][15]
static const double A_rho123FrontCSCTF[5][15]
static double AB_rho51B[5][15]
static double AB_sig14FME11[4][15]
static double AB_sig13RME11[4][15]
static const double A_rho124FrontCSCTF[5][15]
static const double A_sig52[3][15]
static const double A_rho513[5][15]
static const double A_rho124RareCSCTF[5][15]
float Pt2Stn(int type, float eta, float dphi, int fr=-1) const
static double AB_mu14FnoME11[4][15]
static double AB_rho134F[5][15]
static const double A_mu34[4][15]
static double AB_rho123R[5][15]
static double AB_sig13R[4][15]
static const float sigmafr1[4][15][28]
static const float etabins[16]