Commit ba1fffdd authored by Bjoern Wendland's avatar Bjoern Wendland Committed by Nils Erik Krumnack
Browse files

AT: Fixing isolation SFs for electrons when no isolation is used

parent 1092c8c3
......@@ -360,6 +360,7 @@ namespace top {
electronIsolation == "PLVLoose") {
m_electronEffSFIso = setupElectronSFTool(elSFPrefix + "Iso", inPLViso, dataType);
}
else if(electronIsolation == "None" || electronIsolation == "") m_electronEffSFIso = nullptr;
else {
m_electronEffSFIso = setupElectronSFToolWithMap(elSFPrefix + "Iso", m_electronEffSFIsoFile, "", electronID,
electronIsolation, "", dataType, "TOTAL", "", "");
......@@ -368,6 +369,7 @@ namespace top {
electronIsolationLoose == "PLVLoose") {
m_electronEffSFIsoLoose = setupElectronSFTool(elSFPrefix + "IsoLoose", inPLVisoLoose, dataType);
}
else if(electronIsolationLoose == "None" || electronIsolationLoose == "") m_electronEffSFIsoLoose = nullptr;
else {
m_electronEffSFIsoLoose = setupElectronSFToolWithMap(elSFPrefix + "IsoLoose", m_electronEffSFIsoLooseFile, "",
electronIDLoose, electronIsolationLoose, "", dataType, "TOTAL", "",
......@@ -439,6 +441,7 @@ namespace top {
m_config->electronEfficiencySystematicModelEtaBinning(),
m_config->electronEfficiencySystematicModelEtBinning());
}
else if(electronIsolation == "None" || electronIsolation == "") m_electronEffSFIsoCorrModel = nullptr;
else {
m_electronEffSFIsoCorrModel = setupElectronSFToolWithMap(elSFPrefixCorrModel + "Iso", m_electronEffSFIsoFile, "",
electronID, electronIsolation, "", dataType,
......@@ -454,6 +457,7 @@ namespace top {
m_config->electronEfficiencySystematicModelEtBinning());
}
else if(electronIsolationLoose == "None" || electronIsolationLoose == "") m_electronEffSFIsoLooseCorrModel = nullptr;
else {
m_electronEffSFIsoLooseCorrModel = setupElectronSFToolWithMap(elSFPrefixCorrModel + "IsoLoose",
m_electronEffSFIsoLooseFile, "", electronIDLoose,
......
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