ATLAS Offline Software
ScaleFactorRetriever.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef SCALEFACTORRETRIEVER_H_
6 #define SCALEFACTORRETRIEVER_H_
7 
8 #include <memory>
9 #include <string>
10 #include <vector>
11 
12 #include "AsgTools/AsgTool.h"
15 #include "xAODMuon/MuonContainer.h"
18 
19 // Forward declare:
20 namespace top {
21  class Event;
22  class TopConfig;
23 }
24 
25 
26 namespace top {
28  enum topSFSyst {
29  nominal = 0,
30  // Electron Trigger SFs
32  // Electron reconstruction SFs
34  // Electron ID SFs
36  // Electron isolation SFs
38  // Electron Charge flip SFs
42  // Muon Trigger SFs
46  // Muon ID SFs (regular)
49  // Muon ID SFs (low pT)
52  // Muon isolation SFs
55  // Muon TTVA SFs
58  // For more complex systematics
93 
95  // Tau EleOLR SFs
99  // Tau RNNID SFs
110  // Tau Reconstruction SFs
113  // Photon SFs
118  // B-tagging SFs
122  // JVT SFs
124  // fJVT SFs
126  // FWD Electron ID SFs
128 
129  lastsys
130  };
131  const std::map<topSFSyst, TString> tauSF_name = {
132  {TAU_SF_NOMINAL, "TAU_SF_NOMINAL"},
133  {TAUS_TRUEHADTAU_EFF_RECO_TOTAL__1up, "TAUS_TRUEHADTAU_EFF_RECO_TOTAL__1up"},
134  {TAUS_TRUEHADTAU_EFF_RECO_TOTAL__1down, "TAUS_TRUEHADTAU_EFF_RECO_TOTAL__1down"},
136  "TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2025__1up"},
138  "TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2025__1down"},
140  "TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2530__1up"},
142  "TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2530__1down"},
144  "TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT3040__1up"},
146  "TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT3040__1down"},
148  "TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPTGE40__1up"},
150  "TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPTGE40__1down"},
152  "TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2025__1up"},
154  "TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2025__1down"},
156  "TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2530__1up"},
158  "TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2530__1down"},
160  "TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT3040__1up"},
162  "TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT3040__1down"},
164  "TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPTGE40__1up"},
166  "TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPTGE40__1down"},
167  {TAUS_TRUEHADTAU_EFF_RNNID_HIGHPT__1up, "TAUS_TRUEHADTAU_EFF_RNNID_HIGHPT__1up"},
168  {TAUS_TRUEHADTAU_EFF_RNNID_HIGHPT__1down, "TAUS_TRUEHADTAU_EFF_RNNID_HIGHPT__1down"},
169  {TAUS_TRUEHADTAU_EFF_RNNID_SYST__1up, "TAUS_TRUEHADTAU_EFF_RNNID_SYST__1up"},
170  {TAUS_TRUEHADTAU_EFF_RNNID_SYST__1down, "TAUS_TRUEHADTAU_EFF_RNNID_SYST__1down"},
171  {TAUS_TRUEHADTAU_EFF_ELEOLR_TOTAL__1up, "TAUS_TRUEHADTAU_EFF_ELEOLR_TOTAL__1up"},
172  {TAUS_TRUEHADTAU_EFF_ELEOLR_TOTAL__1down, "TAUS_TRUEHADTAU_EFF_ELEOLR_TOTAL__1down"},
173  {TAUS_TRUEELECTRON_EFF_ELEOLR_STAT__1up, "TAUS_TRUEELECTRON_EFF_ELEOLR_STAT__1up"},
174  {TAUS_TRUEELECTRON_EFF_ELEOLR_STAT__1down, "TAUS_TRUEELECTRON_EFF_ELEOLR_STAT__1down"},
175  {TAUS_TRUEELECTRON_EFF_ELEOLR_SYST__1up, "TAUS_TRUEELECTRON_EFF_ELEOLR_SYST__1up"},
176  {TAUS_TRUEELECTRON_EFF_ELEOLR_SYST__1down, "TAUS_TRUEELECTRON_EFF_ELEOLR_SYST__1down"},
177  };
178 
179  const std::map<topSFSyst, TString> tauSF_alias = {
180  {TAU_SF_NOMINAL, "TAU_SF_NOMINAL"},
181  {TAUS_TRUEHADTAU_EFF_RECO_TOTAL__1up, "EFF_RECO_TOTAL_UP"},
182  {TAUS_TRUEHADTAU_EFF_RECO_TOTAL__1down, "EFF_RECO_TOTAL_DOWN"},
183  {TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2025__1up, "EFF_RNNID_1PRONGSTATSYSTPT2025_UP"},
184  {TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2025__1down, "EFF_RNNID_1PRONGSTATSYSTPT2025_DOWN"},
185  {TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2530__1up, "EFF_RNNID_1PRONGSTATSYSTPT2530_UP"},
186  {TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2530__1down, "EFF_RNNID_1PRONGSTATSYSTPT2530_DOWN"},
187  {TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT3040__1up, "EFF_RNNID_1PRONGSTATSYSTPT3040_UP"},
188  {TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT3040__1down, "EFF_RNNID_1PRONGSTATSYSTPT3040_DOWN"},
189  {TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPTGE40__1up, "EFF_RNNID_1PRONGSTATSYSTPTGE40_UP"},
190  {TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPTGE40__1down, "EFF_RNNID_1PRONGSTATSYSTPTGE40_DOWN"},
191  {TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2025__1up, "EFF_RNNID_3PRONGSTATSYSTPT2025_UP"},
192  {TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2025__1down, "EFF_RNNID_3PRONGSTATSYSTPT2025_DOWN"},
193  {TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2530__1up, "EFF_RNNID_3PRONGSTATSYSTPT2530_UP"},
194  {TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2530__1down, "EFF_RNNID_3PRONGSTATSYSTPT2530_DOWN"},
195  {TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT3040__1up, "EFF_RNNID_3PRONGSTATSYSTPT3040_UP"},
196  {TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT3040__1down, "EFF_RNNID_3PRONGSTATSYSTPT3040_DOWN"},
197  {TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPTGE40__1up, "EFF_RNNID_3PRONGSTATSYSTPTGE40_UP"},
198  {TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPTGE40__1down, "EFF_RNNID_3PRONGSTATSYSTPTGE40_DOWN"},
199  {TAUS_TRUEHADTAU_EFF_RNNID_HIGHPT__1up, "EFF_RNNID_HIGHPT_UP"},
200  {TAUS_TRUEHADTAU_EFF_RNNID_HIGHPT__1down, "EFF_RNNID_HIGHPT_DOWN"},
201  {TAUS_TRUEHADTAU_EFF_RNNID_SYST__1up, "EFF_RNNID_SYST_UP"},
202  {TAUS_TRUEHADTAU_EFF_RNNID_SYST__1down, "EFF_RNNID_SYST_DOWN"},
203  {TAUS_TRUEHADTAU_EFF_ELEOLR_TOTAL__1up, "EFF_ELEOLR_TOTAL_UP"},
204  {TAUS_TRUEHADTAU_EFF_ELEOLR_TOTAL__1down, "EFF_ELEOLR_TOTAL_DOWN"},
205  {TAUS_TRUEELECTRON_EFF_ELEOLR_STAT__1up, "ELE_EFF_ELEOLR_STAT_UP"},
206  {TAUS_TRUEELECTRON_EFF_ELEOLR_STAT__1down, "ELE_EFF_ELEOLR_STAT_DOWN"},
207  {TAUS_TRUEELECTRON_EFF_ELEOLR_SYST__1up, "ELE_EFF_ELEOLR_SYST_UP"},
208  {TAUS_TRUEELECTRON_EFF_ELEOLR_SYST__1down, "ELE_EFF_ELEOLR_SYST_DOWN"},
209  };
210 
211 
212  enum topSFComp {
214  };
215 
216  class ScaleFactorRetriever final: public asg::AsgTool {
217  // Specify that we will overload print with top::Event later on
218  using asg::AsgTool::print;
219  public:
220  explicit ScaleFactorRetriever(const std::string& name);
222 
223  // Delete Standard constructors
227 
229 
230  // Pile up SF
231  static bool hasPileupSF(const top::Event& event);
232  static float pileupSF(const top::Event& event, int var = 0);
233 
234  // Obtain the lepton SF
235  float leptonSF(const top::Event& event, const top::topSFSyst SFSyst) const;
236 
237  // Obtain the trigger SF
238  float triggerSF(const top::Event& event, const top::topSFSyst SFSyst) const;
239 
240  // Obtain trigger SF via global tool
241  float globalTriggerSF(const top::Event& event, const top::topSFSyst SFSyst) const;
242 
243  // Obtain the trigger SF via approximate formula
244  float oldTriggerSF(const top::Event& event, const top::topSFSyst SFSyst) const;
245 
246  // Obtain the electron SF
247  float electronSF(const top::Event& event,
248  const top::topSFSyst SFSyst,
249  const top::topSFComp SFComp) const;
250 
251  //get vector of systematic variations of electron SFs, var=1 for up, var=-1 for down
252  std::vector<float> electronSFSystVariationVector(const top::Event& event, const top::topSFComp SFComp, int var = 1) const;
253 
254  //get vector of systematic variations of electron SFs, var=1 for up, var=-1 for down and size of systematic variations
255  std::vector<float> electronSFSystVariationVector(const top::Event& event, const top::topSFComp SFComp, int var = 1, int size=50) const;
256 
257  // Obtain the fwd electron SF
258  float fwdElectronSF(const top::Event& event,
259  const top::topSFSyst SFSyst,
260  const top::topSFComp SFComp = top::topSFComp::ALL) const;
261 
262  // Obtain the muon SF
263  float muonSF(const top::Event& event,
264  const top::topSFSyst SFSyst,
265  const top::topSFComp SFComp) const;
266 
267  // Obtain the soft muon SF
269  const top::topSFSyst SFSyst,
270  const top::topSFComp SFComp) const;
271 
277  float tauSF(const top::Event& event,
278  const top::topSFSyst SFSyst) const;
279 
285  float photonSF(const top::Event& event,
286  const top::topSFSyst SFSyst) const;
287 
291  float btagSF(const top::Event& event,
293  std::string WP = "FixedCutBEff_77",
294  bool do_trackjets = false,
295  std::string uncert_name = "") const;
296 
297  void btagSF_eigen_vars(const top::Event& event,
298  const top::topSFSyst SFSyst,
299  std::vector<float>& btagSF_up,
300  std::vector<float>& btagSF_down,
301  std::string WP = "FixedCutBEff_77",
302  bool do_trackjets = false) const;
303 
315  float jvtSF(const top::Event& event,
316  const top::topSFSyst SFsyst) const;
317 
329  float fjvtSF(const top::Event& event,
330  const top::topSFSyst SFsyst) const;
331 
335  void print(const top::Event& event);
336 
337  float electronSF_Reco(const xAOD::Electron& x,
338  const top::topSFSyst SFSyst
339  ) const;
340 
341  float electronSF_Trigger(const xAOD::Electron& x, const top::topSFSyst SFSyst, bool useLooseDef) const;
342 
343  float electronEff_Trigger(const xAOD::Electron& x, const top::topSFSyst SFSyst, bool useLooseDef) const;
344 
345  float electronSF_ID(const xAOD::Electron& x,
346  const top::topSFSyst SFSyst,
347  bool useLooseDef) const;
348 
349  float electronSF_Isol(const xAOD::Electron& x,
350  const top::topSFSyst SFSyst,
351  bool useLooseDef) const;
352 
353  float electronSF_ChargeID(const xAOD::Electron& x,
354  const top::topSFSyst SFSyst,
355  bool useLooseDef) const;
356 
358  const top::topSFSyst SFSyst,
359  bool useLooseDef) const;
360 
361  float fwdElectronSF_ID(const xAOD::Electron& x,
362  const top::topSFSyst SFSyst,
363  bool useLooseDef) const;
364 
365  float muonSF_Trigger(const xAOD::Muon& x,
366  const top::topSFSyst SFSyst,
367  bool useLooseDef) const;
368 
369  float muonEff_Trigger(const xAOD::Muon& x,
370  const top::topSFSyst SFSyst,
371  bool useLooseDef) const;
372 
373  float muonSF_ID(const xAOD::Muon& x,
374  const top::topSFSyst SFSyst,
375  bool useLooseDef) const;
376 
377  float muonSF_Isol(const xAOD::Muon& x,
378  const top::topSFSyst SFSyst,
379  bool useLooseDef) const;
380 
381  float muonSF_TTVA(const xAOD::Muon& x,
382  const top::topSFSyst SFSyst) const;
383 
384  float softmuonSF_ID(const xAOD::Muon& x,
385  const top::topSFSyst SFSyst) const;
386 
393  float tauSF(const xAOD::TauJet& x,
394  const top::topSFSyst SFSyst,
395  bool isLoose) const;
396 
402  float photonSF_Reco(const xAOD::Photon& x,
403  const top::topSFSyst SFSyst) const;
404 
405  float photonSF_Isol(const xAOD::Photon& x,
406  const top::topSFSyst SFSyst,
407  bool isLoose) const;
408  private:
409  float electronSF_Trigger(const xAOD::Electron& x,
410  const std::string& id,
411  const top::topSFSyst SFSyst,
412  bool useLooseDef) const;
413 
414  float electronEff_Trigger(const xAOD::Electron& x,
415  const std::string& id,
416  const top::topSFSyst SFSyst,
417  bool useLooseDef) const;
418 
419  float electronSF_ID(const xAOD::Electron& x,
420  const std::string& id,
421  const top::topSFSyst SFSyst,
422  bool useLooseDef) const;
423 
424  float electronSF_Isol(const xAOD::Electron& x,
425  const std::string& id,
426  const top::topSFSyst SFSyst,
427  bool useLooseDef) const;
428 
429  float electronSF_ChargeID(const xAOD::Electron& x,
430  const std::string& id, const std::string& iso,
431  const top::topSFSyst SFSyst,
432  bool useLooseDef) const;
433 
435  const std::string& id, const std::string& iso,
436  const top::topSFSyst SFSyst,
437  bool useLooseDef) const;
438 
439  float fwdElectronSF_ID(const xAOD::Electron& x,
440  const std::string& id,
441  const top::topSFSyst SFSyst,
442  bool useLooseDef) const;
443 
444  float photonSF_Isol(const xAOD::Photon& x,
445  const std::string& iso,
446  const top::topSFSyst SFSyst,
447  bool isLoose) const;
448 
449  float muonSF_Trigger(const xAOD::Muon& x,
450  const std::string& id,
451  const top::topSFSyst SFSyst,
452  bool useLooseDef) const;
453  float muonEff_Trigger(const xAOD::Muon& x,
454  const std::string& id,
455  const top::topSFSyst SFSyst,
456  bool useLooseDef) const;
457 
458  float muonSF_ID(const xAOD::Muon& x,
459  const std::string& id,
460  const top::topSFSyst SFSyst,
461  bool useLooseDef) const;
462 
463  float softmuonSF_ID(const xAOD::Muon& x,
464  const std::string& id,
465  const top::topSFSyst SFSyst) const;
466 
467  float muonSF_Isol(const xAOD::Muon& x,
468  const std::string& iso,
469  const top::topSFSyst SFSyst,
470  bool useLooseDef) const;
471 
472  // List of triggers to 'or' together for each event.
473  // If any one passes, the event passes
474  std::vector<std::pair<std::string, int> > m_electronTriggers_Tight;
475  std::vector<std::pair<std::string, int> > m_muonTriggers_Tight;
476  std::vector<std::pair<std::string, int> > m_photonTriggers_Tight;
477  std::vector<std::pair<std::string, int> > m_electronTriggers_Loose;
478  std::vector<std::pair<std::string, int> > m_muonTriggers_Loose;
479  std::vector<std::pair<std::string, int> > m_photonTriggers_Loose;
480  // Do we need to add tau triggers?
481 
482  // Configuration
483  std::shared_ptr<top::TopConfig> m_config;
485 
486  static size_t s_warn_counter; // print WARNING messages limited times to prevent excessive log spam
487  };
488 } // namespace top
489 
490 #endif // SCALEFACTORRETRIEVER_H_
top::ScaleFactorRetriever::m_photonTriggers_Tight
std::vector< std::pair< std::string, int > > m_photonTriggers_Tight
Definition: ScaleFactorRetriever.h:476
top::MU_SF_TTVA_LUMI_UNCERT_UP
@ MU_SF_TTVA_LUMI_UNCERT_UP
Definition: ScaleFactorRetriever.h:88
top::MU_SF_ID_SUPRESSION_SCALE_UP
@ MU_SF_ID_SUPRESSION_SCALE_UP
Definition: ScaleFactorRetriever.h:67
top::MU_SF_ID_MATCHING_LOWPT_UP
@ MU_SF_ID_MATCHING_LOWPT_UP
Definition: ScaleFactorRetriever.h:63
top::MU_SF_Trigger_DOWN
@ MU_SF_Trigger_DOWN
Definition: ScaleFactorRetriever.h:43
top::TAUS_TRUEELECTRON_EFF_ELEOLR_STAT__1down
@ TAUS_TRUEELECTRON_EFF_ELEOLR_STAT__1down
Definition: ScaleFactorRetriever.h:97
top::EL_SF_ID_UP
@ EL_SF_ID_UP
Definition: ScaleFactorRetriever.h:35
top::ScaleFactorRetriever::s_warn_counter
static size_t s_warn_counter
Definition: ScaleFactorRetriever.h:486
top::MU_SF_Trigger_UP
@ MU_SF_Trigger_UP
Definition: ScaleFactorRetriever.h:43
beamspotnt.var
var
Definition: bin/beamspotnt.py:1394
top::ScaleFactorRetriever::m_muonTriggers_Loose
std::vector< std::pair< std::string, int > > m_muonTriggers_Loose
Definition: ScaleFactorRetriever.h:478
top::TAUS_TRUEHADTAU_EFF_RECO_TOTAL__1up
@ TAUS_TRUEHADTAU_EFF_RECO_TOTAL__1up
Definition: ScaleFactorRetriever.h:111
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
top::MU_SF_ID_CR3_DOWN
@ MU_SF_ID_CR3_DOWN
Definition: ScaleFactorRetriever.h:73
top::EL_SF_ID_DOWN
@ EL_SF_ID_DOWN
Definition: ScaleFactorRetriever.h:35
top::topSFSyst
topSFSyst
– Top SF enmu, as CP::SystematicSet won't do the job –///
Definition: ScaleFactorRetriever.h:28
top::TRIGGER
@ TRIGGER
Definition: ScaleFactorRetriever.h:213
top::EL_SF_Trigger_DOWN
@ EL_SF_Trigger_DOWN
Definition: ScaleFactorRetriever.h:31
top::MU_SF_ID_BKG_FRACTION_DOWN
@ MU_SF_ID_BKG_FRACTION_DOWN
Definition: ScaleFactorRetriever.h:59
top::FWDEL_SF_ID_UP
@ FWDEL_SF_ID_UP
Definition: ScaleFactorRetriever.h:127
top::CHARGEID
@ CHARGEID
Definition: ScaleFactorRetriever.h:213
top::MU_SF_Isol_STAT_UP
@ MU_SF_Isol_STAT_UP
Definition: ScaleFactorRetriever.h:53
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:60
top::ScaleFactorRetriever::m_config
std::shared_ptr< top::TopConfig > m_config
Definition: ScaleFactorRetriever.h:483
top::MU_SF_TTVA_EXTRAPOLATION_UP
@ MU_SF_TTVA_EXTRAPOLATION_UP
Definition: ScaleFactorRetriever.h:92
top::EL_SF_Reco_UP
@ EL_SF_Reco_UP
Definition: ScaleFactorRetriever.h:33
top::BTAG_SF_NAMED_DOWN
@ BTAG_SF_NAMED_DOWN
Definition: ScaleFactorRetriever.h:121
top::TAUS_TRUEHADTAU_EFF_ELEOLR_TOTAL__1up
@ TAUS_TRUEHADTAU_EFF_ELEOLR_TOTAL__1up
Definition: ScaleFactorRetriever.h:96
top::ScaleFactorRetriever::tauSF
float tauSF(const top::Event &event, const top::topSFSyst SFSyst) const
: get the tauSF for all taus in event
Definition: ScaleFactorRetriever.cxx:1325
top::MU_SF_ID_TAGPT_UP
@ MU_SF_ID_TAGPT_UP
Definition: ScaleFactorRetriever.h:76
IsoCloseByCorrectionTest.WP
WP
Definition: IsoCloseByCorrectionTest.py:56
top::MU_SF_ID_LUMI_UNCERT_DOWN
@ MU_SF_ID_LUMI_UNCERT_DOWN
Definition: ScaleFactorRetriever.h:61
top::TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2025__1up
@ TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2025__1up
Definition: ScaleFactorRetriever.h:104
top::ScaleFactorRetriever::hasPileupSF
static bool hasPileupSF(const top::Event &event)
Definition: ScaleFactorRetriever.cxx:63
top::MU_SF_Trigger_STAT_UP
@ MU_SF_Trigger_STAT_UP
Definition: ScaleFactorRetriever.h:44
Event
Definition: VtxStruct.h:115
top::ScaleFactorRetriever::electronSF_ChargeID
float electronSF_ChargeID(const xAOD::Electron &x, const top::topSFSyst SFSyst, bool useLooseDef) const
Definition: ScaleFactorRetriever.cxx:605
top::ScaleFactorRetriever::ScaleFactorRetriever
ScaleFactorRetriever(const ScaleFactorRetriever &rhs)=delete
top::MU_SF_ID_SYST_LOWPT_UP
@ MU_SF_ID_SYST_LOWPT_UP
Definition: ScaleFactorRetriever.h:51
top::TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2025__1down
@ TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2025__1down
Definition: ScaleFactorRetriever.h:104
top::PHOTON_EFF_TRIGGER_UNCERTAINTY_UP
@ PHOTON_EFF_TRIGGER_UNCERTAINTY_UP
Definition: ScaleFactorRetriever.h:116
top::MU_SF_Isol_LUMI_UNCERT_UP
@ MU_SF_Isol_LUMI_UNCERT_UP
Definition: ScaleFactorRetriever.h:80
top::MU_SF_ID_QCD_TEMPLATE_DOWN
@ MU_SF_ID_QCD_TEMPLATE_DOWN
Definition: ScaleFactorRetriever.h:66
top::EL_SF_ChargeID_UP
@ EL_SF_ChargeID_UP
Definition: ScaleFactorRetriever.h:39
top::TAU_SF_END
@ TAU_SF_END
Definition: ScaleFactorRetriever.h:112
top::MU_SF_TTVA_SUPRESSION_SCALE_UP
@ MU_SF_TTVA_SUPRESSION_SCALE_UP
Definition: ScaleFactorRetriever.h:91
top::tauSF_alias
const std::map< topSFSyst, TString > tauSF_alias
Definition: ScaleFactorRetriever.h:179
top::MU_SF_ID_BAD_MUON_VETO_UP
@ MU_SF_ID_BAD_MUON_VETO_UP
Definition: ScaleFactorRetriever.h:70
top::MU_SF_ID_STAT_LOWPT_DOWN
@ MU_SF_ID_STAT_LOWPT_DOWN
Definition: ScaleFactorRetriever.h:50
top::PHOTON_EFF_ISO_DOWN
@ PHOTON_EFF_ISO_DOWN
Definition: ScaleFactorRetriever.h:115
top::ScaleFactorRetriever::photonSF_Reco
float photonSF_Reco(const xAOD::Photon &x, const top::topSFSyst SFSyst) const
: get the photonSF for a single photon
Definition: ScaleFactorRetriever.cxx:1427
top::MU_SF_ID_MATCHING_UP
@ MU_SF_ID_MATCHING_UP
Definition: ScaleFactorRetriever.h:62
top::MU_SF_ID_TRUTH_UP
@ MU_SF_ID_TRUTH_UP
Definition: ScaleFactorRetriever.h:68
ALL
@ ALL
Definition: sTGCenumeration.h:14
top::TAUS_TRUEELECTRON_EFF_ELEOLR_SYST__1down
@ TAUS_TRUEELECTRON_EFF_ELEOLR_SYST__1down
Definition: ScaleFactorRetriever.h:98
top::TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT3040__1up
@ TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT3040__1up
Definition: ScaleFactorRetriever.h:106
top::ScaleFactorRetriever::muonSF_Isol
float muonSF_Isol(const xAOD::Muon &x, const top::topSFSyst SFSyst, bool useLooseDef) const
Definition: ScaleFactorRetriever.cxx:1106
top::ScaleFactorRetriever::m_preferGlobalTriggerSF
bool m_preferGlobalTriggerSF
Definition: ScaleFactorRetriever.h:484
top::ScaleFactorRetriever::photonSF_Isol
float photonSF_Isol(const xAOD::Photon &x, const top::topSFSyst SFSyst, bool isLoose) const
Definition: ScaleFactorRetriever.cxx:1380
top::MU_SF_Isol_SHERPA_POWHEG_DOWN
@ MU_SF_Isol_SHERPA_POWHEG_DOWN
Definition: ScaleFactorRetriever.h:84
top::ScaleFactorRetriever::m_electronTriggers_Tight
std::vector< std::pair< std::string, int > > m_electronTriggers_Tight
Definition: ScaleFactorRetriever.h:474
top::MU_SF_ID_HIGHETA_PROBEIP_DOWN
@ MU_SF_ID_HIGHETA_PROBEIP_DOWN
Definition: ScaleFactorRetriever.h:74
top::EL_SF_Trigger_UP
@ EL_SF_Trigger_UP
Definition: ScaleFactorRetriever.h:31
top::MU_SF_ID_EXTRAPOLATION_UP
@ MU_SF_ID_EXTRAPOLATION_UP
Definition: ScaleFactorRetriever.h:77
x
#define x
top::MU_SF_ID_BAD_MUON_VETO_DOWN
@ MU_SF_ID_BAD_MUON_VETO_DOWN
Definition: ScaleFactorRetriever.h:70
top::JVT_UP
@ JVT_UP
Definition: ScaleFactorRetriever.h:123
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
top::ScaleFactorRetriever::softmuonSF_ID
float softmuonSF_ID(const xAOD::Muon &x, const top::topSFSyst SFSyst) const
Definition: ScaleFactorRetriever.cxx:1053
top::MU_SF_ID_SYST_LOWPT_DOWN
@ MU_SF_ID_SYST_LOWPT_DOWN
Definition: ScaleFactorRetriever.h:51
top::MU_SF_ID_HIGHETA_PROBEISO_DOWN
@ MU_SF_ID_HIGHETA_PROBEISO_DOWN
Definition: ScaleFactorRetriever.h:75
top::MU_SF_Trigger_SYST_UP
@ MU_SF_Trigger_SYST_UP
Definition: ScaleFactorRetriever.h:45
top::MU_SF_ID_FIT_MODEL_LOWPT_DOWN
@ MU_SF_ID_FIT_MODEL_LOWPT_DOWN
Definition: ScaleFactorRetriever.h:60
top::MU_SF_Trigger_STAT_DOWN
@ MU_SF_Trigger_STAT_DOWN
Definition: ScaleFactorRetriever.h:44
top::MU_SF_Trigger_SYST_DOWN
@ MU_SF_Trigger_SYST_DOWN
Definition: ScaleFactorRetriever.h:45
top::ScaleFactorRetriever::leptonSF
float leptonSF(const top::Event &event, const top::topSFSyst SFSyst) const
Definition: ScaleFactorRetriever.cxx:85
top::TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT3040__1up
@ TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT3040__1up
Definition: ScaleFactorRetriever.h:102
top::BTAG_SF_EIGEN_C
@ BTAG_SF_EIGEN_C
Definition: ScaleFactorRetriever.h:119
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
top::MU_SF_ID_MC_XSEC_DOWN
@ MU_SF_ID_MC_XSEC_DOWN
Definition: ScaleFactorRetriever.h:64
top::TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2530__1down
@ TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2530__1down
Definition: ScaleFactorRetriever.h:105
top::MU_SF_Isol_SYST_DOWN
@ MU_SF_Isol_SYST_DOWN
Definition: ScaleFactorRetriever.h:54
top::MU_SF_Isol_LUMI_UNCERT_DOWN
@ MU_SF_Isol_LUMI_UNCERT_DOWN
Definition: ScaleFactorRetriever.h:80
top::TAU_SF_NOMINAL
@ TAU_SF_NOMINAL
Definition: ScaleFactorRetriever.h:94
top::ScaleFactorRetriever::triggerSF
float triggerSF(const top::Event &event, const top::topSFSyst SFSyst) const
Definition: ScaleFactorRetriever.cxx:176
top::MU_SF_TTVA_MC_XSEC_UP
@ MU_SF_TTVA_MC_XSEC_UP
Definition: ScaleFactorRetriever.h:89
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
top::BTAG_SF_EIGEN_LIGHT
@ BTAG_SF_EIGEN_LIGHT
Definition: ScaleFactorRetriever.h:120
ElectronContainer.h
top::ScaleFactorRetriever::m_electronTriggers_Loose
std::vector< std::pair< std::string, int > > m_electronTriggers_Loose
Definition: ScaleFactorRetriever.h:477
top::ScaleFactorRetriever::muonSF_Trigger
float muonSF_Trigger(const xAOD::Muon &x, const top::topSFSyst SFSyst, bool useLooseDef) const
Definition: ScaleFactorRetriever.cxx:736
top::ScaleFactorRetriever::btagSF_eigen_vars
void btagSF_eigen_vars(const top::Event &event, const top::topSFSyst SFSyst, std::vector< float > &btagSF_up, std::vector< float > &btagSF_down, std::string WP="FixedCutBEff_77", bool do_trackjets=false) const
Definition: ScaleFactorRetriever.cxx:1514
top::MU_SF_ID_BKG_FRACTION_UP
@ MU_SF_ID_BKG_FRACTION_UP
Definition: ScaleFactorRetriever.h:59
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
top::MU_SF_TTVA_LUMI_UNCERT_DOWN
@ MU_SF_TTVA_LUMI_UNCERT_DOWN
Definition: ScaleFactorRetriever.h:88
top::ScaleFactorRetriever::electronSF_Trigger
float electronSF_Trigger(const xAOD::Electron &x, const top::topSFSyst SFSyst, bool useLooseDef) const
Definition: ScaleFactorRetriever.cxx:396
top::MU_SF_Isol_QCD_TEMPLATE_DOWN
@ MU_SF_Isol_QCD_TEMPLATE_DOWN
Definition: ScaleFactorRetriever.h:83
top::MU_SF_ID_CR2_UP
@ MU_SF_ID_CR2_UP
Definition: ScaleFactorRetriever.h:72
xAOD::TauJet_v3
Class describing a tau jet.
Definition: TauJet_v3.h:41
top::MU_SF_Isol_SUPRESSION_SCALE_DOWN
@ MU_SF_Isol_SUPRESSION_SCALE_DOWN
Definition: ScaleFactorRetriever.h:85
top::lastsys
@ lastsys
Definition: ScaleFactorRetriever.h:129
top::MU_SF_Isol_QCD_TEMPLATE_UP
@ MU_SF_Isol_QCD_TEMPLATE_UP
Definition: ScaleFactorRetriever.h:83
top::nominal
@ nominal
Definition: ScaleFactorRetriever.h:29
top::MU_SF_Isol_EXTRAPOLATION_DOWN
@ MU_SF_Isol_EXTRAPOLATION_DOWN
Definition: ScaleFactorRetriever.h:86
top::TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2530__1down
@ TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2530__1down
Definition: ScaleFactorRetriever.h:101
top::FJVT_UP
@ FJVT_UP
Definition: ScaleFactorRetriever.h:125
top::MU_SF_Isol_MLLWINDOW_UP
@ MU_SF_Isol_MLLWINDOW_UP
Definition: ScaleFactorRetriever.h:82
top::ScaleFactorRetriever::btagSF
float btagSF(const top::Event &event, const top::topSFSyst SFSyst=top::topSFSyst::nominal, std::string WP="FixedCutBEff_77", bool do_trackjets=false, std::string uncert_name="") const
Missing important functionality, but testing...
Definition: ScaleFactorRetriever.cxx:1451
top::TAUS_TRUEHADTAU_EFF_ELEOLR_TOTAL__1down
@ TAUS_TRUEHADTAU_EFF_ELEOLR_TOTAL__1down
Definition: ScaleFactorRetriever.h:96
top::TAUS_TRUEELECTRON_EFF_ELEOLR_STAT__1up
@ TAUS_TRUEELECTRON_EFF_ELEOLR_STAT__1up
Definition: ScaleFactorRetriever.h:97
top::TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT3040__1down
@ TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT3040__1down
Definition: ScaleFactorRetriever.h:106
top::ScaleFactorRetriever::electronSF
float electronSF(const top::Event &event, const top::topSFSyst SFSyst, const top::topSFComp SFComp) const
Definition: ScaleFactorRetriever.cxx:310
top::TAUS_TRUEELECTRON_EFF_ELEOLR_SYST__1up
@ TAUS_TRUEELECTRON_EFF_ELEOLR_SYST__1up
Definition: ScaleFactorRetriever.h:98
top::TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPTGE40__1down
@ TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPTGE40__1down
Definition: ScaleFactorRetriever.h:107
top::TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2530__1up
@ TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2530__1up
Definition: ScaleFactorRetriever.h:101
top::ScaleFactorRetriever::fjvtSF
float fjvtSF(const top::Event &event, const top::topSFSyst SFsyst) const
fJVT Efficiency SFs
Definition: ScaleFactorRetriever.cxx:1584
top::MU_SF_TTVA_QCD_TEMPLATE_DOWN
@ MU_SF_TTVA_QCD_TEMPLATE_DOWN
Definition: ScaleFactorRetriever.h:90
top::TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPTGE40__1down
@ TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPTGE40__1down
Definition: ScaleFactorRetriever.h:103
top::TTVA
@ TTVA
Definition: ScaleFactorRetriever.h:213
top::PHOTON_IDSF_DOWN
@ PHOTON_IDSF_DOWN
Definition: ScaleFactorRetriever.h:114
top::RECO
@ RECO
Definition: ScaleFactorRetriever.h:213
top::MU_SF_Isol_BKG_FRACTION_UP
@ MU_SF_Isol_BKG_FRACTION_UP
Definition: ScaleFactorRetriever.h:78
TauJetContainer.h
top::MU_SF_TTVA_BKG_FRACTION_UP
@ MU_SF_TTVA_BKG_FRACTION_UP
Definition: ScaleFactorRetriever.h:87
top::MU_SF_TTVA_BKG_FRACTION_DOWN
@ MU_SF_TTVA_BKG_FRACTION_DOWN
Definition: ScaleFactorRetriever.h:87
top::MU_SF_ID_SUPRESSION_SCALE_DOWN
@ MU_SF_ID_SUPRESSION_SCALE_DOWN
Definition: ScaleFactorRetriever.h:67
top::MU_SF_ID_STAT_LOWPT_UP
@ MU_SF_ID_STAT_LOWPT_UP
Definition: ScaleFactorRetriever.h:50
top::ScaleFactorRetriever::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition: ScaleFactorRetriever.cxx:30
top::ScaleFactorRetriever::ScaleFactorRetriever
ScaleFactorRetriever(ScaleFactorRetriever &&rhs)=delete
top::MU_SF_Isol_STAT_DOWN
@ MU_SF_Isol_STAT_DOWN
Definition: ScaleFactorRetriever.h:53
top::ScaleFactorRetriever::photonSF
float photonSF(const top::Event &event, const top::topSFSyst SFSyst) const
: get the photonSF for all photons in event
Definition: ScaleFactorRetriever.cxx:1411
top::ScaleFactorRetriever::muonEff_Trigger
float muonEff_Trigger(const xAOD::Muon &x, const top::topSFSyst SFSyst, bool useLooseDef) const
Definition: ScaleFactorRetriever.cxx:786
top::ScaleFactorRetriever::m_muonTriggers_Tight
std::vector< std::pair< std::string, int > > m_muonTriggers_Tight
Definition: ScaleFactorRetriever.h:475
top::ScaleFactorRetriever::jvtSF
float jvtSF(const top::Event &event, const top::topSFSyst SFsyst) const
JVT Efficiency SFs.
Definition: ScaleFactorRetriever.cxx:1569
top::EL_SF_Isol_DOWN
@ EL_SF_Isol_DOWN
Definition: ScaleFactorRetriever.h:37
top::ScaleFactorRetriever::ScaleFactorRetriever
ScaleFactorRetriever(const std::string &name)
Definition: ScaleFactorRetriever.cxx:21
top::MU_SF_Isol_SYST_UP
@ MU_SF_Isol_SYST_UP
Definition: ScaleFactorRetriever.h:54
top::MU_SF_TTVA_SUPRESSION_SCALE_DOWN
@ MU_SF_TTVA_SUPRESSION_SCALE_DOWN
Definition: ScaleFactorRetriever.h:91
top::MU_SF_Isol_DRMUJ_DOWN
@ MU_SF_Isol_DRMUJ_DOWN
Definition: ScaleFactorRetriever.h:79
top::MU_SF_Isol_MLLWINDOW_DOWN
@ MU_SF_Isol_MLLWINDOW_DOWN
Definition: ScaleFactorRetriever.h:82
top::MU_SF_ID_SYST_UP
@ MU_SF_ID_SYST_UP
Definition: ScaleFactorRetriever.h:48
top::ScaleFactorRetriever
Definition: ScaleFactorRetriever.h:216
top::MU_SF_TTVA_STAT_UP
@ MU_SF_TTVA_STAT_UP
Definition: ScaleFactorRetriever.h:56
top::MU_SF_ID_PT_DEPENDENCY_UP
@ MU_SF_ID_PT_DEPENDENCY_UP
Definition: ScaleFactorRetriever.h:65
top::TAUS_TRUEHADTAU_EFF_RNNID_SYST__1down
@ TAUS_TRUEHADTAU_EFF_RNNID_SYST__1down
Definition: ScaleFactorRetriever.h:109
top::ScaleFactorRetriever::operator=
ScaleFactorRetriever & operator=(const ScaleFactorRetriever &rhs)=delete
top::MU_SF_TTVA_QCD_TEMPLATE_UP
@ MU_SF_TTVA_QCD_TEMPLATE_UP
Definition: ScaleFactorRetriever.h:90
top::PHOTON_EFF_TRIGGER_UNCERTAINTY_DOWN
@ PHOTON_EFF_TRIGGER_UNCERTAINTY_DOWN
Definition: ScaleFactorRetriever.h:117
top::ScaleFactorRetriever::fwdElectronSF
float fwdElectronSF(const top::Event &event, const top::topSFSyst SFSyst, const top::topSFComp SFComp=top::topSFComp::ALL) const
Definition: ScaleFactorRetriever.cxx:359
top::MU_SF_ID_CR3_UP
@ MU_SF_ID_CR3_UP
Definition: ScaleFactorRetriever.h:73
top::ScaleFactorRetriever::globalTriggerSF
float globalTriggerSF(const top::Event &event, const top::topSFSyst SFSyst) const
Definition: ScaleFactorRetriever.cxx:91
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
top::MU_SF_Isol_MC_XSEC_UP
@ MU_SF_Isol_MC_XSEC_UP
Definition: ScaleFactorRetriever.h:81
top::EL_SF_ChargeMisID_STAT_UP
@ EL_SF_ChargeMisID_STAT_UP
Definition: ScaleFactorRetriever.h:40
top::ScaleFactorRetriever::muonSF_ID
float muonSF_ID(const xAOD::Muon &x, const top::topSFSyst SFSyst, bool useLooseDef) const
Definition: ScaleFactorRetriever.cxx:836
top::MU_SF_Isol_BKG_FRACTION_DOWN
@ MU_SF_Isol_BKG_FRACTION_DOWN
Definition: ScaleFactorRetriever.h:78
top::ScaleFactorRetriever::electronSF_Reco
float electronSF_Reco(const xAOD::Electron &x, const top::topSFSyst SFSyst) const
Definition: ScaleFactorRetriever.cxx:468
top::MU_SF_ID_PT_DEPENDENCY_DOWN
@ MU_SF_ID_PT_DEPENDENCY_DOWN
Definition: ScaleFactorRetriever.h:65
top::ISOLATION
@ ISOLATION
Definition: ScaleFactorRetriever.h:213
top::MU_SF_Isol_SHERPA_POWHEG_UP
@ MU_SF_Isol_SHERPA_POWHEG_UP
Definition: ScaleFactorRetriever.h:84
top::TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPTGE40__1up
@ TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPTGE40__1up
Definition: ScaleFactorRetriever.h:103
xAOD::Electron_v1
Definition: Electron_v1.h:34
top::TAUS_TRUEHADTAU_EFF_RECO_TOTAL__1down
@ TAUS_TRUEHADTAU_EFF_RECO_TOTAL__1down
Definition: ScaleFactorRetriever.h:111
top::MU_SF_ID_HIGHETA_PROBEISO_UP
@ MU_SF_ID_HIGHETA_PROBEISO_UP
Definition: ScaleFactorRetriever.h:75
top::PHOTON_IDSF_UP
@ PHOTON_IDSF_UP
Definition: ScaleFactorRetriever.h:114
MuonContainer.h
top::TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2025__1down
@ TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2025__1down
Definition: ScaleFactorRetriever.h:100
top::MU_SF_ID_HIGHETA_PROBEIP_UP
@ MU_SF_ID_HIGHETA_PROBEIP_UP
Definition: ScaleFactorRetriever.h:74
top::EL_SF_Isol_UP
@ EL_SF_Isol_UP
Definition: ScaleFactorRetriever.h:37
top::MU_SF_ID_CR2_DOWN
@ MU_SF_ID_CR2_DOWN
Definition: ScaleFactorRetriever.h:72
top::MU_SF_ID_TAGPT_DOWN
@ MU_SF_ID_TAGPT_DOWN
Definition: ScaleFactorRetriever.h:76
top::MU_SF_Isol_EXTRAPOLATION_UP
@ MU_SF_Isol_EXTRAPOLATION_UP
Definition: ScaleFactorRetriever.h:86
top::topSFComp
topSFComp
Definition: ScaleFactorRetriever.h:212
top::ScaleFactorRetriever::electronEff_Trigger
float electronEff_Trigger(const xAOD::Electron &x, const top::topSFSyst SFSyst, bool useLooseDef) const
Definition: ScaleFactorRetriever.cxx:404
top::ScaleFactorRetriever::m_photonTriggers_Loose
std::vector< std::pair< std::string, int > > m_photonTriggers_Loose
Definition: ScaleFactorRetriever.h:479
top::EL_SF_ChargeID_DOWN
@ EL_SF_ChargeID_DOWN
Definition: ScaleFactorRetriever.h:39
top::ScaleFactorRetriever::~ScaleFactorRetriever
virtual ~ScaleFactorRetriever()
Definition: ScaleFactorRetriever.h:221
top::MU_SF_ID_QCD_TEMPLATE_UP
@ MU_SF_ID_QCD_TEMPLATE_UP
Definition: ScaleFactorRetriever.h:66
xAOD::Photon_v1
Definition: Photon_v1.h:37
top::TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT3040__1down
@ TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT3040__1down
Definition: ScaleFactorRetriever.h:102
top::ScaleFactorRetriever::electronSF_ChargeMisID
float electronSF_ChargeMisID(const xAOD::Electron &x, const top::topSFSyst SFSyst, bool useLooseDef) const
Definition: ScaleFactorRetriever.cxx:641
top::ScaleFactorRetriever::pileupSF
static float pileupSF(const top::Event &event, int var=0)
Definition: ScaleFactorRetriever.cxx:68
top::MU_SF_ID_TRUTH_LOWPT_UP
@ MU_SF_ID_TRUTH_LOWPT_UP
Definition: ScaleFactorRetriever.h:69
top::EL_SF_ChargeMisID_SYST_UP
@ EL_SF_ChargeMisID_SYST_UP
Definition: ScaleFactorRetriever.h:41
top::CHARGEMISID
@ CHARGEMISID
Definition: ScaleFactorRetriever.h:213
top::JVT_DOWN
@ JVT_DOWN
Definition: ScaleFactorRetriever.h:123
top::BTAG_SF_NAMED_UP
@ BTAG_SF_NAMED_UP
Definition: ScaleFactorRetriever.h:121
top::MU_SF_ID_MATCHING_LOWPT_DOWN
@ MU_SF_ID_MATCHING_LOWPT_DOWN
Definition: ScaleFactorRetriever.h:63
top::MU_SF_TTVA_MC_XSEC_DOWN
@ MU_SF_TTVA_MC_XSEC_DOWN
Definition: ScaleFactorRetriever.h:89
top::TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2025__1up
@ TAUS_TRUEHADTAU_EFF_RNNID_1PRONGSTATSYSTPT2025__1up
Definition: ScaleFactorRetriever.h:100
top::MU_SF_ID_LUMI_UNCERT_UP
@ MU_SF_ID_LUMI_UNCERT_UP
Definition: ScaleFactorRetriever.h:61
top::ScaleFactorRetriever::muonSF
float muonSF(const top::Event &event, const top::topSFSyst SFSyst, const top::topSFComp SFComp) const
Definition: ScaleFactorRetriever.cxx:691
top::ID
@ ID
Definition: ScaleFactorRetriever.h:213
top::MU_SF_ID_MC_XSEC_UP
@ MU_SF_ID_MC_XSEC_UP
Definition: ScaleFactorRetriever.h:64
top::TAUS_TRUEHADTAU_EFF_RNNID_HIGHPT__1down
@ TAUS_TRUEHADTAU_EFF_RNNID_HIGHPT__1down
Definition: ScaleFactorRetriever.h:108
top::MU_SF_ID_STAT_UP
@ MU_SF_ID_STAT_UP
Definition: ScaleFactorRetriever.h:47
top::MU_SF_TTVA_EXTRAPOLATION_DOWN
@ MU_SF_TTVA_EXTRAPOLATION_DOWN
Definition: ScaleFactorRetriever.h:92
top::MU_SF_ID_STAT_DOWN
@ MU_SF_ID_STAT_DOWN
Definition: ScaleFactorRetriever.h:47
top::Event
Very simple class to hold event data after reading from a file.
Definition: Event.h:49
top::EL_SF_ChargeMisID_SYST_DOWN
@ EL_SF_ChargeMisID_SYST_DOWN
Definition: ScaleFactorRetriever.h:41
top::ScaleFactorRetriever::electronSF_ID
float electronSF_ID(const xAOD::Electron &x, const top::topSFSyst SFSyst, bool useLooseDef) const
Definition: ScaleFactorRetriever.cxx:496
top::MU_SF_Isol_MC_XSEC_DOWN
@ MU_SF_Isol_MC_XSEC_DOWN
Definition: ScaleFactorRetriever.h:81
top::EL_SF_ChargeMisID_STAT_DOWN
@ EL_SF_ChargeMisID_STAT_DOWN
Definition: ScaleFactorRetriever.h:40
top::ScaleFactorRetriever::oldTriggerSF
float oldTriggerSF(const top::Event &event, const top::topSFSyst SFSyst) const
Definition: ScaleFactorRetriever.cxx:191
top::MU_SF_ID_TRUTH_LOWPT_DOWN
@ MU_SF_ID_TRUTH_LOWPT_DOWN
Definition: ScaleFactorRetriever.h:69
top::tauSF_name
const std::map< topSFSyst, TString > tauSF_name
Definition: ScaleFactorRetriever.h:131
top::ALL
@ ALL
Definition: ScaleFactorRetriever.h:213
top::TAUS_TRUEHADTAU_EFF_RNNID_SYST__1up
@ TAUS_TRUEHADTAU_EFF_RNNID_SYST__1up
Definition: ScaleFactorRetriever.h:109
top::ScaleFactorRetriever::fwdElectronSF_ID
float fwdElectronSF_ID(const xAOD::Electron &x, const top::topSFSyst SFSyst, bool useLooseDef) const
Definition: ScaleFactorRetriever.cxx:504
top::MU_SF_Isol_DRMUJ_UP
@ MU_SF_Isol_DRMUJ_UP
Definition: ScaleFactorRetriever.h:79
top::MU_SF_ID_MATCHING_DOWN
@ MU_SF_ID_MATCHING_DOWN
Definition: ScaleFactorRetriever.h:62
top::ScaleFactorRetriever::softmuonSF
float softmuonSF(const top::Event &event, const top::topSFSyst SFSyst, const top::topSFComp SFComp) const
top::MU_SF_ID_TRUTH_DOWN
@ MU_SF_ID_TRUTH_DOWN
Definition: ScaleFactorRetriever.h:68
AsgTool.h
top::BTAG_SF_EIGEN_B
@ BTAG_SF_EIGEN_B
Definition: ScaleFactorRetriever.h:119
top::MU_SF_TTVA_STAT_DOWN
@ MU_SF_TTVA_STAT_DOWN
Definition: ScaleFactorRetriever.h:56
top::MU_SF_ID_FIT_MODEL_LOWPT_UP
@ MU_SF_ID_FIT_MODEL_LOWPT_UP
Definition: ScaleFactorRetriever.h:60
top::PHOTON_EFF_ISO_UP
@ PHOTON_EFF_ISO_UP
Definition: ScaleFactorRetriever.h:115
asg::AsgTool::print
virtual void print() const
Print the state of the tool.
Definition: AsgTool.cxx:131
top::ScaleFactorRetriever::electronSFSystVariationVector
std::vector< float > electronSFSystVariationVector(const top::Event &event, const top::topSFComp SFComp, int var=1) const
top::FWDEL_SF_ID_DOWN
@ FWDEL_SF_ID_DOWN
Definition: ScaleFactorRetriever.h:127
PhotonContainer.h
top::EL_SF_Reco_DOWN
@ EL_SF_Reco_DOWN
Definition: ScaleFactorRetriever.h:33
top::TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2530__1up
@ TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPT2530__1up
Definition: ScaleFactorRetriever.h:105
top::MU_SF_TTVA_SYST_UP
@ MU_SF_TTVA_SYST_UP
Definition: ScaleFactorRetriever.h:57
top::MU_SF_Isol_SUPRESSION_SCALE_UP
@ MU_SF_Isol_SUPRESSION_SCALE_UP
Definition: ScaleFactorRetriever.h:85
AuxElement.h
Base class for elements of a container that can have aux data.
top::MU_SF_TTVA_SYST_DOWN
@ MU_SF_TTVA_SYST_DOWN
Definition: ScaleFactorRetriever.h:57
top::TAUS_TRUEHADTAU_EFF_RNNID_HIGHPT__1up
@ TAUS_TRUEHADTAU_EFF_RNNID_HIGHPT__1up
Definition: ScaleFactorRetriever.h:108
top::ScaleFactorRetriever::muonSF_TTVA
float muonSF_TTVA(const xAOD::Muon &x, const top::topSFSyst SFSyst) const
Get the muon track-to-vertex association SF.
Definition: ScaleFactorRetriever.cxx:1238
top::FJVT_DOWN
@ FJVT_DOWN
Definition: ScaleFactorRetriever.h:125
top::MU_SF_ID_SYST_DOWN
@ MU_SF_ID_SYST_DOWN
Definition: ScaleFactorRetriever.h:48
top::MU_SF_ID_CR1_UP
@ MU_SF_ID_CR1_UP
Definition: ScaleFactorRetriever.h:71
top::MU_SF_ID_EXTRAPOLATION_DOWN
@ MU_SF_ID_EXTRAPOLATION_DOWN
Definition: ScaleFactorRetriever.h:77
top::ScaleFactorRetriever::electronSF_Isol
float electronSF_Isol(const xAOD::Electron &x, const top::topSFSyst SFSyst, bool useLooseDef) const
Definition: ScaleFactorRetriever.cxx:568
top::MU_SF_ID_CR1_DOWN
@ MU_SF_ID_CR1_DOWN
Definition: ScaleFactorRetriever.h:71
top::TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPTGE40__1up
@ TAUS_TRUEHADTAU_EFF_RNNID_3PRONGSTATSYSTPTGE40__1up
Definition: ScaleFactorRetriever.h:107