ATLAS Offline Software
Public Member Functions | Public Attributes | Private Attributes | List of all members
FakeTrackSmearer Class Reference

#include <FakeTrackSmearer.h>

Collaboration diagram for FakeTrackSmearer:

Public Member Functions

 FakeTrackSmearer (const std::string &InstanceName, long long randomseed=0, bool verbose=false)
 
 FakeTrackSmearer (const FakeTrackSmearer &other)=delete
 
FakeTrackSmeareroperator= (const FakeTrackSmearer &other)=delete
 
void Prepare ()
 
double d0ResFunc (double eta, double pt, int verbose)
 
double z0ResFunc (double eta, double pt, int verbose)
 
double etaResFunc (double eta __attribute__((unused)), double pt __attribute__((unused)), int verbose __attribute__((unused)))
 
double phiResFunc (double eta __attribute__((unused)), double pt __attribute__((unused)), int verbose __attribute__((unused)))
 
double curvResFunc (double eta __attribute__((unused)), double pt __attribute__((unused)), int verbose __attribute__((unused)))
 
double d0RefFunc (double eta __attribute__((unused)), double pt __attribute__((unused)), int verbose __attribute__((unused)))
 
double z0RefFunc (double eta __attribute__((unused)), double pt __attribute__((unused)), int verbose __attribute__((unused)))
 
double etaRefFunc (double eta __attribute__((unused)), double pt __attribute__((unused)), int verbose __attribute__((unused)))
 
double phiRefFunc (double eta __attribute__((unused)), double pt __attribute__((unused)), int verbose __attribute__((unused)))
 
double curvRefFunc (double eta __attribute__((unused)), double pt __attribute__((unused)), int verbose __attribute__((unused)))
 
double effFunc (double eta, double pt, int verbose)
 
double effFuncLRT (double d0, int verbose)
 
void InitArray (double *a, int n, const double in[])
 
void SetInputTracksPtCut (double ptcut)
 
void SetOutputTracksPtCut (double ptcut)
 
void SetMatchRatio (double m)
 
void SetFakeFraction (double f)
 
void SetSigmaScaleFactor (double s)
 
void SetResolutionPtCutOff (double cutoff)
 
void UseResolutionPtCutOff (bool use)
 
void Clear ()
 
int GetNTrueTracks ()
 
int GetNFakes ()
 
int GetNTracks ()
 
void AddTrackAndTruth (double d0, double z0, double curv, double eta, double phi)
 
void AddTrack (double d0, double z0, double curv, double eta, double phi)
 
void PlotD0Res (double eta)
 
void EnableFakes (bool enable=true)
 
void FakeKillerEnable (bool enable=true)
 
void IncludeFakesInResolutionCalculation (bool enable=true)
 
void UseCoinToss (bool enable=true)
 
void SetTrackingEfficiency (double epsilon=0.95)
 
void SetParameterizedEfficiency (bool param=false)
 
void SetParameterizedEfficiency_LRT (bool param=false)
 
void SetParameterizedEfficiency_highd0_LRT (double d0)
 
void SetParameterizedEfficiency_lowd0_LRT (double d0)
 
double z0 (int idx)
 
double d0 (int idx)
 
double phi (int idx)
 
double pt (int idx)
 
double curv (int idx)
 
double eta (int idx)
 

Public Attributes

std::vector< EFTrackingSmearing::FTS_TrackTracks
 
TH1F * d0Narrow = nullptr
 
TH1F * z0Narrow = nullptr
 
TH1F * d0Sim = nullptr
 
TH1F * z0Sim = nullptr
 
TF1 * d0res_eta = nullptr
 
TF1 * d0ref_eta = nullptr
 
TF1 * z0res_eta = nullptr
 
TF1 * z0ref_eta = nullptr
 
TF1 * d0res_pt = nullptr
 
TF1 * d0ref_pt = nullptr
 
TF1 * z0res_pt = nullptr
 
TF1 * z0ref_pt = nullptr
 
TF1 * curvres_eta = nullptr
 
TF1 * curvres_pt = nullptr
 
TF1 * effLRT_d0 = nullptr
 

Private Attributes

std::string m_baseName
 
int m_ntracks = 0
 
int m_nfakes = 0
 
bool m_verbose = false
 
TRandom3 * m_myRandom = nullptr
 
double m_FMatches = 1.
 
double m_FakeFraction = 0.
 
double m_SigmaScaleFactor = 1.0
 
double m_nominalEfficiency = 0.95
 
bool m_parameterizedEfficiency = false
 
bool m_parameterizedEfficiency_LRT = false
 
bool m_includeFakesInResolutionCalculation = false
 
bool m_fakeKillerEnable = false
 
bool m_useCoinToss = false
 
bool m_useInputSigmas = false
 
bool m_produceFakes = true
 
bool m_useResolutionPtCutOff = false
 
bool m_useTrackingTruth = true
 
double m_resolutionPtCutOff =0.0
 
double m_inPtCut = 0.0
 
double m_outPtCut = 1.0
 
double m_parameterizedEfficiency_highd0_LRT = 0.
 
double m_parameterizedEfficiency_lowd0_LRT = 0.
 

Detailed Description

Definition at line 28 of file FakeTrackSmearer.h.

Constructor & Destructor Documentation

◆ FakeTrackSmearer() [1/2]

FakeTrackSmearer::FakeTrackSmearer ( const std::string &  InstanceName,
long long  randomseed = 0,
bool  verbose = false 
)
inline

Definition at line 31 of file FakeTrackSmearer.h.

32  : m_baseName (InstanceName),
34  m_myRandom (new TRandom3(randomseed))
35  {
36  Prepare();
37  Tracks.clear();
38 
39  // Set these in order to define the scenario:
40  //SetSigmaScaleFactor(1.0);
41  //SetResolutionPtCutOff(5.0);
42  //UseResolutionPtCutOff(true);
43 
44  }

◆ FakeTrackSmearer() [2/2]

FakeTrackSmearer::FakeTrackSmearer ( const FakeTrackSmearer other)
delete

Member Function Documentation

◆ AddTrack()

void FakeTrackSmearer::AddTrack ( double  d0,
double  z0,
double  curv,
double  eta,
double  phi 
)
inline

Definition at line 187 of file FakeTrackSmearer.h.

188  {
189  // Adding one or more tracks to this input
190  // input curv is in GeV
191  bool verbose=m_verbose;
192 
193  double abseta = std::abs(eta);
194  double abspt = std::abs(1.0/curv); //GeV
195  double absd0 = std::abs(d0);
196  if (verbose) printf("Smearer::AddTrack: Initial track: curv = %f, phi=%f, eta=%f, d0=%f, z0=%f (pt=%f)\n", curv, phi, eta, d0, z0, abspt);
197 
198 
199  bool condition = (abspt>m_inPtCut) &&
200  (d0RefFunc(abseta,abspt,verbose)>0.0) &&
201  (d0ResFunc(abseta,abspt,verbose)>0.0) &&
202  (z0RefFunc(abseta,abspt,verbose)>0.0) &&
203  (z0ResFunc(abseta,abspt,verbose)>0.0) &&
204  (curvResFunc(abseta,abspt,verbose)>0.0);
205 
206  if (!condition)
207  return;
208 
209 
210  //Call here SetFakeFraction() and SetMatchRatio();
211 
212  double curvres = m_SigmaScaleFactor * curvResFunc(abseta,abspt,0);
213  double phires = m_SigmaScaleFactor * phiResFunc(abseta,abspt,0);
214  double etares = m_SigmaScaleFactor * etaResFunc(abseta,abspt,0);
215  double d0res = m_SigmaScaleFactor * d0ResFunc(abseta,abspt,0);
216  double z0res = m_SigmaScaleFactor * z0ResFunc(abseta,abspt,0);
217  if (verbose) printf("Smearer::AddTrack: Smearing parameters: curv = %f, phi=%f, eta=%f, d0=%f, z0=%f\n", curvres, phires, etares, d0res, z0res);
218 
219 
220  #ifdef STANDALONE_FAKETRACKSMEARER
221  d0Narrow->Fill(d0res);
222  z0Narrow->Fill(z0res);
223  #endif
224 
225 
226  #ifdef STANDALONE_FAKETRACKSMEARER
227  d0Sim->Fill(s_narrow_d0_model->Eval(abseta));
228  z0Sim->Fill(s_narrow_z0_model->Eval(abseta));
229  #endif
230 
231 
232 
234  double eff = m_nominalEfficiency;
236  eff = eff * effFunc(abseta,abspt,verbose);
237  }
239  eff = eff * effFuncLRT( absd0, verbose);
240  }
241 
242  int ntracks=( m_myRandom->Rndm()<eff)?1:0;
243 
244  if (m_produceFakes)
245  {
246  if (m_useCoinToss) {
247  if (avgntracks>m_nominalEfficiency) ntracks+= m_myRandom->Poisson(avgntracks-m_nominalEfficiency);
248  else if (avgntracks<m_nominalEfficiency) ntracks=( m_myRandom->Rndm()<avgntracks)?1:0;
249  }
250  else
251  ntracks= m_myRandom->Poisson(avgntracks);
252  }
253 
254  if (verbose) printf("Smearer::AddTrack: Now producing %d tracks\n", ntracks);
255  for (int i=0;i<ntracks;i++)
256  {
257 
258  // Creating close track
259  double gend0,genz0, geneta, genphi, gencurv;
260  gend0 = m_myRandom->Gaus(d0,d0res);
261  genz0 = m_myRandom->Gaus(z0,z0res);
262  geneta= m_myRandom->Gaus(eta,etares);
263  genphi= m_myRandom->Gaus(phi,phires);
264  gencurv= m_myRandom->Gaus(curv,curvres);
265 
267  1./gencurv, //pT
268  geneta,
269  genphi,
270  gend0,
271  genz0,
272  curvres/gencurv/gencurv, // res pT
273  etares,
274  phires,
275  d0res,
276  z0res,
277  false
278  );
279  if (verbose) printf("Smearer::AddTrack: Producing this track: curv = %f, phi=%f, eta=%f, d0=%f, z0=%f pt=%f (ptres=%f)\n",gencurv, genphi, geneta, gend0, genz0, Track.pt(), Track.sigma_pt());
280  if (std::abs(Track.pt())>=m_outPtCut)
281  {
282  Tracks.push_back(Track);
283  m_ntracks++;
284  if (verbose) printf("Smearer::AddTrack: Adding track with pt=%f ==> track #%d\n",Track.pt(), m_ntracks);
285  }
286  else if (verbose) printf("Smearer::AddTrack: No track added because of the output pt cut\n");
287 
288  }
289 
290 
291  // AddTrack Done
292  return;
293  };

◆ AddTrackAndTruth()

void FakeTrackSmearer::AddTrackAndTruth ( double  d0,
double  z0,
double  curv,
double  eta,
double  phi 
)
inline

Definition at line 179 of file FakeTrackSmearer.h.

180  {
184  }

◆ Clear()

void FakeTrackSmearer::Clear ( )
inline

Definition at line 173 of file FakeTrackSmearer.h.

173 {m_ntracks=0; m_nfakes=0; Tracks.clear(); };

◆ curv()

double FakeTrackSmearer::curv ( int  idx)
inline

Definition at line 365 of file FakeTrackSmearer.h.

365 {return Tracks[idx].pt();};

◆ curvRefFunc()

double FakeTrackSmearer::curvRefFunc ( double eta   __attribute__(unused),
double pt   __attribute__(unused),
int verbose   __attribute__(unused) 
)
inline

Definition at line 141 of file FakeTrackSmearer.h.

142  {
143  return 1.;// no reference to scale
144  }

◆ curvResFunc()

double FakeTrackSmearer::curvResFunc ( double eta   __attribute__(unused),
double pt   __attribute__(unused),
int verbose   __attribute__(unused) 
)
inline

Definition at line 112 of file FakeTrackSmearer.h.

113  {
114  // add here other curv res functions
115  if (pt!=0.) return FitFunctions::getptqoptResParam_N(eta,pt,verbose)/pt;
116  return 0.;
117  }

◆ d0()

double FakeTrackSmearer::d0 ( int  idx)
inline

Definition at line 362 of file FakeTrackSmearer.h.

362 {return Tracks[idx].d0();};

◆ d0RefFunc()

double FakeTrackSmearer::d0RefFunc ( double eta   __attribute__(unused),
double pt   __attribute__(unused),
int verbose   __attribute__(unused) 
)
inline

Definition at line 121 of file FakeTrackSmearer.h.

122  {
123  return 1.; // no reference to scale
124  }

◆ d0ResFunc()

double FakeTrackSmearer::d0ResFunc ( double  eta,
double  pt,
int  verbose 
)
inline

Definition at line 88 of file FakeTrackSmearer.h.

89  {
90  // add here other d0 res functions
91  return FitFunctions::getd0ResParam_N(eta,pt,verbose)/1000.0;// convert to mm
92  }

◆ effFunc()

double FakeTrackSmearer::effFunc ( double  eta,
double  pt,
int  verbose 
)
inline

Definition at line 146 of file FakeTrackSmearer.h.

147  {
148  // add here other efficiency functions
149  return FitFunctions::getEffParam_N(eta,pt,verbose);
150  }

◆ effFuncLRT()

double FakeTrackSmearer::effFuncLRT ( double  d0,
int  verbose 
)
inline

Definition at line 152 of file FakeTrackSmearer.h.

153  {
154  // add here other efficiency functions
156  }

◆ EnableFakes()

void FakeTrackSmearer::EnableFakes ( bool  enable = true)
inline

Definition at line 307 of file FakeTrackSmearer.h.

308  {
309  m_produceFakes=enable;
310  if (not Tracks.empty())
311  printf("Smearer::EnableFakes: Warning: you are reconfiguring fakes production but it seems you have already processed events with this instance of FakeTracksSmearer\n");
312  }

◆ eta()

double FakeTrackSmearer::eta ( int  idx)
inline

Definition at line 366 of file FakeTrackSmearer.h.

366 {return Tracks[idx].eta();};

◆ etaRefFunc()

double FakeTrackSmearer::etaRefFunc ( double eta   __attribute__(unused),
double pt   __attribute__(unused),
int verbose   __attribute__(unused) 
)
inline

Definition at line 131 of file FakeTrackSmearer.h.

132  {
133  return 1.;// no reference to scale
134  }

◆ etaResFunc()

double FakeTrackSmearer::etaResFunc ( double eta   __attribute__(unused),
double pt   __attribute__(unused),
int verbose   __attribute__(unused) 
)
inline

Definition at line 100 of file FakeTrackSmearer.h.

101  {
102  // add here other eta res functions
103  return 0.;
104  }

◆ FakeKillerEnable()

void FakeTrackSmearer::FakeKillerEnable ( bool  enable = true)
inline

Definition at line 314 of file FakeTrackSmearer.h.

315  {
316  m_fakeKillerEnable=enable;
317  if (not Tracks.empty())
318  printf("Smearer::FakeKillerEnable: Warning: you are reconfiguring fakes production but it seems you have already processed events with this instance of FakeTracksSmearer (FakeKillerEnable)\n");
319  }

◆ GetNFakes()

int FakeTrackSmearer::GetNFakes ( )
inline

Definition at line 176 of file FakeTrackSmearer.h.

176 {return m_nfakes; };

◆ GetNTracks()

int FakeTrackSmearer::GetNTracks ( )
inline

Definition at line 177 of file FakeTrackSmearer.h.

177 {return m_ntracks+m_nfakes; };

◆ GetNTrueTracks()

int FakeTrackSmearer::GetNTrueTracks ( )
inline

Definition at line 175 of file FakeTrackSmearer.h.

175 {return m_ntracks; };

◆ IncludeFakesInResolutionCalculation()

void FakeTrackSmearer::IncludeFakesInResolutionCalculation ( bool  enable = true)
inline

Definition at line 321 of file FakeTrackSmearer.h.

322  {
324  if (not Tracks.empty())
325  printf("Smearer::IncludeFakesInResolutionCalculation: Warning: you are reconfiguring fakes production but it seems you have already processed events with this instance of FakeTracksSmearer (IncluldeFakesInResolutionCalculation)\n");
326  }

◆ InitArray()

void FakeTrackSmearer::InitArray ( double *  a,
int  n,
const double  in[] 
)
inline

Definition at line 158 of file FakeTrackSmearer.h.

159  {
160  for (int i=0;i<n;i++) a[i]=in[i];
161  }

◆ operator=()

FakeTrackSmearer& FakeTrackSmearer::operator= ( const FakeTrackSmearer other)
delete

◆ phi()

double FakeTrackSmearer::phi ( int  idx)
inline

Definition at line 363 of file FakeTrackSmearer.h.

363 {return Tracks[idx].phi();};

◆ phiRefFunc()

double FakeTrackSmearer::phiRefFunc ( double eta   __attribute__(unused),
double pt   __attribute__(unused),
int verbose   __attribute__(unused) 
)
inline

Definition at line 136 of file FakeTrackSmearer.h.

137  {
138  return 1.;// no reference to scale
139  }

◆ phiResFunc()

double FakeTrackSmearer::phiResFunc ( double eta   __attribute__(unused),
double pt   __attribute__(unused),
int verbose   __attribute__(unused) 
)
inline

Definition at line 106 of file FakeTrackSmearer.h.

107  {
108  // add here other phi res functions
109  return 0.;
110  }

◆ PlotD0Res()

void FakeTrackSmearer::PlotD0Res ( double  eta)
inline

Definition at line 295 of file FakeTrackSmearer.h.

296  {
297  TCanvas *d0rescanvas=(TCanvas *)gROOT->FindObjectAny("d0rescanvas");
298  if (d0rescanvas==NULL) d0rescanvas=new TCanvas("d0rescanvas");
299  d0res_pt->SetParameter(0,eta);
300  d0ref_pt->SetParameter(0,eta);
301  d0res_pt->Draw();
302  d0ref_pt->SetLineColor(4);
303  d0ref_pt->Draw("same");
304  }

◆ Prepare()

void FakeTrackSmearer::Prepare ( )
inline

Definition at line 50 of file FakeTrackSmearer.h.

51  {
52  printf("Entering Prepare\n");
53  std::string name;
54 
55  name="d0res_eta"+m_baseName; //pt=10GeV
56  d0res_eta=new TF1(name.c_str(),[&](double*x,double*p){return d0ResFunc(x[0],p[0]=10.,0); },0.0,4.0,1);
57  name="z0res_eta"+m_baseName;
58  z0res_eta=new TF1(name.c_str(),[&](double*x,double*p){return z0ResFunc(x[0],p[0]=10.,0); },0.0,4.0,1);
59  name="curvres_eta"+m_baseName;
60  curvres_eta=new TF1(name.c_str(),[&](double*x,double*p){return curvResFunc(x[0],p[0]=10.,0); },0.0,4.0,1);
61 
62  name="d0ref_eta"+m_baseName;
63  d0ref_eta=new TF1(name.c_str(),[&](double*x,double*p){return d0RefFunc(x[0],p[0]=10.,0); },0.0,4.0,1);
64  name="z0ref_eta"+m_baseName;
65  z0ref_eta=new TF1(name.c_str(),[&](double*x,double*p){return z0RefFunc(x[0],p[0]=10.,0); },0.0,4.0,1);
66 
67 
68  name="d0res_pt"+m_baseName; //eta=1
69  d0res_pt=new TF1(name.c_str(),[&](double*x,double*p){return d0ResFunc(p[0]=1.,x[0],0); },1.0,200.0,1);
70  name="z0res_pt"+m_baseName;
71  z0res_pt=new TF1(name.c_str(),[&](double*x,double*p){return z0ResFunc(p[0]=1.,x[0],0); },1.0,200.0,1);
72  name="curvres_pt"+m_baseName;
73  curvres_pt=new TF1(name.c_str(),[&](double*x,double*p){return curvResFunc(p[0]=1.,x[0],0); },1.0,200.0,1);
74 
75  name="d0ref_pt"+m_baseName;
76  d0ref_pt=new TF1(name.c_str(),[&](double*x,double*p){return d0RefFunc(p[0]=1.,x[0],0); },1.0,200.0,1);
77  name="z0ref_pt"+m_baseName;
78  z0ref_pt=new TF1(name.c_str(),[&](double*x,double*p){return z0RefFunc(p[0]=1.,x[0],0); },1.0,200.0,1);
79 
80  name="effLRT_d0"+m_baseName;
83  effLRT_d0=new TF1(name.c_str(),[&](double*x, double*p){p[0]=1.;return effFuncLRT(x[0],0); },0.,600.0,1);
84 
85  }

◆ pt()

double FakeTrackSmearer::pt ( int  idx)
inline

Definition at line 364 of file FakeTrackSmearer.h.

364 {return Tracks[idx].pt();};

◆ SetFakeFraction()

void FakeTrackSmearer::SetFakeFraction ( double  f)
inline

Definition at line 168 of file FakeTrackSmearer.h.

168 {m_FakeFraction=f; }; // i.e. f

◆ SetInputTracksPtCut()

void FakeTrackSmearer::SetInputTracksPtCut ( double  ptcut)
inline

Definition at line 165 of file FakeTrackSmearer.h.

165 {m_inPtCut=ptcut;};

◆ SetMatchRatio()

void FakeTrackSmearer::SetMatchRatio ( double  m)
inline

Definition at line 167 of file FakeTrackSmearer.h.

167 { m_FMatches=m;}; // NMatch/NOffline i.e. k

◆ SetOutputTracksPtCut()

void FakeTrackSmearer::SetOutputTracksPtCut ( double  ptcut)
inline

Definition at line 166 of file FakeTrackSmearer.h.

166 {m_outPtCut=ptcut;};

◆ SetParameterizedEfficiency()

void FakeTrackSmearer::SetParameterizedEfficiency ( bool  param = false)
inline

Definition at line 340 of file FakeTrackSmearer.h.

341  {
343  }

◆ SetParameterizedEfficiency_highd0_LRT()

void FakeTrackSmearer::SetParameterizedEfficiency_highd0_LRT ( double  d0)
inline

Definition at line 350 of file FakeTrackSmearer.h.

351  {
353  }

◆ SetParameterizedEfficiency_lowd0_LRT()

void FakeTrackSmearer::SetParameterizedEfficiency_lowd0_LRT ( double  d0)
inline

Definition at line 355 of file FakeTrackSmearer.h.

356  {
358  }

◆ SetParameterizedEfficiency_LRT()

void FakeTrackSmearer::SetParameterizedEfficiency_LRT ( bool  param = false)
inline

Definition at line 345 of file FakeTrackSmearer.h.

346  {
348  }

◆ SetResolutionPtCutOff()

void FakeTrackSmearer::SetResolutionPtCutOff ( double  cutoff)
inline

Definition at line 170 of file FakeTrackSmearer.h.

170 {m_resolutionPtCutOff=cutoff; };

◆ SetSigmaScaleFactor()

void FakeTrackSmearer::SetSigmaScaleFactor ( double  s)
inline

Definition at line 169 of file FakeTrackSmearer.h.

◆ SetTrackingEfficiency()

void FakeTrackSmearer::SetTrackingEfficiency ( double  epsilon = 0.95)
inline

Definition at line 335 of file FakeTrackSmearer.h.

336  {
337  m_nominalEfficiency=epsilon;
338  }

◆ UseCoinToss()

void FakeTrackSmearer::UseCoinToss ( bool  enable = true)
inline

Definition at line 328 of file FakeTrackSmearer.h.

329  {
330  m_useCoinToss=enable;
331  if (not Tracks.empty())
332  printf("Smearer::UseCoinToss: Warning: you are reconfiguring fakes production but it seems you have already processed events with this instance of FakeTracksSmearer (UseCoinToss)\n");
333  }

◆ UseResolutionPtCutOff()

void FakeTrackSmearer::UseResolutionPtCutOff ( bool  use)
inline

Definition at line 171 of file FakeTrackSmearer.h.

171 {m_useResolutionPtCutOff=use ; };

◆ z0()

double FakeTrackSmearer::z0 ( int  idx)
inline

Definition at line 361 of file FakeTrackSmearer.h.

361 {return Tracks[idx].z0();};

◆ z0RefFunc()

double FakeTrackSmearer::z0RefFunc ( double eta   __attribute__(unused),
double pt   __attribute__(unused),
int verbose   __attribute__(unused) 
)
inline

Definition at line 126 of file FakeTrackSmearer.h.

127  {
128  return 1.; // no reference to scale
129  }

◆ z0ResFunc()

double FakeTrackSmearer::z0ResFunc ( double  eta,
double  pt,
int  verbose 
)
inline

Definition at line 94 of file FakeTrackSmearer.h.

95  {
96  // add here other z0 res functions
97  return FitFunctions::getz0ResParam_N(eta,pt,verbose)/1000.0; // convert to mm
98  }

Member Data Documentation

◆ curvres_eta

TF1* FakeTrackSmearer::curvres_eta = nullptr

Definition at line 382 of file FakeTrackSmearer.h.

◆ curvres_pt

TF1* FakeTrackSmearer::curvres_pt = nullptr

Definition at line 383 of file FakeTrackSmearer.h.

◆ d0Narrow

TH1F* FakeTrackSmearer::d0Narrow = nullptr

Definition at line 369 of file FakeTrackSmearer.h.

◆ d0ref_eta

TF1* FakeTrackSmearer::d0ref_eta = nullptr

Definition at line 375 of file FakeTrackSmearer.h.

◆ d0ref_pt

TF1* FakeTrackSmearer::d0ref_pt = nullptr

Definition at line 379 of file FakeTrackSmearer.h.

◆ d0res_eta

TF1* FakeTrackSmearer::d0res_eta = nullptr

Definition at line 374 of file FakeTrackSmearer.h.

◆ d0res_pt

TF1* FakeTrackSmearer::d0res_pt = nullptr

Definition at line 378 of file FakeTrackSmearer.h.

◆ d0Sim

TH1F* FakeTrackSmearer::d0Sim = nullptr

Definition at line 371 of file FakeTrackSmearer.h.

◆ effLRT_d0

TF1* FakeTrackSmearer::effLRT_d0 = nullptr

Definition at line 384 of file FakeTrackSmearer.h.

◆ m_baseName

std::string FakeTrackSmearer::m_baseName
private

Definition at line 388 of file FakeTrackSmearer.h.

◆ m_FakeFraction

double FakeTrackSmearer::m_FakeFraction = 0.
private

Definition at line 395 of file FakeTrackSmearer.h.

◆ m_fakeKillerEnable

bool FakeTrackSmearer::m_fakeKillerEnable = false
private

Definition at line 402 of file FakeTrackSmearer.h.

◆ m_FMatches

double FakeTrackSmearer::m_FMatches = 1.
private

Definition at line 394 of file FakeTrackSmearer.h.

◆ m_includeFakesInResolutionCalculation

bool FakeTrackSmearer::m_includeFakesInResolutionCalculation = false
private

Definition at line 401 of file FakeTrackSmearer.h.

◆ m_inPtCut

double FakeTrackSmearer::m_inPtCut = 0.0
private

Definition at line 409 of file FakeTrackSmearer.h.

◆ m_myRandom

TRandom3* FakeTrackSmearer::m_myRandom = nullptr
private

Definition at line 392 of file FakeTrackSmearer.h.

◆ m_nfakes

int FakeTrackSmearer::m_nfakes = 0
private

Definition at line 390 of file FakeTrackSmearer.h.

◆ m_nominalEfficiency

double FakeTrackSmearer::m_nominalEfficiency = 0.95
private

Definition at line 397 of file FakeTrackSmearer.h.

◆ m_ntracks

int FakeTrackSmearer::m_ntracks = 0
private

Definition at line 389 of file FakeTrackSmearer.h.

◆ m_outPtCut

double FakeTrackSmearer::m_outPtCut = 1.0
private

Definition at line 410 of file FakeTrackSmearer.h.

◆ m_parameterizedEfficiency

bool FakeTrackSmearer::m_parameterizedEfficiency = false
private

Definition at line 399 of file FakeTrackSmearer.h.

◆ m_parameterizedEfficiency_highd0_LRT

double FakeTrackSmearer::m_parameterizedEfficiency_highd0_LRT = 0.
private

Definition at line 411 of file FakeTrackSmearer.h.

◆ m_parameterizedEfficiency_lowd0_LRT

double FakeTrackSmearer::m_parameterizedEfficiency_lowd0_LRT = 0.
private

Definition at line 412 of file FakeTrackSmearer.h.

◆ m_parameterizedEfficiency_LRT

bool FakeTrackSmearer::m_parameterizedEfficiency_LRT = false
private

Definition at line 400 of file FakeTrackSmearer.h.

◆ m_produceFakes

bool FakeTrackSmearer::m_produceFakes = true
private

Definition at line 405 of file FakeTrackSmearer.h.

◆ m_resolutionPtCutOff

double FakeTrackSmearer::m_resolutionPtCutOff =0.0
private

Definition at line 408 of file FakeTrackSmearer.h.

◆ m_SigmaScaleFactor

double FakeTrackSmearer::m_SigmaScaleFactor = 1.0
private

Definition at line 396 of file FakeTrackSmearer.h.

◆ m_useCoinToss

bool FakeTrackSmearer::m_useCoinToss = false
private

Definition at line 403 of file FakeTrackSmearer.h.

◆ m_useInputSigmas

bool FakeTrackSmearer::m_useInputSigmas = false
private

Definition at line 404 of file FakeTrackSmearer.h.

◆ m_useResolutionPtCutOff

bool FakeTrackSmearer::m_useResolutionPtCutOff = false
private

Definition at line 406 of file FakeTrackSmearer.h.

◆ m_useTrackingTruth

bool FakeTrackSmearer::m_useTrackingTruth = true
private

Definition at line 407 of file FakeTrackSmearer.h.

◆ m_verbose

bool FakeTrackSmearer::m_verbose = false
private

Definition at line 391 of file FakeTrackSmearer.h.

◆ Tracks

std::vector<EFTrackingSmearing::FTS_Track> FakeTrackSmearer::Tracks

Definition at line 360 of file FakeTrackSmearer.h.

◆ z0Narrow

TH1F* FakeTrackSmearer::z0Narrow = nullptr

Definition at line 370 of file FakeTrackSmearer.h.

◆ z0ref_eta

TF1* FakeTrackSmearer::z0ref_eta = nullptr

Definition at line 377 of file FakeTrackSmearer.h.

◆ z0ref_pt

TF1* FakeTrackSmearer::z0ref_pt = nullptr

Definition at line 381 of file FakeTrackSmearer.h.

◆ z0res_eta

TF1* FakeTrackSmearer::z0res_eta = nullptr

Definition at line 376 of file FakeTrackSmearer.h.

◆ z0res_pt

TF1* FakeTrackSmearer::z0res_pt = nullptr

Definition at line 380 of file FakeTrackSmearer.h.

◆ z0Sim

TH1F* FakeTrackSmearer::z0Sim = nullptr

Definition at line 372 of file FakeTrackSmearer.h.


The documentation for this class was generated from the following file:
FakeTrackSmearer::z0res_eta
TF1 * z0res_eta
Definition: FakeTrackSmearer.h:376
FakeTrackSmearer::z0Sim
TH1F * z0Sim
Definition: FakeTrackSmearer.h:372
FakeTrackSmearer::m_parameterizedEfficiency
bool m_parameterizedEfficiency
Definition: FakeTrackSmearer.h:399
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
FakeTrackSmearer::effFuncLRT
double effFuncLRT(double d0, int verbose)
Definition: FakeTrackSmearer.h:152
FakeTrackSmearer::d0ref_pt
TF1 * d0ref_pt
Definition: FakeTrackSmearer.h:379
FakeTrackSmearer::m_parameterizedEfficiency_highd0_LRT
double m_parameterizedEfficiency_highd0_LRT
Definition: FakeTrackSmearer.h:411
FakeTrackSmearer::d0
double d0(int idx)
Definition: FakeTrackSmearer.h:362
FakeTrackSmearer::pt
double pt(int idx)
Definition: FakeTrackSmearer.h:364
FakeTrackSmearer::m_SigmaScaleFactor
double m_SigmaScaleFactor
Definition: FakeTrackSmearer.h:396
FakeTrackSmearer::m_resolutionPtCutOff
double m_resolutionPtCutOff
Definition: FakeTrackSmearer.h:408
xAOD::JetInput::Track
@ Track
Definition: JetContainerInfo.h:61
FakeTrackSmearer::Prepare
void Prepare()
Definition: FakeTrackSmearer.h:50
LArG4GenerateShowerLib.condition
condition
Definition: LArG4GenerateShowerLib.py:19
FakeTrackSmearer::phiResFunc
double phiResFunc(double eta __attribute__((unused)), double pt __attribute__((unused)), int verbose __attribute__((unused)))
Definition: FakeTrackSmearer.h:106
FakeTrackSmearer::m_myRandom
TRandom3 * m_myRandom
Definition: FakeTrackSmearer.h:392
FakeTrackSmearer::m_produceFakes
bool m_produceFakes
Definition: FakeTrackSmearer.h:405
x
#define x
FakeTrackSmearer::Tracks
std::vector< EFTrackingSmearing::FTS_Track > Tracks
Definition: FakeTrackSmearer.h:360
FakeTrackSmearer::m_useInputSigmas
bool m_useInputSigmas
Definition: FakeTrackSmearer.h:404
Pythia8_A14_NNPDF23LO_forMGHT_EvtGen.ptcut
float ptcut
Definition: Pythia8_A14_NNPDF23LO_forMGHT_EvtGen.py:9
FakeTrackSmearer::z0Narrow
TH1F * z0Narrow
Definition: FakeTrackSmearer.h:370
FakeTrackSmearer::effLRT_d0
TF1 * effLRT_d0
Definition: FakeTrackSmearer.h:384
FakeTrackSmearer::curvres_pt
TF1 * curvres_pt
Definition: FakeTrackSmearer.h:383
FakeTrackSmearer::m_FakeFraction
double m_FakeFraction
Definition: FakeTrackSmearer.h:395
FakeTrackSmearer::etaResFunc
double etaResFunc(double eta __attribute__((unused)), double pt __attribute__((unused)), int verbose __attribute__((unused)))
Definition: FakeTrackSmearer.h:100
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
FakeTrackSmearer::d0res_pt
TF1 * d0res_pt
Definition: FakeTrackSmearer.h:378
lumiFormat.i
int i
Definition: lumiFormat.py:85
beamspotman.n
n
Definition: beamspotman.py:731
FakeTrackSmearer::m_inPtCut
double m_inPtCut
Definition: FakeTrackSmearer.h:409
FakeTrackSmearer::z0ref_pt
TF1 * z0ref_pt
Definition: FakeTrackSmearer.h:381
FakeTrackSmearer::m_parameterizedEfficiency_lowd0_LRT
double m_parameterizedEfficiency_lowd0_LRT
Definition: FakeTrackSmearer.h:412
hist_file_dump.f
f
Definition: hist_file_dump.py:135
FakeTrackSmearer::curvResFunc
double curvResFunc(double eta __attribute__((unused)), double pt __attribute__((unused)), int verbose __attribute__((unused)))
Definition: FakeTrackSmearer.h:112
FakeTrackSmearer::m_nfakes
int m_nfakes
Definition: FakeTrackSmearer.h:390
FakeTrackSmearer::m_useResolutionPtCutOff
bool m_useResolutionPtCutOff
Definition: FakeTrackSmearer.h:406
FakeTrackSmearer::curvres_eta
TF1 * curvres_eta
Definition: FakeTrackSmearer.h:382
FakeTrackSmearer::effFunc
double effFunc(double eta, double pt, int verbose)
Definition: FakeTrackSmearer.h:146
FakeTrackSmearer::m_nominalEfficiency
double m_nominalEfficiency
Definition: FakeTrackSmearer.h:397
FakeTrackSmearer::d0ResFunc
double d0ResFunc(double eta, double pt, int verbose)
Definition: FakeTrackSmearer.h:88
FakeTrackSmearer::z0res_pt
TF1 * z0res_pt
Definition: FakeTrackSmearer.h:380
FakeTrackSmearer::d0Sim
TH1F * d0Sim
Definition: FakeTrackSmearer.h:371
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
EFTrackingSmearing::FTS_Track
Definition: FTS_Track.h:11
FakeTrackSmearer::d0RefFunc
double d0RefFunc(double eta __attribute__((unused)), double pt __attribute__((unused)), int verbose __attribute__((unused)))
Definition: FakeTrackSmearer.h:121
FakeTrackSmearer::d0res_eta
TF1 * d0res_eta
Definition: FakeTrackSmearer.h:374
FakeTrackSmearer::z0ref_eta
TF1 * z0ref_eta
Definition: FakeTrackSmearer.h:377
FakeTrackSmearer::AddTrack
void AddTrack(double d0, double z0, double curv, double eta, double phi)
Definition: FakeTrackSmearer.h:187
a
TList * a
Definition: liststreamerinfos.cxx:10
FakeTrackSmearer::d0ref_eta
TF1 * d0ref_eta
Definition: FakeTrackSmearer.h:375
python.TriggerHandler.verbose
verbose
Definition: TriggerHandler.py:297
FakeTrackSmearer::z0RefFunc
double z0RefFunc(double eta __attribute__((unused)), double pt __attribute__((unused)), int verbose __attribute__((unused)))
Definition: FakeTrackSmearer.h:126
FakeTrackSmearer::eta
double eta(int idx)
Definition: FakeTrackSmearer.h:366
FakeTrackSmearer::z0
double z0(int idx)
Definition: FakeTrackSmearer.h:361
FakeTrackSmearer::m_verbose
bool m_verbose
Definition: FakeTrackSmearer.h:391
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
FakeTrackSmearer::d0Narrow
TH1F * d0Narrow
Definition: FakeTrackSmearer.h:369
FakeTrackSmearer::m_parameterizedEfficiency_LRT
bool m_parameterizedEfficiency_LRT
Definition: FakeTrackSmearer.h:400
FakeTrackSmearer::m_baseName
std::string m_baseName
Definition: FakeTrackSmearer.h:388
Track
Definition: TriggerChamberClusterOnTrackCreator.h:21
dqt_zlumi_alleff_HIST.eff
int eff
Definition: dqt_zlumi_alleff_HIST.py:113
FakeTrackSmearer::phi
double phi(int idx)
Definition: FakeTrackSmearer.h:363
FakeTrackSmearer::m_outPtCut
double m_outPtCut
Definition: FakeTrackSmearer.h:410
FakeTrackSmearer::m_FMatches
double m_FMatches
Definition: FakeTrackSmearer.h:394
FakeTrackSmearer::m_fakeKillerEnable
bool m_fakeKillerEnable
Definition: FakeTrackSmearer.h:402
FakeTrackSmearer::curv
double curv(int idx)
Definition: FakeTrackSmearer.h:365
FakeTrackSmearer::m_includeFakesInResolutionCalculation
bool m_includeFakesInResolutionCalculation
Definition: FakeTrackSmearer.h:401
FakeTrackSmearer::z0ResFunc
double z0ResFunc(double eta, double pt, int verbose)
Definition: FakeTrackSmearer.h:94
FakeTrackSmearer::m_ntracks
int m_ntracks
Definition: FakeTrackSmearer.h:389
FakeTrackSmearer::m_useTrackingTruth
bool m_useTrackingTruth
Definition: FakeTrackSmearer.h:407
FakeTrackSmearer::m_useCoinToss
bool m_useCoinToss
Definition: FakeTrackSmearer.h:403