ATLAS Offline Software
FuncMeanRMS.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5  #ifndef TrkVertexWeightCalculator_FuncMeanRMS_H
6  #define TrkVertexWeightCalculator_FuncMeanRMS_H
7 
8 double Norm_st1Mom(double x)
9 {
10  double Mean1= 0.456645 ;
11  double RMS1=1.21201 ;
12  return (x-Mean1)/RMS1;
13 }
14 
15 double Back_st1Mom(double x)
16 {
17  double Mean1= 0.456645 ;
18  double RMS1= 1.21201 ;
19  return (x*RMS1)+ Mean1;
20 }
21 
22 double Norm_st2Mom(double x)
23 {
24 
25  double Mean2= 0.0806735 ;
26  double RMS2= 5.64695 ;
27  return (x-Mean2)/RMS2;
28 }
29 
30 
31 double Back_st2Mom(double x)
32 {
33 
34  double Mean2= 0.0806735 ;
35  double RMS2= 5.64695 ;
36  return (x*RMS2)+ Mean2;
37 }
38 
39 double Norm_st3Mom(double x)
40 {
41  double Mean3=-0.111183 ;
42  double RMS3=11.0546 ;
43  return (x-Mean3)/RMS3;
44 }
45 
46 
47 double Back_st3Mom(double x)
48 {
49  double Mean3= -0.111183 ;
50  double RMS3= 11.0546 ;
51  return (x*RMS3)+ Mean3;
52 }
53 
54 double Norm_st4Mom(double x)
55 {
56  double Mean4=1.9536 ;
57  double RMS4= 12.5549 ;
58  return (x-Mean4)/RMS4;
59 }
60 
61 
62 double Back_st4Mom(double x)
63 {
64  double Mean4= 1.9536 ;
65  double RMS4= 12.5549 ;
66  return (x*RMS4)+ Mean4;
67 }
68 
69 double Norm_st5Mom(double x)
70 {
71  double Mean5=2.56582 ;
72  double RMS5= 16.713 ;
73  return (x-Mean5)/RMS5;
74 }
75 
76 double Back_st5Mom(double x)
77 {
78  double Mean5= 2.56582 ;
79  double RMS5=16.713 ;
80  return (x*RMS5)+ Mean5;
81 }
82 
83 
84 double Norm_st6Mom(double x)
85 {
86  double Mean6=4.29469 ;
87  double RMS6= 18.9983 ;
88  return (x-Mean6)/RMS6;
89 }
90 
91 double Back_st6Mom(double x)
92 {
93  double Mean6= 4.29469 ;
94  double RMS6= 18.9983;
95  return (x*RMS6)+ Mean6;
96 }
98 
99 double Norm_st7Mom(double x)
100 {
101  double Mean7= 5.2504 ;
102  double RMS7= 22.4894 ;
103  return (x-Mean7)/RMS7;
104 }
105 
106 double Back_st7Mom(double x)
107 {
108  double Mean7= 5.2504 ;
109  double RMS7= 22.4894 ;
110  return (x*RMS7)+ Mean7;
111 }
112 
113 double Norm_st8Mom(double x)
114 {
115  double Mean8=6.87065 ;
116  double RMS8= 25.0507 ;
117  return (x-Mean8)/RMS8;
118 }
119 
120 double Back_st8Mom(double x)
121 {
122  double Mean8= 6.87065 ;
123  double RMS8= 25.0507 ;
124  return (x*RMS8)+ Mean8;
125 }
126 
127 double Norm_st9Mom(double x)
128 {
129  double Mean9= 7.98152 ;
130  double RMS9= 28.2111 ;
131  return (x-Mean9)/RMS9;
132 }
133 
134 double Back_st9Mom(double x)
135 {
136  double Mean9=7.98152 ;
137  double RMS9= 28.2111 ;
138  return (x*RMS9)+ Mean9;
139 }
140 
141 double Norm_st10Mom(double x)
142 {
143  double Mean10=9.53459 ;
144  double RMS10= 30.7888 ;
145  return (x-Mean10)/RMS10;
146 }
147 
148 double Back_st10Mom(double x)
149 {
150  double Mean10= 9.53459 ;
151  double RMS10= 30.7888 ;
152  return (x*RMS10)+ Mean10;
153 }
154 
155 double Back_NTrks(int x)
156 {
157  double Mean = (double)21.3617 ;
158  double RMS = (double)23.5872 ;
159  return (x*RMS)+ Mean;
160 }
161 
162 double Norm_NTrks(int x)
163 {
164  double Mean = (double)21.3617 ;
165  double RMS = (double)23.5872 ;
166  return (x - Mean)/RMS;
167 }
168 
169 double Back_Sphere(double x)
170 {
171  double Mean = 0.361716 ;
172  double RMS = 0.327354 ;
173  return (x*RMS)+ Mean;
174 }
175 
176 double Norm_Sphere(double x)
177 {
178  double Mean =0.361716 ;
179  double RMS = 0.327354 ;
180  return (x - Mean)/RMS;
181 }
182 
183 
184 #endif
Back_st5Mom
double Back_st5Mom(double x)
Definition: FuncMeanRMS.h:76
Back_NTrks
double Back_NTrks(int x)
Definition: FuncMeanRMS.h:155
Back_Sphere
double Back_Sphere(double x)
Definition: FuncMeanRMS.h:169
Norm_st6Mom
double Norm_st6Mom(double x)
Definition: FuncMeanRMS.h:84
Norm_st1Mom
double Norm_st1Mom(double x)
Definition: FuncMeanRMS.h:8
Norm_st4Mom
double Norm_st4Mom(double x)
Definition: FuncMeanRMS.h:54
Back_st10Mom
double Back_st10Mom(double x)
Definition: FuncMeanRMS.h:148
x
#define x
Norm_st2Mom
double Norm_st2Mom(double x)
Definition: FuncMeanRMS.h:22
Back_st8Mom
double Back_st8Mom(double x)
Definition: FuncMeanRMS.h:120
Back_st4Mom
double Back_st4Mom(double x)
Definition: FuncMeanRMS.h:62
Norm_st5Mom
double Norm_st5Mom(double x)
Definition: FuncMeanRMS.h:69
Norm_st9Mom
double Norm_st9Mom(double x)
Definition: FuncMeanRMS.h:127
Back_st9Mom
double Back_st9Mom(double x)
Definition: FuncMeanRMS.h:134
Back_st7Mom
double Back_st7Mom(double x)
Definition: FuncMeanRMS.h:106
xAOD::double
double
Definition: CompositeParticle_v1.cxx:159
DiTauMassTools::HistInfo::RMS
@ RMS
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:35
Norm_st10Mom
double Norm_st10Mom(double x)
Definition: FuncMeanRMS.h:141
Back_st3Mom
double Back_st3Mom(double x)
Definition: FuncMeanRMS.h:47
Back_st2Mom
double Back_st2Mom(double x)
Definition: FuncMeanRMS.h:31
Norm_st8Mom
double Norm_st8Mom(double x)
Definition: FuncMeanRMS.h:113
Norm_NTrks
double Norm_NTrks(int x)
Definition: FuncMeanRMS.h:162
Norm_st3Mom
double Norm_st3Mom(double x)
Definition: FuncMeanRMS.h:39
Norm_Sphere
double Norm_Sphere(double x)
Definition: FuncMeanRMS.h:176
Back_st6Mom
double Back_st6Mom(double x)
Definition: FuncMeanRMS.h:91
Back_st1Mom
double Back_st1Mom(double x)
Definition: FuncMeanRMS.h:15
LArMonTransforms.Mean
def Mean(inputs)
Definition: LArMonTransforms.py:438
Norm_st7Mom
double Norm_st7Mom(double x)
Definition: FuncMeanRMS.h:99