Commit 91fd6993 authored by Oliver Majersky's avatar Oliver Majersky
Browse files

Fix and cleanup of ApplyTightSFsInLooseTree option

parent 3639f44a
......@@ -405,7 +405,7 @@ namespace top {
"Special: run overlap removal on : Tight (top default) or Loose (not top default) lepton definitions",
"Tight");
registerParameter("ApplyTightSFsInLooseTree",
"Special: in Loose trees, calculate lepton SFs with tight leptons only, and considering they are tight: True or False (default)",
"Special: in Loose trees, calculate electron/muon SFs with tight leptons only, and considering they are tight: True or False (default)",
"False");
registerParameter("ApplyElectronInJetSubtraction",
......
......@@ -330,47 +330,47 @@ namespace top {
float electronSF_Reco(const xAOD::Electron& x,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float electronSF_Trigger(const xAOD::Electron& x, const top::topSFSyst SFSyst, bool isLoose) const;
float electronSF_Trigger(const xAOD::Electron& x, const top::topSFSyst SFSyst, bool useLooseDef) const;
float electronEff_Trigger(const xAOD::Electron& x, const top::topSFSyst SFSyst, bool isLoose) const;
float electronEff_Trigger(const xAOD::Electron& x, const top::topSFSyst SFSyst, bool useLooseDef) const;
float electronSF_ID(const xAOD::Electron& x,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float electronSF_Isol(const xAOD::Electron& x,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float electronSF_ChargeID(const xAOD::Electron& x,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float electronSF_ChargeMisID(const xAOD::Electron& x,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float fwdElectronSF_ID(const xAOD::Electron& x,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float muonSF_Trigger(const xAOD::Muon& x,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float muonEff_Trigger(const xAOD::Muon& x,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float muonSF_ID(const xAOD::Muon& x,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float muonSF_Isol(const xAOD::Muon& x,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float muonSF_TTVA(const xAOD::Muon& x,
const top::topSFSyst SFSyst) const;
......@@ -403,37 +403,37 @@ namespace top {
float electronSF_Trigger(const xAOD::Electron& x,
const std::string& id,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float electronEff_Trigger(const xAOD::Electron& x,
const std::string& id,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float electronSF_ID(const xAOD::Electron& x,
const std::string& id,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float electronSF_Isol(const xAOD::Electron& x,
const std::string& id,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float electronSF_ChargeID(const xAOD::Electron& x,
const std::string& id, const std::string& iso,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float electronSF_ChargeMisID(const xAOD::Electron& x,
const std::string& id, const std::string& iso,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float fwdElectronSF_ID(const xAOD::Electron& x,
const std::string& id,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float photonSF_Isol(const xAOD::Photon& x,
const std::string& iso,
......@@ -443,16 +443,16 @@ namespace top {
float muonSF_Trigger(const xAOD::Muon& x,
const std::string& id,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float muonEff_Trigger(const xAOD::Muon& x,
const std::string& id,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float muonSF_ID(const xAOD::Muon& x,
const std::string& id,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
float softmuonSF_ID(const xAOD::Muon& x,
const std::string& id,
......@@ -461,7 +461,7 @@ namespace top {
float muonSF_Isol(const xAOD::Muon& x,
const std::string& iso,
const top::topSFSyst SFSyst,
bool isLoose) const;
bool useLooseDef) const;
// List of triggers to 'or' together for each event.
// If any one passes, the event passes
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment