From c4d88f7ce360a3f17ec9cd863cf94740c576c77c Mon Sep 17 00:00:00 2001
From: Bertrand Martin <martindl@cern.ch>
Date: Sun, 6 Dec 2020 14:42:07 +0100
Subject: [PATCH] tau physval monitoring: merge TauHistUtils into TauDQA, and
 start cleanup

Hello,

This MR is moving PHYSVAL monitoring code from TauHistUtils to TauDQA.
For no good reason, code was stored in 2 separate packages.
The TauHistUtils package is therefore deleted.

Minimal cleanup was also made. In general, BDT plots were either dropped or replaced with RNN equivalents.
BDT tau ID will no longer be supported in R22.
BDT electron veto is now superseded with an RNN.

More cleanup will come in a follow up MR.

Cheers,
Bertrand
---
 PhysicsAnalysis/TauID/TauDQA/CMakeLists.txt   |   2 +-
 .../src/EVetoPlots.cxx                        |  53 +++---
 .../TauHistUtils => TauDQA/src}/EVetoPlots.h  |  20 +--
 .../TauID/TauDQA/src/EfficiencyPtPlots.cxx    |  76 +++++++++
 .../TauID/TauDQA/src/EfficiencyPtPlots.h      |  38 +++++
 .../TauID/TauDQA/src/GeneralTauPlots.cxx      |  92 +++++++++++
 .../src}/GeneralTauPlots.h                    |  20 +--
 .../src/Had1ProngPlots.cxx                    |   4 +-
 .../src}/Had1ProngPlots.h                     |   6 +-
 .../src/Had3ProngPlots.cxx                    |   4 +-
 .../src}/Had3ProngPlots.h                     |   6 +-
 .../src/Migration.cxx                         |   2 +-
 .../TauHistUtils => TauDQA/src}/Migration.h   |  11 +-
 .../src/NewCorePlots.cxx                      |   4 +-
 .../src}/NewCorePlots.h                       |   6 +-
 .../src/ParamPlots.cxx                        |   4 +-
 .../TauHistUtils => TauDQA/src}/ParamPlots.h  |   8 +-
 .../src/RecoTauPlots.cxx                      |   4 +-
 .../src}/RecoTauPlots.h                       |  13 +-
 .../TauID/TauDQA/src/TauValidationPlots.h     |  28 +---
 .../TauID/TauHistUtils/CMakeLists.txt         |  10 --
 .../TauHistUtils/TauHistUtils/BDTinputPlots.h |  39 -----
 .../TauHistUtils/EfficiencyPtPlots.h          |  39 -----
 .../TauID/TauHistUtils/src/BDTinputPlots.cxx  |  66 --------
 .../TauHistUtils/src/EfficiencyPtPlots.cxx    |  76 ---------
 .../TauHistUtils/src/GeneralTauPlots.cxx      | 154 ------------------
 26 files changed, 289 insertions(+), 496 deletions(-)
 rename PhysicsAnalysis/TauID/{TauHistUtils => TauDQA}/src/EVetoPlots.cxx (52%)
 rename PhysicsAnalysis/TauID/{TauHistUtils/TauHistUtils => TauDQA/src}/EVetoPlots.h (59%)
 create mode 100644 PhysicsAnalysis/TauID/TauDQA/src/EfficiencyPtPlots.cxx
 create mode 100644 PhysicsAnalysis/TauID/TauDQA/src/EfficiencyPtPlots.h
 create mode 100644 PhysicsAnalysis/TauID/TauDQA/src/GeneralTauPlots.cxx
 rename PhysicsAnalysis/TauID/{TauHistUtils/TauHistUtils => TauDQA/src}/GeneralTauPlots.h (64%)
 rename PhysicsAnalysis/TauID/{TauHistUtils => TauDQA}/src/Had1ProngPlots.cxx (97%)
 rename PhysicsAnalysis/TauID/{TauHistUtils/TauHistUtils => TauDQA/src}/Had1ProngPlots.h (86%)
 rename PhysicsAnalysis/TauID/{TauHistUtils => TauDQA}/src/Had3ProngPlots.cxx (97%)
 rename PhysicsAnalysis/TauID/{TauHistUtils/TauHistUtils => TauDQA/src}/Had3ProngPlots.h (84%)
 rename PhysicsAnalysis/TauID/{TauHistUtils => TauDQA}/src/Migration.cxx (99%)
 rename PhysicsAnalysis/TauID/{TauHistUtils/TauHistUtils => TauDQA/src}/Migration.h (83%)
 rename PhysicsAnalysis/TauID/{TauHistUtils => TauDQA}/src/NewCorePlots.cxx (99%)
 rename PhysicsAnalysis/TauID/{TauHistUtils/TauHistUtils => TauDQA/src}/NewCorePlots.h (90%)
 rename PhysicsAnalysis/TauID/{TauHistUtils => TauDQA}/src/ParamPlots.cxx (92%)
 rename PhysicsAnalysis/TauID/{TauHistUtils/TauHistUtils => TauDQA/src}/ParamPlots.h (74%)
 rename PhysicsAnalysis/TauID/{TauHistUtils => TauDQA}/src/RecoTauPlots.cxx (99%)
 rename PhysicsAnalysis/TauID/{TauHistUtils/TauHistUtils => TauDQA/src}/RecoTauPlots.h (88%)
 delete mode 100644 PhysicsAnalysis/TauID/TauHistUtils/CMakeLists.txt
 delete mode 100644 PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/BDTinputPlots.h
 delete mode 100644 PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/EfficiencyPtPlots.h
 delete mode 100644 PhysicsAnalysis/TauID/TauHistUtils/src/BDTinputPlots.cxx
 delete mode 100644 PhysicsAnalysis/TauID/TauHistUtils/src/EfficiencyPtPlots.cxx
 delete mode 100644 PhysicsAnalysis/TauID/TauHistUtils/src/GeneralTauPlots.cxx

diff --git a/PhysicsAnalysis/TauID/TauDQA/CMakeLists.txt b/PhysicsAnalysis/TauID/TauDQA/CMakeLists.txt
index 2d3d7314309..5dd3957ef80 100644
--- a/PhysicsAnalysis/TauID/TauDQA/CMakeLists.txt
+++ b/PhysicsAnalysis/TauID/TauDQA/CMakeLists.txt
@@ -11,5 +11,5 @@ atlas_add_component( TauDQA
    src/*.h src/*.cxx src/components/*.cxx
    INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
    LINK_LIBRARIES ${ROOT_LIBRARIES} GaudiKernel AthenaBaseComps
-   AthenaMonitoringLib TauAnalysisToolsLib TauHistUtils xAODJet xAODEgamma
+   AthenaMonitoringLib TauAnalysisToolsLib TrkValHistUtils xAODJet xAODEgamma
    xAODTau xAODTruth )
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/src/EVetoPlots.cxx b/PhysicsAnalysis/TauID/TauDQA/src/EVetoPlots.cxx
similarity index 52%
rename from PhysicsAnalysis/TauID/TauHistUtils/src/EVetoPlots.cxx
rename to PhysicsAnalysis/TauID/TauDQA/src/EVetoPlots.cxx
index c3be60b1db1..0efd3186531 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/src/EVetoPlots.cxx
+++ b/PhysicsAnalysis/TauID/TauDQA/src/EVetoPlots.cxx
@@ -1,8 +1,8 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#include "TauHistUtils/EVetoPlots.h"
+#include "EVetoPlots.h"
 
 namespace Tau{
 
@@ -12,13 +12,13 @@ EVetoPlots::EVetoPlots(PlotBase* pParent, std::string sDir, std::string sTauJetC
    m_EMRadius(nullptr),	 
    m_IsoFrac(nullptr),
    m_CentFrac(nullptr),
-   m_id_BDTEleScore(nullptr),
-   m_pt_eleBDTloose(nullptr),
-   m_pt_eleBDTmed(nullptr),
-   m_pt_eleBDTtight(nullptr),
-   m_pt_eleBDTlooseHighPt(nullptr),
-   m_pt_eleBDTmedHighPt(nullptr),
-   m_pt_eleBDTtightHighPt(nullptr),
+   m_id_RNNEleScore(nullptr),
+   m_pt_eleRNNloose(nullptr),
+   m_pt_eleRNNmed(nullptr),
+   m_pt_eleRNNtight(nullptr),
+   m_pt_eleRNNlooseHighPt(nullptr),
+   m_pt_eleRNNmedHighPt(nullptr),
+   m_pt_eleRNNtightHighPt(nullptr),
    m_sTauJetContainerName(sTauJetContainerName)
 {
 }
@@ -35,14 +35,13 @@ void EVetoPlots::initializePlots(){
   m_IsoFrac   = Book1D("IsoFrac",m_sTauJetContainerName + " Iso Frac; Iso Frac; # Part",20,0,1.);
   m_CentFrac  = Book1D("CentFrac",m_sTauJetContainerName + " Cent Frac; Cent Frac; # Part",20,0,1.);
 
-  m_id_BDTEleScore      = Book1D("id_BDTEleScore",m_sTauJetContainerName + " BDTEleScore ; BDTEleScore; # Tau",10,0.,1.05);
-  m_pt_eleBDTloose      = Book1D("Pt_eleBDTloose",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,150.);
-  m_pt_eleBDTmed        = Book1D("Pt_eleBDTmed",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,150.);
-  m_pt_eleBDTtight      = Book1D("Pt_eleBDTtight",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,150.);
-  m_pt_eleBDTlooseHighPt = Book1D("Pt_eleBDTlooseHighPt",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,1500.);
-  m_pt_eleBDTmedHighPt   = Book1D("Pt_eleBDTmedHighPt",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,1500.);
-  m_pt_eleBDTtightHighPt = Book1D("Pt_eleBDTtightHighPt",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,1500.);
-
+  m_id_RNNEleScore      = Book1D("id_RNNEleScore",m_sTauJetContainerName + " RNNEleScore ; RNNEleScore; # Tau",10,0.,1.05);
+  m_pt_eleRNNloose      = Book1D("Pt_eleRNNloose",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,150.);
+  m_pt_eleRNNmed        = Book1D("Pt_eleRNNmed",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,150.);
+  m_pt_eleRNNtight      = Book1D("Pt_eleRNNtight",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,150.);
+  m_pt_eleRNNlooseHighPt = Book1D("Pt_eleRNNlooseHighPt",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,1500.);
+  m_pt_eleRNNmedHighPt   = Book1D("Pt_eleRNNmedHighPt",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,1500.);
+  m_pt_eleRNNtightHighPt = Book1D("Pt_eleRNNtightHighPt",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,1500.);
 }
 
 void EVetoPlots::fill(const xAOD::TauJet& tau) {
@@ -62,18 +61,18 @@ void EVetoPlots::fill(const xAOD::TauJet& tau) {
   test=tau.detail(xAOD::TauJetParameters::centFrac, avariable);
   if (test) m_CentFrac->Fill(avariable,1.);
 
-  if(tau.hasDiscriminant(xAOD::TauJetParameters::BDTEleScore) )m_id_BDTEleScore->Fill(tau.discriminant(xAOD::TauJetParameters::BDTEleScore));
-  if ( tau.isTau(xAOD::TauJetParameters::EleBDTLoose) ) {
-     m_pt_eleBDTloose      ->Fill(tau.pt()/1000.0, 1.0);
-     m_pt_eleBDTlooseHighPt->Fill(tau.pt()/1000.0, 1.0);
+  if(tau.hasDiscriminant(xAOD::TauJetParameters::RNNEleScore) )m_id_RNNEleScore->Fill(tau.discriminant(xAOD::TauJetParameters::RNNEleScore));
+  if ( tau.isTau(xAOD::TauJetParameters::EleRNNLoose) ) {
+     m_pt_eleRNNloose      ->Fill(tau.pt()/1000.0, 1.0);
+     m_pt_eleRNNlooseHighPt->Fill(tau.pt()/1000.0, 1.0);
   }
-  if ( tau.isTau(xAOD::TauJetParameters::EleBDTMedium) ) {
-     m_pt_eleBDTmed      ->Fill(tau.pt()/1000.0, 1.0);
-     m_pt_eleBDTmedHighPt->Fill(tau.pt()/1000.0, 1.0);
+  if ( tau.isTau(xAOD::TauJetParameters::EleRNNMedium) ) {
+     m_pt_eleRNNmed      ->Fill(tau.pt()/1000.0, 1.0);
+     m_pt_eleRNNmedHighPt->Fill(tau.pt()/1000.0, 1.0);
   }
-  if ( tau.isTau(xAOD::TauJetParameters::EleBDTTight) ) {
-     m_pt_eleBDTtight      ->Fill(tau.pt()/1000.0, 1.0);
-     m_pt_eleBDTtightHighPt->Fill(tau.pt()/1000.0, 1.0);
+  if ( tau.isTau(xAOD::TauJetParameters::EleRNNTight) ) {
+     m_pt_eleRNNtight      ->Fill(tau.pt()/1000.0, 1.0);
+     m_pt_eleRNNtightHighPt->Fill(tau.pt()/1000.0, 1.0);
   }
 
 }
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/EVetoPlots.h b/PhysicsAnalysis/TauID/TauDQA/src/EVetoPlots.h
similarity index 59%
rename from PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/EVetoPlots.h
rename to PhysicsAnalysis/TauID/TauDQA/src/EVetoPlots.h
index 1ff5648c0c7..7593701c9f6 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/EVetoPlots.h
+++ b/PhysicsAnalysis/TauID/TauDQA/src/EVetoPlots.h
@@ -1,9 +1,9 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#ifndef TAUHISTUTILS_EVETOPLOTS_H
-#define TAUHISTUTILS_EVETOPLOTS_H
+#ifndef TAUDQA_EVETOPLOTS_H
+#define TAUDQA_EVETOPLOTS_H
 
 #include "TrkValHistUtils/PlotBase.h"
 #include "xAODTau/TauJet.h"
@@ -20,13 +20,13 @@ class EVetoPlots: public PlotBase {
     TH1* m_EMRadius;	 
     TH1* m_IsoFrac;	 
     TH1* m_CentFrac;	 
-    TH1* m_id_BDTEleScore;
-    TH1* m_pt_eleBDTloose;
-    TH1* m_pt_eleBDTmed; 
-    TH1* m_pt_eleBDTtight;
-    TH1* m_pt_eleBDTlooseHighPt;
-    TH1* m_pt_eleBDTmedHighPt; 
-    TH1* m_pt_eleBDTtightHighPt;
+    TH1* m_id_RNNEleScore;
+    TH1* m_pt_eleRNNloose;
+    TH1* m_pt_eleRNNmed; 
+    TH1* m_pt_eleRNNtight;
+    TH1* m_pt_eleRNNlooseHighPt;
+    TH1* m_pt_eleRNNmedHighPt; 
+    TH1* m_pt_eleRNNtightHighPt;
     
   private:
     void initializePlots();
diff --git a/PhysicsAnalysis/TauID/TauDQA/src/EfficiencyPtPlots.cxx b/PhysicsAnalysis/TauID/TauDQA/src/EfficiencyPtPlots.cxx
new file mode 100644
index 00000000000..8abc1ad4350
--- /dev/null
+++ b/PhysicsAnalysis/TauID/TauDQA/src/EfficiencyPtPlots.cxx
@@ -0,0 +1,76 @@
+/*
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
+*/
+
+#include "EfficiencyPtPlots.h"
+                       
+namespace Tau{
+
+EfficiencyPtPlots::EfficiencyPtPlots(PlotBase* pParent, std::string sDir, std::string sTauJetContainerName):
+   PlotBase(pParent, sDir),
+   m_eff_pt_jetRNNloose(nullptr),
+   m_eff_pt_jetRNNmed(nullptr),
+   m_eff_pt_jetRNNtight(nullptr),
+   m_eff_jetRNNloose(nullptr),
+   m_eff_jetRNNmed(nullptr),
+   m_eff_jetRNNtight(nullptr),
+   m_sTauJetContainerName(sTauJetContainerName)
+{	
+}
+
+EfficiencyPtPlots::~EfficiencyPtPlots()
+{
+}
+
+void EfficiencyPtPlots::initializePlots()
+{
+   m_eff_pt_jetRNNloose       = BookTProfile("Eff_Pt_jetRNNloose"," Matched Tau loose eff in pt; pt; eff", 20, 0., 150.0);
+   m_eff_pt_jetRNNmed         = BookTProfile("Eff_Pt_jetRNNmed","Matched Tau med eff in pt; pt; eff", 20, 0.0, 150.0);
+   m_eff_pt_jetRNNtight       = BookTProfile("Eff_Pt_jetRNNtight","Matched Tau tight eff in pt; pt; eff", 20, 0.0, 150.0);
+   m_eff_pt_jetRNNlooseHighPt = BookTProfile("Eff_Pt_jetRNNlooseHightPt"," Matched Tau loose eff in pt; pt; eff", 20, 0.0, 1500.0);
+   m_eff_pt_jetRNNmedHighPt   = BookTProfile("Eff_Pt_jetRNNmedHightPt","Matched Tau med eff in pt; pt; eff", 20, 0.0, 1500.0);
+   m_eff_pt_jetRNNtightHighPt = BookTProfile("Eff_Pt_jetRNNtightHightPt","Matched Tau tight eff in pt; pt; eff", 20, 0.0, 1500.0);
+   m_eff_jetRNNloose          = BookTProfile("Eff_jetRNNloose"," Matched Tau loose eff total; bin; eff",3,-1.5,1.5);
+   m_eff_jetRNNmed            = BookTProfile("Eff_jetRNNmed","Matched Tau med eff total; bin; eff",3,-1.5,1.5);
+   m_eff_jetRNNtight          = BookTProfile("Eff_jetRNNtight","Matched Tau tight eff total; bin; eff",3,-1.5,1.5);
+}
+
+void EfficiencyPtPlots::fill(const xAOD::TauJet& tau)
+{
+   if ( tau.isTau(xAOD::TauJetParameters::JetRNNSigLoose) ) {
+      m_eff_pt_jetRNNloose      ->Fill(tau.pt()/1000, 1.0, 1.0);
+      m_eff_pt_jetRNNlooseHighPt->Fill(tau.pt()/1000, 1.0, 1.0);
+      m_eff_jetRNNloose         ->Fill(0.0,           1.0, 1.0);
+   }
+   else {
+      m_eff_pt_jetRNNloose      ->Fill(tau.pt()/1000, 0.0, 1.0);
+      m_eff_pt_jetRNNlooseHighPt->Fill(tau.pt()/1000, 0.0, 1.0);
+      m_eff_jetRNNloose         ->Fill(0.0,           0.0, 1.0);
+   }
+   
+   if ( tau.isTau(xAOD::TauJetParameters::JetRNNSigMedium) ) {
+      m_eff_pt_jetRNNmed      ->Fill(tau.pt()/1000, 1.0, 1.0);
+      m_eff_pt_jetRNNmedHighPt->Fill(tau.pt()/1000, 1.0, 1.0);
+      m_eff_jetRNNmed         ->Fill(0.0,           1.0, 1.0);
+   }
+   else {
+      m_eff_pt_jetRNNmed      ->Fill(tau.pt()/1000, 0.0, 1.0);
+      m_eff_pt_jetRNNmedHighPt->Fill(tau.pt()/1000, 0.0, 1.0);
+      m_eff_jetRNNmed         ->Fill(0.0,           0.0, 1.0);
+   }
+
+   if ( tau.isTau(xAOD::TauJetParameters::JetRNNSigTight) ) {
+      m_eff_pt_jetRNNtight      ->Fill(tau.pt()/1000, 1.0, 1.0);
+      m_eff_pt_jetRNNtightHighPt->Fill(tau.pt()/1000, 1.0, 1.0);
+      m_eff_jetRNNtight         ->Fill(0.0,           1.0, 1.0);
+   }
+   else {
+      m_eff_pt_jetRNNtight      ->Fill(tau.pt()/1000, 0.0, 1.0);
+      m_eff_pt_jetRNNtightHighPt->Fill(tau.pt()/1000, 0.0, 1.0);
+      m_eff_jetRNNtight         ->Fill(0.0,           0.0, 1.0);
+   }
+
+}
+
+
+}
diff --git a/PhysicsAnalysis/TauID/TauDQA/src/EfficiencyPtPlots.h b/PhysicsAnalysis/TauID/TauDQA/src/EfficiencyPtPlots.h
new file mode 100644
index 00000000000..afb497ecf24
--- /dev/null
+++ b/PhysicsAnalysis/TauID/TauDQA/src/EfficiencyPtPlots.h
@@ -0,0 +1,38 @@
+/*
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
+*/
+
+#ifndef TAUDQA_EFFICIENCYPTPLOTS_H
+#define TAUDQA_EFFICIENCYPTPLOTS_H
+
+#include "TrkValHistUtils/PlotBase.h"
+#include "ParamPlots.h"
+#include "xAODTau/TauJet.h"
+
+namespace Tau{
+
+class EfficiencyPtPlots: public PlotBase {
+  public:
+    EfficiencyPtPlots(PlotBase *pParent, std::string sDir, std::string sTauJetContainerName);
+    virtual ~EfficiencyPtPlots();
+
+    void fill(const xAOD::TauJet& tau);
+    TProfile* m_eff_pt_jetRNNloose;
+    TProfile* m_eff_pt_jetRNNmed;
+    TProfile* m_eff_pt_jetRNNtight;
+    TProfile* m_eff_pt_jetRNNlooseHighPt;
+    TProfile* m_eff_pt_jetRNNmedHighPt;
+    TProfile* m_eff_pt_jetRNNtightHighPt;
+
+    TProfile* m_eff_jetRNNloose;
+    TProfile* m_eff_jetRNNmed;
+    TProfile* m_eff_jetRNNtight;
+
+  private:
+    void initializePlots();
+    std::string m_sTauJetContainerName;
+};
+
+}
+
+#endif
diff --git a/PhysicsAnalysis/TauID/TauDQA/src/GeneralTauPlots.cxx b/PhysicsAnalysis/TauID/TauDQA/src/GeneralTauPlots.cxx
new file mode 100644
index 00000000000..595f1248a92
--- /dev/null
+++ b/PhysicsAnalysis/TauID/TauDQA/src/GeneralTauPlots.cxx
@@ -0,0 +1,92 @@
+/*
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
+*/
+
+
+#include "GeneralTauPlots.h"
+
+namespace Tau{
+
+GeneralTauPlots::GeneralTauPlots(PlotBase* pParent, std::string sDir, std::string sTauJetContainerName):
+   PlotBase(pParent, sDir),
+   m_oParamPlots(this, "", sTauJetContainerName),
+   m_tauCharge(nullptr),
+   m_tauNCoreTracks(nullptr),
+   m_tauNWideTracks(nullptr),
+   m_ptHighPt(nullptr),
+   m_RNNScore(nullptr),
+   m_RNNScoreSigTrans(nullptr),
+   m_ptRNNVeryLoose(nullptr),
+   m_ptRNNLoose(nullptr),
+   m_ptRNNMedium(nullptr),
+   m_ptRNNTight(nullptr),
+   m_ptRNNVeryLooseHighPt(nullptr),
+   m_ptRNNLooseHighPt(nullptr),
+   m_ptRNNMediumHighPt(nullptr),
+   m_ptRNNTightHighPt(nullptr),
+   m_sTauJetContainerName(sTauJetContainerName)
+{	
+}
+
+GeneralTauPlots::~GeneralTauPlots()
+{
+}
+
+void GeneralTauPlots::initializePlots(){
+
+   m_tauCharge      = Book1D("Charge",m_sTauJetContainerName + " Tau charge; charge; # Taus",7,-3.,4.);
+   m_tauNCoreTracks = Book1D("NCoreTracks",m_sTauJetContainerName + " Tau n core tracks; nCore; # Taus",10,0.,10.);
+   m_tauNWideTracks = Book1D("NWideTracks",m_sTauJetContainerName + " Tau n wide tracks; nWide; # Taus",10,0.,10.);
+   m_ptHighPt = Book1D("ptHighPt", m_sTauJetContainerName+" HighPt"+"; pt; # Taus",20, 0.0, 1500.0);
+   m_RNNScore = Book1D("RNNJetScore", m_sTauJetContainerName+" RNNJetScore;RNNJetScore;# Tau", 10, -1.01, 1.01);
+   m_RNNScoreSigTrans = Book1D("RNNJetScoreSigTrans", m_sTauJetContainerName+" RNNJetScoreSigTrans;RNNJetScoreSigTrans;"+"# Tau", 10, -1.01, 1.01);
+   m_ptRNNVeryLoose = Book1D("ptRNNSigVeryLoose", m_sTauJetContainerName+" RNNSigVeryLoose; pt; # Taus",20, 0.0, 150.0);
+   m_ptRNNVeryLooseHighPt = Book1D("ptRNNSigVeryLooseHighPt", m_sTauJetContainerName+" RNNSigVeryLooseHighPt"+"; pt; # Taus",20, 0.0, 1500.0);
+   m_ptRNNLoose = Book1D("ptRNNSigLoose",m_sTauJetContainerName+" RNNSigLoose; pt; # Taus", 20, 0.0, 150.0);
+   m_ptRNNLooseHighPt = Book1D("ptRNNSigLooseHighPt", m_sTauJetContainerName+" RNNSigLooseHighPt; pt"+"; # Taus",20, 0.0, 1500.0);
+   m_ptRNNMedium = Book1D("ptRNNSigMedium",m_sTauJetContainerName+" RNNSigMedium; pt; # Taus", 20, 0.0, 150.0);
+   m_ptRNNMediumHighPt = Book1D("ptRNNSigMediumHighPt", m_sTauJetContainerName+" RNNSigMediumHighPt; pt"+"; # Taus",20, 0.0, 1500.0);
+   m_ptRNNTight = Book1D("ptRNNSigTight",m_sTauJetContainerName+" RNNSigTight; pt; # Taus", 20, 0.0, 150.0);
+   m_ptRNNTightHighPt = Book1D("ptRNNSigTightHighPt", m_sTauJetContainerName+" RNNSigTightHighPt; pt"+"; # Taus",20, 0.0, 1500.0);
+}
+
+void GeneralTauPlots::fill(const xAOD::TauJet& tau) {
+  m_oParamPlots.fill(tau);
+  m_tauCharge->Fill(tau.charge(), 1.); 
+  m_tauNCoreTracks->Fill(tau.nTracks(), 1.);
+  m_tauNWideTracks->Fill(tau.nTracks(xAOD::TauJetParameters::classifiedIsolation), 1.);
+  m_ptHighPt->Fill(tau.pt()/1000, 1.);
+
+  static const SG::AuxElement::ConstAccessor<float> acc_RNNJetScore("RNNJetScore");
+  if ( acc_RNNJetScore.isAvailable(tau) &&
+       tau.hasDiscriminant(xAOD::TauJetParameters::RNNJetScore) ) {
+     float rnnScore = tau.discriminant(xAOD::TauJetParameters::RNNJetScore);
+     if ( rnnScore > -2.0 ) m_RNNScore->Fill(rnnScore);
+  }
+  static const SG::AuxElement::ConstAccessor<float> acc_RNNJetScoreSigTrans("RNNJetScoreSigTrans");
+  if ( acc_RNNJetScoreSigTrans.isAvailable(tau) &&
+       tau.hasDiscriminant(xAOD::TauJetParameters::RNNJetScoreSigTrans) ) {
+     float rnnScore = tau.discriminant(xAOD::TauJetParameters::RNNJetScoreSigTrans);
+     if ( rnnScore > -2.0 ) m_RNNScoreSigTrans->Fill(rnnScore);
+  }
+  if ( tau.isTau(xAOD::TauJetParameters::JetRNNSigVeryLoose) ) {
+     m_ptRNNVeryLoose      ->Fill(tau.pt()/1000, 1.0);
+     m_ptRNNVeryLooseHighPt->Fill(tau.pt()/1000, 1.0);
+  }
+  if ( tau.isTau(xAOD::TauJetParameters::JetRNNSigLoose) ) {
+     m_ptRNNLoose      ->Fill(tau.pt()/1000, 1.0);
+     m_ptRNNLooseHighPt->Fill(tau.pt()/1000, 1.0);
+  }
+  if ( tau.isTau(xAOD::TauJetParameters::JetRNNSigMedium) ) {
+     m_ptRNNMedium      ->Fill(tau.pt()/1000, 1.0);
+     m_ptRNNMediumHighPt->Fill(tau.pt()/1000, 1.0);
+  }
+  if ( tau.isTau(xAOD::TauJetParameters::JetRNNSigTight) ) {
+     m_ptRNNTight      ->Fill(tau.pt()/1000, 1.0);
+     m_ptRNNTightHighPt->Fill(tau.pt()/1000, 1.0);
+  }
+
+}
+
+
+}
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/GeneralTauPlots.h b/PhysicsAnalysis/TauID/TauDQA/src/GeneralTauPlots.h
similarity index 64%
rename from PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/GeneralTauPlots.h
rename to PhysicsAnalysis/TauID/TauDQA/src/GeneralTauPlots.h
index 172366a2bc7..363c8c1bd01 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/GeneralTauPlots.h
+++ b/PhysicsAnalysis/TauID/TauDQA/src/GeneralTauPlots.h
@@ -1,14 +1,13 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#ifndef TAUHISTUTILS_GENERALTAUPLOTS_H
-#define TAUHISTUTILS_GENERALTAUPLOTS_H
+#ifndef TAUDQA_GENERALTAUPLOTS_H
+#define TAUDQA_GENERALTAUPLOTS_H
 
 #include "TrkValHistUtils/PlotBase.h"
-#include "TauHistUtils/ParamPlots.h"
+#include "ParamPlots.h"
 #include "xAODTau/TauJet.h"
-#include "xAODTau/TauDefs.h"
 
 namespace Tau{
 
@@ -23,16 +22,7 @@ class GeneralTauPlots: public PlotBase {
       TH1* m_tauCharge;
       TH1* m_tauNCoreTracks;
       TH1* m_tauNWideTracks;
-
-      // BDT
-      TH1* m_id_BDTJetScore;
-      TH1* m_id_BDTJetScoreSigTrans;
-      TH1* m_pt_jetBDTloose;
-      TH1* m_pt_jetBDTmed;
-      TH1* m_pt_jetBDTtight;
-      TH1* m_pt_jetBDTlooseHighPt;
-      TH1* m_pt_jetBDTmedHighPt;
-      TH1* m_pt_jetBDTtightHighPt;
+      TH1* m_ptHighPt;
 
       // RNN
       TH1* m_RNNScore;
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/src/Had1ProngPlots.cxx b/PhysicsAnalysis/TauID/TauDQA/src/Had1ProngPlots.cxx
similarity index 97%
rename from PhysicsAnalysis/TauID/TauHistUtils/src/Had1ProngPlots.cxx
rename to PhysicsAnalysis/TauID/TauDQA/src/Had1ProngPlots.cxx
index a99d8ea456b..ce395022112 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/src/Had1ProngPlots.cxx
+++ b/PhysicsAnalysis/TauID/TauDQA/src/Had1ProngPlots.cxx
@@ -1,8 +1,8 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#include "TauHistUtils/Had1ProngPlots.h"
+#include "Had1ProngPlots.h"
 
 namespace Tau{
 
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/Had1ProngPlots.h b/PhysicsAnalysis/TauID/TauDQA/src/Had1ProngPlots.h
similarity index 86%
rename from PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/Had1ProngPlots.h
rename to PhysicsAnalysis/TauID/TauDQA/src/Had1ProngPlots.h
index 165d1a64792..a9b7d025ddf 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/Had1ProngPlots.h
+++ b/PhysicsAnalysis/TauID/TauDQA/src/Had1ProngPlots.h
@@ -1,9 +1,9 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#ifndef TAUHISTUTILS_HAD1PRONGPLOTS_H
-#define TAUHISTUTILS_HAD1PRONGPLOTS_H
+#ifndef TAUDQA_HAD1PRONGPLOTS_H
+#define TAUDQA_HAD1PRONGPLOTS_H
 
 #include "GeneralTauPlots.h"
 #include "xAODTau/TauJet.h"
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/src/Had3ProngPlots.cxx b/PhysicsAnalysis/TauID/TauDQA/src/Had3ProngPlots.cxx
similarity index 97%
rename from PhysicsAnalysis/TauID/TauHistUtils/src/Had3ProngPlots.cxx
rename to PhysicsAnalysis/TauID/TauDQA/src/Had3ProngPlots.cxx
index cb0f384d358..5645f2367fb 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/src/Had3ProngPlots.cxx
+++ b/PhysicsAnalysis/TauID/TauDQA/src/Had3ProngPlots.cxx
@@ -1,8 +1,8 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#include "TauHistUtils/Had3ProngPlots.h"
+#include "Had3ProngPlots.h"
 
 namespace Tau{
 
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/Had3ProngPlots.h b/PhysicsAnalysis/TauID/TauDQA/src/Had3ProngPlots.h
similarity index 84%
rename from PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/Had3ProngPlots.h
rename to PhysicsAnalysis/TauID/TauDQA/src/Had3ProngPlots.h
index f0e5dc17fc5..c3dfde466e2 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/Had3ProngPlots.h
+++ b/PhysicsAnalysis/TauID/TauDQA/src/Had3ProngPlots.h
@@ -1,9 +1,9 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#ifndef TAUHISTUTILS_HAD3PRONGPLOTS_H
-#define TAUHISTUTILS_HAD3PRONGPLOTS_H
+#ifndef TAUDQA_HAD3PRONGPLOTS_H
+#define TAUDQA_HAD3PRONGPLOTS_H
 
 #include "GeneralTauPlots.h"
 #include "xAODTau/TauJet.h"
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/src/Migration.cxx b/PhysicsAnalysis/TauID/TauDQA/src/Migration.cxx
similarity index 99%
rename from PhysicsAnalysis/TauID/TauHistUtils/src/Migration.cxx
rename to PhysicsAnalysis/TauID/TauDQA/src/Migration.cxx
index 339915de29d..c5ebacd3a7b 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/src/Migration.cxx
+++ b/PhysicsAnalysis/TauID/TauDQA/src/Migration.cxx
@@ -2,7 +2,7 @@
   Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#include "TauHistUtils/Migration.h"
+#include "Migration.h"
 
 namespace Tau{
 
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/Migration.h b/PhysicsAnalysis/TauID/TauDQA/src/Migration.h
similarity index 83%
rename from PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/Migration.h
rename to PhysicsAnalysis/TauID/TauDQA/src/Migration.h
index 0344ab92538..e521ff66841 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/Migration.h
+++ b/PhysicsAnalysis/TauID/TauDQA/src/Migration.h
@@ -1,15 +1,14 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#ifndef TAUHISTUTILS_MIGRATION_H
-#define TAUHISTUTILS_MIGRATION_H
+#ifndef TAUDQA_MIGRATION_H
+#define TAUDQA_MIGRATION_H
 
 #include "TrkValHistUtils/PlotBase.h"
-#include "TauHistUtils/ParamPlots.h"
-#include "xAODTau/TauDefs.h" 
+#include "ParamPlots.h"
 #include "xAODTau/TauJet.h"
-#include "xAODPFlow/versions/PFO_v1.h"
+#include "xAODPFlow/PFO.h"
 
 namespace Tau{
 
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/src/NewCorePlots.cxx b/PhysicsAnalysis/TauID/TauDQA/src/NewCorePlots.cxx
similarity index 99%
rename from PhysicsAnalysis/TauID/TauHistUtils/src/NewCorePlots.cxx
rename to PhysicsAnalysis/TauID/TauDQA/src/NewCorePlots.cxx
index 141597a7653..2ea57f730be 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/src/NewCorePlots.cxx
+++ b/PhysicsAnalysis/TauID/TauDQA/src/NewCorePlots.cxx
@@ -1,8 +1,8 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#include "TauHistUtils/NewCorePlots.h"
+#include "NewCorePlots.h"
 
 namespace Tau{
 
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/NewCorePlots.h b/PhysicsAnalysis/TauID/TauDQA/src/NewCorePlots.h
similarity index 90%
rename from PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/NewCorePlots.h
rename to PhysicsAnalysis/TauID/TauDQA/src/NewCorePlots.h
index fbd27c40fc6..9a169f31f89 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/NewCorePlots.h
+++ b/PhysicsAnalysis/TauID/TauDQA/src/NewCorePlots.h
@@ -1,9 +1,9 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#ifndef TAUHISTUTILS_NEWCOREPLOTS_H
-#define TAUHISTUTILS_NEWCOREPLOTS_H
+#ifndef TAUDQA_NEWCOREPLOTS_H
+#define TAUDQA_NEWCOREPLOTS_H
 
 #include "GeneralTauPlots.h"
 #include "xAODTau/TauJet.h"
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/src/ParamPlots.cxx b/PhysicsAnalysis/TauID/TauDQA/src/ParamPlots.cxx
similarity index 92%
rename from PhysicsAnalysis/TauID/TauHistUtils/src/ParamPlots.cxx
rename to PhysicsAnalysis/TauID/TauDQA/src/ParamPlots.cxx
index 5e7b3bc1e4e..9426d1329bb 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/src/ParamPlots.cxx
+++ b/PhysicsAnalysis/TauID/TauDQA/src/ParamPlots.cxx
@@ -1,8 +1,8 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#include "TauHistUtils/ParamPlots.h"
+#include "ParamPlots.h"
 
 namespace Tau{
 
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/ParamPlots.h b/PhysicsAnalysis/TauID/TauDQA/src/ParamPlots.h
similarity index 74%
rename from PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/ParamPlots.h
rename to PhysicsAnalysis/TauID/TauDQA/src/ParamPlots.h
index 11627c1380b..94f1b38b4c4 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/ParamPlots.h
+++ b/PhysicsAnalysis/TauID/TauDQA/src/ParamPlots.h
@@ -1,9 +1,9 @@
 /*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#ifndef TAUHISTUTILS_PARAMPLOTS_H
-#define TAUHISTUTILS_PARAMPLOTS_H
+#ifndef TAUDQA_PARAMPLOTS_H
+#define TAUDQA_PARAMPLOTS_H
 
 #include "TrkValHistUtils/PlotBase.h"
 #include "xAODBase/IParticle.h"
@@ -30,6 +30,6 @@ class ParamPlots:public PlotBase {
 
 }
 
-#endif // TRKVALHISTUTILS_PARAMPLOTS_H
+#endif // TAUDQA_PARAMPLOTS_H
 
 
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/src/RecoTauPlots.cxx b/PhysicsAnalysis/TauID/TauDQA/src/RecoTauPlots.cxx
similarity index 99%
rename from PhysicsAnalysis/TauID/TauHistUtils/src/RecoTauPlots.cxx
rename to PhysicsAnalysis/TauID/TauDQA/src/RecoTauPlots.cxx
index d95f0ebd73e..dd0e4ddc7ed 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/src/RecoTauPlots.cxx
+++ b/PhysicsAnalysis/TauID/TauDQA/src/RecoTauPlots.cxx
@@ -2,7 +2,7 @@
   Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#include "TauHistUtils/RecoTauPlots.h"
+#include "RecoTauPlots.h"
 
 namespace Tau{
 
@@ -30,8 +30,6 @@ namespace Tau{
     m_pantau_CellBasedInput_BDTVar_Neutral_Ratio_EtOverEtAllConsts(nullptr),
     m_pantau_CellBasedInput_BDTVar_Neutral_Shots_NPhotonsInSeed(nullptr),
     m_pantau_CellBasedInput_BDTVar_Combined_DeltaR1stNeutralTo1stCharged(nullptr),
-    m_id_BDTJetScore(nullptr),
-    m_id_BDTEleScore(nullptr),
     m_sTauJetContainerName(sTauJetContainerName)
   {
   }
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/RecoTauPlots.h b/PhysicsAnalysis/TauID/TauDQA/src/RecoTauPlots.h
similarity index 88%
rename from PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/RecoTauPlots.h
rename to PhysicsAnalysis/TauID/TauDQA/src/RecoTauPlots.h
index 261e18e73bc..89f1cbbaace 100644
--- a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/RecoTauPlots.h
+++ b/PhysicsAnalysis/TauID/TauDQA/src/RecoTauPlots.h
@@ -2,14 +2,13 @@
   Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
-#ifndef TAUHISTUTILS_RECOTAUPLOTS_H
-#define TAUHISTUTILS_RECOTAUPLOTS_H
+#ifndef TAUDQA_RECOTAUPLOTS_H
+#define TAUDQA_RECOTAUPLOTS_H
 
 #include "TrkValHistUtils/PlotBase.h"
-#include "TauHistUtils/ParamPlots.h"
-#include "xAODTau/TauDefs.h" 
+#include "ParamPlots.h"
 #include "xAODTau/TauJet.h"
-#include "xAODPFlow/versions/PFO_v1.h"
+#include "xAODPFlow/PFO.h"
 
 namespace Tau{
 
@@ -47,10 +46,6 @@ class RecoTauPlots: public PlotBase {
     TH1* m_pantau_CellBasedInput_BDTVar_Neutral_Shots_NPhotonsInSeed;
     TH1* m_pantau_CellBasedInput_BDTVar_Combined_DeltaR1stNeutralTo1stCharged;
 
-    // BDT output
-
-    TH1* m_id_BDTJetScore;
-    TH1* m_id_BDTEleScore;
 
   private:
     void initializePlots();
diff --git a/PhysicsAnalysis/TauID/TauDQA/src/TauValidationPlots.h b/PhysicsAnalysis/TauID/TauDQA/src/TauValidationPlots.h
index 98c67ed0b60..dc9227ed1aa 100644
--- a/PhysicsAnalysis/TauID/TauDQA/src/TauValidationPlots.h
+++ b/PhysicsAnalysis/TauID/TauDQA/src/TauValidationPlots.h
@@ -6,16 +6,15 @@
 #define TAUDQA_TAUVALIDATIONPLOTS_H
 
 // PlotBase objects
-#include "TauHistUtils/ParamPlots.h"
-#include "TauHistUtils/GeneralTauPlots.h"
-#include "TauHistUtils/Had1ProngPlots.h"
-#include "TauHistUtils/Had3ProngPlots.h"
-#include "TauHistUtils/EVetoPlots.h"
-#include "TauHistUtils/RecoTauPlots.h"
-#include "TauHistUtils/NewCorePlots.h"
-#include "TauHistUtils/BDTinputPlots.h"
-#include "TauHistUtils/Migration.h"
-#include "TauHistUtils/EfficiencyPtPlots.h"
+#include "ParamPlots.h"
+#include "GeneralTauPlots.h"
+#include "Had1ProngPlots.h"
+#include "Had3ProngPlots.h"
+#include "EVetoPlots.h"
+#include "RecoTauPlots.h"
+#include "NewCorePlots.h"
+#include "Migration.h"
+#include "EfficiencyPtPlots.h"
 
 #include "xAODJet/JetContainer.h"
 #include "xAODEgamma/ElectronContainer.h" 
@@ -83,15 +82,6 @@ class TauValidationPlots:public PlotBase {
       Tau::NewCorePlots m_oNewCoreMatchedPlots;
       Tau::NewCorePlots m_oNewCoreFakePlots;
 
-      // All tau BDT scrore and input variables
-  //    Tau::BDTinputPlots m_oBDTinputPlotsRec;
-
-   //   Tau::BDTinputPlots m_oBDTinputPlotsMatched;
-
-    //  Tau::BDTinputPlots m_oBDTinputPlotsFakes;
-
-     // Tau::BDTinputPlots m_oBDTinputPlotsElec;
-
       //Migration Matrix plots
       Tau::Migration m_oMigrationPlots;		
 
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/CMakeLists.txt b/PhysicsAnalysis/TauID/TauHistUtils/CMakeLists.txt
deleted file mode 100644
index 4b62d008e8d..00000000000
--- a/PhysicsAnalysis/TauID/TauHistUtils/CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
-
-# Declare the package name:
-atlas_subdir( TauHistUtils )
-
-# Component(s) in the package:
-atlas_add_library( TauHistUtils
-                   src/*.cxx
-		           PUBLIC_HEADERS TauHistUtils
-                   LINK_LIBRARIES xAODBase xAODPFlow xAODTau TrkValHistUtils)
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/BDTinputPlots.h b/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/BDTinputPlots.h
deleted file mode 100644
index b523ee91723..00000000000
--- a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/BDTinputPlots.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-*/
-
-#ifndef TAUHISTUTILS_BDTINPUTPLOTS_H
-#define TAUHISTUTILS_BDTINPUTPLOTS_H
-
-#include "TrkValHistUtils/PlotBase.h"
-#include "TauHistUtils/ParamPlots.h"
-#include "xAODTau/TauDefs.h" 
-#include "xAODTau/TauJet.h"
-#include "xAODPFlow/versions/PFO_v1.h"
-
-namespace Tau{
-
-class BDTinputPlots: public PlotBase {
-  public:
-    BDTinputPlots(PlotBase *pParent, std::string sDir, std::string sTauJetContainerName);
-    virtual ~BDTinputPlots();
-    void fill(const xAOD::TauJet& tau);
-    // BDT output
-
-    TH1* m_id_BDTJetScore;
-    TH1* m_id_BDTEleScore;
-    TH1* m_pt_eleBDTloose;
-    TH1* m_pt_eleBDTmed;
-    TH1* m_pt_eleBDTtight;
-    TH1* m_pt_jetBDTloose;
-    TH1* m_pt_jetBDTmed;
-    TH1* m_pt_jetBDTtight;
-
-  private:
-    void initializePlots();
-    std::string m_sTauJetContainerName;
-};
-
-}
-
-#endif
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/EfficiencyPtPlots.h b/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/EfficiencyPtPlots.h
deleted file mode 100644
index ade7ba15a6a..00000000000
--- a/PhysicsAnalysis/TauID/TauHistUtils/TauHistUtils/EfficiencyPtPlots.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-*/
-
-#ifndef TAUHISTUTILS_EFFICIENCYPTPLOTS_H
-#define TAUHISTUTILS_EFFICIENCYPTPLOTS_H
-
-#include "TrkValHistUtils/PlotBase.h"
-#include "TauHistUtils/ParamPlots.h"
-#include "xAODTau/TauJet.h"
-#include "xAODTau/TauDefs.h"
-
-namespace Tau{
-
-class EfficiencyPtPlots: public PlotBase {
-  public:
-    EfficiencyPtPlots(PlotBase *pParent, std::string sDir, std::string sTauJetContainerName);
-    virtual ~EfficiencyPtPlots();
-
-    void fill(const xAOD::TauJet& tau);
-    TProfile* m_eff_pt_jetBDTloose;
-    TProfile* m_eff_pt_jetBDTmed;
-    TProfile* m_eff_pt_jetBDTtight;
-    TProfile* m_eff_pt_jetBDTlooseHighPt;
-    TProfile* m_eff_pt_jetBDTmedHighPt;
-    TProfile* m_eff_pt_jetBDTtightHighPt;
-
-    TProfile* m_eff_jetBDTloose;
-    TProfile* m_eff_jetBDTmed;
-    TProfile* m_eff_jetBDTtight;
-
-  private:
-    void initializePlots();
-    std::string m_sTauJetContainerName;
-};
-
-}
-
-#endif
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/src/BDTinputPlots.cxx b/PhysicsAnalysis/TauID/TauHistUtils/src/BDTinputPlots.cxx
deleted file mode 100644
index 56e6f874edd..00000000000
--- a/PhysicsAnalysis/TauID/TauHistUtils/src/BDTinputPlots.cxx
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-*/
-
-#include "TauHistUtils/BDTinputPlots.h"
-
-namespace Tau{
-
-BDTinputPlots::BDTinputPlots(PlotBase* pParent, std::string sDir, std::string sTauJetContainerName):
-   PlotBase(pParent, sDir),
-   m_id_BDTJetScore(nullptr),
-   m_id_BDTEleScore(nullptr),
-   m_pt_eleBDTloose(nullptr),
-   m_pt_eleBDTmed(nullptr),
-   m_pt_eleBDTtight(nullptr),
-   m_pt_jetBDTloose(nullptr),
-   m_pt_jetBDTmed(nullptr),
-   m_pt_jetBDTtight(nullptr),
-   m_sTauJetContainerName(sTauJetContainerName)
-{
-}
-
-
-
-BDTinputPlots::~BDTinputPlots()
-{
-}
-
-
-void BDTinputPlots::initializePlots(){
-
-	/*+++++++++++++++++++++++++++++++++++++++++++++++++
-	  +++++++++++++++++++BDT OUTPUT+++++++++++++++++++++
-	  +++++++++++++++++++++++++++++++++++++++++++++++++*/
-
-	m_id_BDTJetScore = Book1D("id_BDTJetScore",m_sTauJetContainerName + " BDTJetScore ; BDTJetScore; # Tau",10,0.,1.05);
-	m_id_BDTEleScore = Book1D("id_BDTEleScore",m_sTauJetContainerName + " BDTEleScore ; BDTEleScore; # Tau",10,0.,1.05);
-	m_pt_eleBDTloose = Book1D("Pt_eleBDTloose",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,300.);
-	m_pt_eleBDTmed   = Book1D("Pt_eleBDTmed",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,300.);
-	m_pt_eleBDTtight = Book1D("Pt_eleBDTtight",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,300.);
-	m_pt_jetBDTloose = Book1D("Pt_jetBDTloose",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,300.);
-	m_pt_jetBDTmed   = Book1D("Pt_jetBDTmed",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,300.);
-	m_pt_jetBDTtight = Book1D("Pt_jetBDTtigth",m_sTauJetContainerName + " Tau pt; pt; # Taus",20,0.,300.);
-
-
-
-}
-
-void BDTinputPlots::fill(const xAOD::TauJet& thisTau) {
-
-	/*+++++++++++++++++++++++++++++++++++++++++++++++++
-	  +++++++++++++++++++BDT OUTPUT+++++++++++++++++++++
-	  +++++++++++++++++++++++++++++++++++++++++++++++++*/
-
-	if( thisTau.hasDiscriminant(xAOD::TauJetParameters::BDTJetScore) )m_id_BDTJetScore->Fill(thisTau.discriminant(xAOD::TauJetParameters::BDTJetScore));
-	if( thisTau.hasDiscriminant(xAOD::TauJetParameters::BDTEleScore) )m_id_BDTEleScore->Fill(thisTau.discriminant(xAOD::TauJetParameters::BDTEleScore));
-	if(thisTau.isTau(xAOD::TauJetParameters::JetBDTSigLoose))   m_pt_eleBDTloose->Fill( thisTau.pt()/1000,1);
-	if(thisTau.isTau(xAOD::TauJetParameters::JetBDTSigMedium))  m_pt_eleBDTmed  ->Fill( thisTau.pt()/1000,1);
-	if(thisTau.isTau(xAOD::TauJetParameters::JetBDTSigTight))   m_pt_eleBDTtight->Fill( thisTau.pt()/1000,1);
-	if(thisTau.isTau(xAOD::TauJetParameters::EleBDTLoose))      m_pt_jetBDTloose->Fill( thisTau.pt()/1000,1);
-	if(thisTau.isTau(xAOD::TauJetParameters::EleBDTMedium))     m_pt_jetBDTmed  ->Fill( thisTau.pt()/1000,1);
-	if(thisTau.isTau(xAOD::TauJetParameters::EleBDTTight))      m_pt_jetBDTtight->Fill( thisTau.pt()/1000,1);
-
-}
-
-}
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/src/EfficiencyPtPlots.cxx b/PhysicsAnalysis/TauID/TauHistUtils/src/EfficiencyPtPlots.cxx
deleted file mode 100644
index b48cb72af1f..00000000000
--- a/PhysicsAnalysis/TauID/TauHistUtils/src/EfficiencyPtPlots.cxx
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-*/
-
-#include "TauHistUtils/EfficiencyPtPlots.h"
-                       
-namespace Tau{
-
-EfficiencyPtPlots::EfficiencyPtPlots(PlotBase* pParent, std::string sDir, std::string sTauJetContainerName):
-   PlotBase(pParent, sDir),
-   m_eff_pt_jetBDTloose(nullptr),
-   m_eff_pt_jetBDTmed(nullptr),
-   m_eff_pt_jetBDTtight(nullptr),
-   m_eff_jetBDTloose(nullptr),
-   m_eff_jetBDTmed(nullptr),
-   m_eff_jetBDTtight(nullptr),
-   m_sTauJetContainerName(sTauJetContainerName)
-{	
-}
-
-EfficiencyPtPlots::~EfficiencyPtPlots()
-{
-}
-
-void EfficiencyPtPlots::initializePlots()
-{
-   m_eff_pt_jetBDTloose       = BookTProfile("Eff_Pt_jetBDTloose"," Matched Tau loose eff in pt; pt; eff", 20, 0., 150.0);
-   m_eff_pt_jetBDTmed         = BookTProfile("Eff_Pt_jetBDTmed","Matched Tau med eff in pt; pt; eff", 20, 0.0, 150.0);
-   m_eff_pt_jetBDTtight       = BookTProfile("Eff_Pt_jetBDTtight","Matched Tau tight eff in pt; pt; eff", 20, 0.0, 150.0);
-   m_eff_pt_jetBDTlooseHighPt = BookTProfile("Eff_Pt_jetBDTlooseHightPt"," Matched Tau loose eff in pt; pt; eff", 20, 0.0, 1500.0);
-   m_eff_pt_jetBDTmedHighPt   = BookTProfile("Eff_Pt_jetBDTmedHightPt","Matched Tau med eff in pt; pt; eff", 20, 0.0, 1500.0);
-   m_eff_pt_jetBDTtightHighPt = BookTProfile("Eff_Pt_jetBDTtightHightPt","Matched Tau tight eff in pt; pt; eff", 20, 0.0, 1500.0);
-   m_eff_jetBDTloose          = BookTProfile("Eff_jetBDTloose"," Matched Tau loose eff total; bin; eff",3,-1.5,1.5);
-   m_eff_jetBDTmed            = BookTProfile("Eff_jetBDTmed","Matched Tau med eff total; bin; eff",3,-1.5,1.5);
-   m_eff_jetBDTtight          = BookTProfile("Eff_jetBDTtight","Matched Tau tight eff total; bin; eff",3,-1.5,1.5);
-}
-
-void EfficiencyPtPlots::fill(const xAOD::TauJet& tau)
-{
-   if ( tau.isTau(xAOD::TauJetParameters::JetBDTSigLoose) ) {
-      m_eff_pt_jetBDTloose      ->Fill(tau.pt()/1000, 1.0, 1.0);
-      m_eff_pt_jetBDTlooseHighPt->Fill(tau.pt()/1000, 1.0, 1.0);
-      m_eff_jetBDTloose         ->Fill(0.0,           1.0, 1.0);
-   }
-   else {
-      m_eff_pt_jetBDTloose      ->Fill(tau.pt()/1000, 0.0, 1.0);
-      m_eff_pt_jetBDTlooseHighPt->Fill(tau.pt()/1000, 0.0, 1.0);
-      m_eff_jetBDTloose         ->Fill(0.0,           0.0, 1.0);
-   }
-   
-   if ( tau.isTau(xAOD::TauJetParameters::JetBDTSigMedium) ) {
-      m_eff_pt_jetBDTmed      ->Fill(tau.pt()/1000, 1.0, 1.0);
-      m_eff_pt_jetBDTmedHighPt->Fill(tau.pt()/1000, 1.0, 1.0);
-      m_eff_jetBDTmed         ->Fill(0.0,           1.0, 1.0);
-   }
-   else {
-      m_eff_pt_jetBDTmed      ->Fill(tau.pt()/1000, 0.0, 1.0);
-      m_eff_pt_jetBDTmedHighPt->Fill(tau.pt()/1000, 0.0, 1.0);
-      m_eff_jetBDTmed         ->Fill(0.0,           0.0, 1.0);
-   }
-
-   if ( tau.isTau(xAOD::TauJetParameters::JetBDTSigTight) ) {
-      m_eff_pt_jetBDTtight      ->Fill(tau.pt()/1000, 1.0, 1.0);
-      m_eff_pt_jetBDTtightHighPt->Fill(tau.pt()/1000, 1.0, 1.0);
-      m_eff_jetBDTtight         ->Fill(0.0,           1.0, 1.0);
-   }
-   else {
-      m_eff_pt_jetBDTtight      ->Fill(tau.pt()/1000, 0.0, 1.0);
-      m_eff_pt_jetBDTtightHighPt->Fill(tau.pt()/1000, 0.0, 1.0);
-      m_eff_jetBDTtight         ->Fill(0.0,           0.0, 1.0);
-   }
-
-}
-
-
-}
diff --git a/PhysicsAnalysis/TauID/TauHistUtils/src/GeneralTauPlots.cxx b/PhysicsAnalysis/TauID/TauHistUtils/src/GeneralTauPlots.cxx
deleted file mode 100644
index dcb60b3f3af..00000000000
--- a/PhysicsAnalysis/TauID/TauHistUtils/src/GeneralTauPlots.cxx
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
-  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
-*/
-
-
-#include "TauHistUtils/GeneralTauPlots.h"
-
-namespace Tau{
-
-GeneralTauPlots::GeneralTauPlots(PlotBase* pParent, std::string sDir, std::string sTauJetContainerName):
-   PlotBase(pParent, sDir),
-   m_oParamPlots(this, "", sTauJetContainerName),
-   m_tauCharge(nullptr),
-   m_tauNCoreTracks(nullptr),
-   m_tauNWideTracks(nullptr),
-   m_id_BDTJetScore(nullptr),
-   m_id_BDTJetScoreSigTrans(nullptr),
-   m_pt_jetBDTloose(nullptr),
-   m_pt_jetBDTmed(nullptr),
-   m_pt_jetBDTtight(nullptr),
-   m_pt_jetBDTlooseHighPt(nullptr),
-   m_pt_jetBDTmedHighPt(nullptr),
-   m_pt_jetBDTtightHighPt(nullptr),
-   m_RNNScore(nullptr),
-   m_RNNScoreSigTrans(nullptr),
-   m_ptRNNVeryLoose(nullptr),
-   m_ptRNNLoose(nullptr),
-   m_ptRNNMedium(nullptr),
-   m_ptRNNTight(nullptr),
-   m_ptRNNVeryLooseHighPt(nullptr),
-   m_ptRNNLooseHighPt(nullptr),
-   m_ptRNNMediumHighPt(nullptr),
-   m_ptRNNTightHighPt(nullptr),
-   m_sTauJetContainerName(sTauJetContainerName)
-{	
-}
-
-GeneralTauPlots::~GeneralTauPlots()
-{
-}
-
-void GeneralTauPlots::initializePlots(){
-   // m_oParamPlots.initialize();
-   m_tauCharge      = Book1D("Charge",m_sTauJetContainerName + " Tau charge; charge; # Taus",7,-3.,4.);
-   m_tauNCoreTracks = Book1D("NCoreTracks",m_sTauJetContainerName + " Tau n core tracks; nCore; # Taus",10,0.,10.);
-   m_tauNWideTracks = Book1D("NWideTracks",m_sTauJetContainerName + " Tau n wide tracks; nWide; # Taus",10,0.,10.);
-   m_id_BDTJetScore = Book1D(
-      "id_BDTJetScore", m_sTauJetContainerName
-      + " BDTJetScore ; BDTJetScore; # Tau", 10, -1.01, 1.01);
-   m_id_BDTJetScoreSigTrans = Book1D(
-      "id_BDTJetScoreSigTrans", m_sTauJetContainerName
-      + " BDTJetScoreSigTrans ; BDTJetScoreSigTrans; # Tau", 10, 0.0, 1.01);
-   
-   m_pt_jetBDTloose = Book1D("Pt_jetBDTloose",m_sTauJetContainerName + " Loose tau pt; pt; # Taus",20, 0.0, 150.0);
-   m_pt_jetBDTmed   = Book1D("Pt_jetBDTmed",m_sTauJetContainerName + " Medium tau pt; pt; # Taus",20, 0.0, 150.0);
-   m_pt_jetBDTtight = Book1D("Pt_jetBDTtigth",m_sTauJetContainerName + " Tight tau pt; pt; # Taus",20, 0.0, 150.0);
-   m_pt_jetBDTlooseHighPt = Book1D("Pt_jetBDTlooseHighPt",m_sTauJetContainerName + " Loose tau pt; pt; # Taus", 20, 0.0, 1500.0);
-   m_pt_jetBDTmedHighPt   = Book1D("Pt_jetBDTmedHighPt",m_sTauJetContainerName + " Medium tau pt; pt; # Taus", 20, 0.0, 1500.0);
-   m_pt_jetBDTtightHighPt = Book1D("Pt_jetBDTtigthHighPt",m_sTauJetContainerName + " Tight tau pt; pt; # Taus", 20, 0.0, 1500.0);
-
-   m_RNNScore = Book1D("RNNJetScore", m_sTauJetContainerName
-		       +" RNNJetScore;RNNJetScore;# Tau", 10, -1.01, 1.01);
-   m_RNNScoreSigTrans = Book1D("RNNJetScoreSigTrans", m_sTauJetContainerName
-			       +" RNNJetScoreSigTrans;RNNJetScoreSigTrans;"
-			       +"# Tau", 10, -1.01, 1.01);
-   m_ptRNNVeryLoose = Book1D("ptRNNSigVeryLoose",m_sTauJetContainerName
-			     +" RNNSigVeryLoose; pt; # Taus",
-			     20, 0.0, 150.0);
-   m_ptRNNVeryLooseHighPt = Book1D("ptRNNSigVeryLooseHighPt",
-				   m_sTauJetContainerName
-				   +" RNNSigVeryLooseHighPt"+"; pt; # Taus",
-				   20, 0.0, 1500.0);
-   m_ptRNNLoose = Book1D("ptRNNSigLoose",m_sTauJetContainerName
-			 +" RNNSigLoose; pt; # Taus", 20, 0.0, 150.0);
-   m_ptRNNLooseHighPt = Book1D("ptRNNSigLooseHighPt", m_sTauJetContainerName
-			       +" RNNSigLooseHighPt; pt"+"; # Taus",
-			       20, 0.0, 1500.0);
-   m_ptRNNMedium = Book1D("ptRNNSigMedium",m_sTauJetContainerName
-			  +" RNNSigMedium; pt; # Taus", 20, 0.0, 150.0);
-   m_ptRNNMediumHighPt = Book1D("ptRNNSigMediumHighPt", m_sTauJetContainerName
-				+" RNNSigMediumHighPt; pt"+"; # Taus",
-				20, 0.0, 1500.0);
-   m_ptRNNTight = Book1D("ptRNNSigTight",m_sTauJetContainerName
-			 +" RNNSigTight; pt; # Taus", 20, 0.0, 150.0);
-   m_ptRNNTightHighPt = Book1D("ptRNNSigTightHighPt", m_sTauJetContainerName
-			       +" RNNSigTightHighPt; pt"+"; # Taus",
-			       20, 0.0, 1500.0);
-
-}
-
-void GeneralTauPlots::fill(const xAOD::TauJet& tau) {
-  m_oParamPlots.fill(tau);
-  m_tauCharge->Fill(tau.charge(), 1.); 
-  m_tauNCoreTracks->Fill(tau.nTracks(), 1.);
-  //  m_tauNWideTracks->Fill(tau.nWideTracks(), 1.);
-  // BDT
-  m_tauNWideTracks->Fill(tau.nTracks(xAOD::TauJetParameters::classifiedIsolation), 1.); // 
-  if( tau.hasDiscriminant(xAOD::TauJetParameters::BDTJetScore) ) {
-     m_id_BDTJetScore->Fill(
-	tau.discriminant(xAOD::TauJetParameters::BDTJetScore)
-	);
-  }
-  if( tau.hasDiscriminant(xAOD::TauJetParameters::BDTJetScoreSigTrans) ) {
-     m_id_BDTJetScoreSigTrans->Fill(
-	tau.discriminant(xAOD::TauJetParameters::BDTJetScoreSigTrans)
-	);
-  }
-  if ( tau.isTau(xAOD::TauJetParameters::JetBDTSigLoose) ) {
-     m_pt_jetBDTloose       -> Fill(tau.pt()/1000, 1.0);
-     m_pt_jetBDTlooseHighPt -> Fill(tau.pt()/1000, 1.0);
-  }
-  if ( tau.isTau(xAOD::TauJetParameters::JetBDTSigMedium) ) {
-     m_pt_jetBDTmed       -> Fill(tau.pt()/1000, 1.0);
-     m_pt_jetBDTmedHighPt -> Fill(tau.pt()/1000, 1.0);
-  }
-  if ( tau.isTau(xAOD::TauJetParameters::JetBDTSigTight) ) {
-     m_pt_jetBDTtight       -> Fill(tau.pt()/1000, 1.0);
-     m_pt_jetBDTtightHighPt -> Fill(tau.pt()/1000, 1.0);
-  }
-
-  // RNN
-  SG::AuxElement::ConstAccessor<float> acc_RNNJetScore("RNNJetScore");
-  if ( acc_RNNJetScore.isAvailable(tau) &&
-       tau.hasDiscriminant(xAOD::TauJetParameters::RNNJetScore) ) {
-     float rnnScore = tau.discriminant(xAOD::TauJetParameters::RNNJetScore);
-     if ( rnnScore > -2.0 ) m_RNNScore->Fill(rnnScore);
-  }
-  SG::AuxElement::ConstAccessor<float> acc_RNNJetScoreSigTrans("RNNJetScoreSigTrans");
-  if ( acc_RNNJetScoreSigTrans.isAvailable(tau) &&
-       tau.hasDiscriminant(xAOD::TauJetParameters::RNNJetScoreSigTrans) ) {
-     float rnnScore = tau.discriminant(xAOD::TauJetParameters::RNNJetScoreSigTrans);
-     if ( rnnScore > -2.0 ) m_RNNScoreSigTrans->Fill(rnnScore);
-  }
-  if ( tau.isTau(xAOD::TauJetParameters::JetRNNSigVeryLoose) ) {
-     m_ptRNNVeryLoose      ->Fill(tau.pt()/1000, 1.0);
-     m_ptRNNVeryLooseHighPt->Fill(tau.pt()/1000, 1.0);
-  }
-  if ( tau.isTau(xAOD::TauJetParameters::JetRNNSigLoose) ) {
-     m_ptRNNLoose      ->Fill(tau.pt()/1000, 1.0);
-     m_ptRNNLooseHighPt->Fill(tau.pt()/1000, 1.0);
-  }
-  if ( tau.isTau(xAOD::TauJetParameters::JetRNNSigMedium) ) {
-     m_ptRNNMedium      ->Fill(tau.pt()/1000, 1.0);
-     m_ptRNNMediumHighPt->Fill(tau.pt()/1000, 1.0);
-  }
-  if ( tau.isTau(xAOD::TauJetParameters::JetRNNSigTight) ) {
-     m_ptRNNTight      ->Fill(tau.pt()/1000, 1.0);
-     m_ptRNNTightHighPt->Fill(tau.pt()/1000, 1.0);
-  }
-
-}
-
-
-}
-- 
GitLab