ATLAS Offline Software
TauValidationPlots.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "TauValidationPlots.h"
6 
7 TauValidationPlots::TauValidationPlots(PlotBase* pParent, const std::string& sDir, const std::string& sTauJetContainerName):
8  PlotBase(pParent, sDir),
9  // Plots with the "primitive" tau selection
10  m_oGeneralTauAllProngsPlots(this, "NoCuts/Matched/", sTauJetContainerName),
11  m_oHad1ProngPlots(this, "NoCuts/Matched/Tau1P/", sTauJetContainerName), // tau1P plots : variables for tau ID
12  m_oHad3ProngPlots(this, "NoCuts/Matched/Tau3P/", sTauJetContainerName), // tau3P plots : variables for tau ID
13  m_oElMatchedParamPlots(this, "Electron/", sTauJetContainerName), // electron veto variables for electrons matching tau candidates
14  m_oElMatchedEVetoPlots(this, "Electron/", sTauJetContainerName), // electron veto variables for electrons matching tau candidates
15  m_oFakeGeneralTauAllProngsPlots(this,"NoCuts/Fake/", sTauJetContainerName), // general tau all fake prongs plots
16  m_oFakeHad1ProngPlots(this,"NoCuts/Fake/Jet1P/", sTauJetContainerName), // tau1P fake plots : variables for tau ID
17  m_oFakeHad3ProngPlots(this,"NoCuts/Fake/Jet3P/", sTauJetContainerName), // tau3P fake plots : variables for tau ID
18  m_oRecoGeneralTauAllProngsPlots(this,"NoCuts/RecTau/",sTauJetContainerName),// "recTau_General"), // general tau all fake prongs plots
19  m_oRecoHad1ProngPlots(this,"NoCuts/RecTau/1P/", sTauJetContainerName),//"recTau_1P"), // tau1P fake plots : variables for tau ID
20  m_oRecoHad3ProngPlots(this,"NoCuts/RecTau/3P/", sTauJetContainerName),// "recTau_3P"), // tau3P fake plots : variables for tau ID
21  m_oRecoTauAllProngsPlots(this,"NoCuts/RecTau/PFOs/", sTauJetContainerName), // all tau reco, no match to truth
22  m_oMatchedTauAllProngsPlots(this,"NoCuts/Matched/PFOs/", sTauJetContainerName),
23  m_oFakeTauAllProngsPlots(this,"NoCuts/Fake/PFOs/", sTauJetContainerName), // all tau reco, no match to truth
24  m_oMatchedTauEffPlots (this,"NoCuts/Matched/Eff/All/", sTauJetContainerName),
25  m_oMatchedTauEff1PPlots(this,"NoCuts/Matched/Eff/Tau1P/", sTauJetContainerName),
26  m_oMatchedTauEff3PPlots(this,"NoCuts/Matched/Eff/Tau3P/", sTauJetContainerName),
27  m_oRecTauEffPlots (this,"NoCuts/RecTau/Eff/All/", sTauJetContainerName),
28  m_oRecTauEff1PPlots(this,"NoCuts/RecTau/Eff/Tau1P/", sTauJetContainerName),
29  m_oRecTauEff3PPlots(this,"NoCuts/RecTau/Eff/Tau3P/", sTauJetContainerName),
30  m_oFakeTauEffPlots (this,"NoCuts/Fake/Eff/All/", sTauJetContainerName),
31  m_oFakeTauEff1PPlots(this,"NoCuts/Fake/Eff/Tau1P/", sTauJetContainerName),
32  m_oFakeTauEff3PPlots(this,"NoCuts/Fake/Eff/Tau3P/", sTauJetContainerName),
33  m_oNewCorePlots(this,"NoCuts/RecTau/All/", sTauJetContainerName), // all tau reco, newCore variables
34  m_oNewCoreMatchedPlots(this,"NoCuts/Matched/All/", sTauJetContainerName), // all tau reco, newCore variables
35  m_oNewCoreFakePlots(this,"NoCuts/Fake/All/", sTauJetContainerName), // all tau reco, newCore variables
36  m_oMigrationPlots(this,"NoCuts/Matched/Migration/", sTauJetContainerName), // Migration Matrix
37 
38  // Plots with the "nominal" tau selection
39  m_oFakeGeneralNom(this,"Nominal/Fake/", sTauJetContainerName),
40  m_oFakeHad1ProngNom(this,"Nominal/Fake/Jet1P/", sTauJetContainerName),
41  m_oFakeHad3ProngNom(this,"Nominal/Fake/Jet3P/", sTauJetContainerName),
42  m_oFakeTauEffPlotsNom(this, "Nominal/Fake/Eff/All/", sTauJetContainerName),
43  m_oFakeTauEff1PPlotsNom(this, "Nominal/Fake/Eff/Jet1P/", sTauJetContainerName),
44  m_oFakeTauEff3PPlotsNom(this, "Nominal/Fake/Eff/Jet3P/", sTauJetContainerName),
45  m_oFakeTauRecoTauPlotsNom(this, "Nominal/Fake/PFOs/", sTauJetContainerName),
46  m_oNewCoreFakePlotsNom(this, "Nominal/Fake/All/", sTauJetContainerName),
47 
48  m_oRecoGeneralNom(this,"Nominal/RecTau/", sTauJetContainerName),
49  m_oRecoHad1ProngNom(this,"Nominal/RecTau/1P/", sTauJetContainerName),
50  m_oRecoHad3ProngNom(this,"Nominal/RecTau/3P/", sTauJetContainerName),
51  m_oRecTauEffPlotsNom(this, "Nominal/RecTau/Eff/All/", sTauJetContainerName),
52  m_oRecTauEff1PPlotsNom(this, "Nominal/RecTau/Eff/1P/", sTauJetContainerName),
53  m_oRecTauEff3PPlotsNom(this, "Nominal/RecTau/Eff/3P/", sTauJetContainerName),
54  m_oRecTauRecoTauPlotsNom(this, "Nominal/RecTau/PFOs/", sTauJetContainerName),
55  m_oNewCoreRecTauPlotsNom(this, "Nominal/RecTau/All/", sTauJetContainerName),
56 
57  m_oMatchedGeneralNom(this,"Nominal/Matched/", sTauJetContainerName),
58  m_oMatchedHad1ProngNom(this,"Nominal/Matched/Tau1P/", sTauJetContainerName),
59  m_oMatchedHad3ProngNom(this,"Nominal/Matched/Tau3P/", sTauJetContainerName),
60  m_oMatchedTauEffPlotsNom(this, "Nominal/Matched/Eff/All/", sTauJetContainerName),
61  m_oMatchedTauEff1PPlotsNom(this, "Nominal/Matched/Eff/1P/", sTauJetContainerName),
62  m_oMatchedTauEff3PPlotsNom(this, "Nominal/Matched/Eff/3P/", sTauJetContainerName),
63  m_oMatchedTauRecoTauPlotsNom(this, "Nominal/Matched/PFOs/", sTauJetContainerName),
64  m_oMigrationPlotsNom(this, "Nominal/Matched/Migration/", sTauJetContainerName),
65  m_oNewCoreMatchedPlotsNom(this, "Nominal/Matched/All/", sTauJetContainerName)
66 {}
67 
68 // no fill method implement in order to let filling logic stay in the ManagedMonitoringTool
PlotBase
Definition: PlotBase.h:33
TauValidationPlots.h
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
TauValidationPlots::TauValidationPlots
TauValidationPlots(PlotBase *pParent, const std::string &sDir, const std::string &sTauJetContainerName)
Definition: TauValidationPlots.cxx:7