ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
LeptonFELinkerPlots.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LEPTONFELINKERPLOTS_H
6 #define LEPTONFELINKERPLOTS_H
7 
9 #include "xAODPFlow/PFO.h"
10 #include "xAODPFlow/FlowElement.h"
11 #include "xAODEgamma/Electron.h"
12 #include "xAODEgamma/Photon.h"
13 #include "xAODMuon/Muon.h"
14 #include "xAODTau/TauJet.h"
16 
17 class TH1;
18 
19 namespace PFO {
20 
21  class LeptonFELinkerPlots : public PlotBase {
22 
23  public:
24 
25  LeptonFELinkerPlots(PlotBase *pParent, const std::string & sDir, const std::string & LeptonContainerName, const bool& m_doNeutralFE, const int& m_LeptonID);
26 
27  void fill(const xAOD::Electron& el, const xAOD::EventInfo& eventInfo);
28  void fill(const xAOD::Muon& muon, const xAOD::EventInfo& eventInfo);
29  void fill(const xAOD::TauJet& tau, const xAOD::EventInfo& eventInfo);
30  void fill(const xAOD::Photon& phot, const xAOD::EventInfo& eventInfo);
31 
32 
33  private:
34 
37 
40 
43 
46 
47  void initializePlots();
48  std::string m_LeptonContainerName;
49  bool m_doNeutralFE{};
50  int m_LeptonID{};
51  };
52 
53 }
54 #endif
PlotBase
Definition: PlotBase.h:34
PFO::LeptonFELinkerPlots::initializePlots
void initializePlots()
Definition: LeptonFELinkerPlots.cxx:33
Muon.h
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
PFO::LeptonFELinkerPlots::m_LeptonID
int m_LeptonID
Definition: LeptonFELinkerPlots.h:50
PFO::LeptonFELinkerPlots::m_photon_NMatchedCFE
TH1 * m_photon_NMatchedCFE
Definition: LeptonFELinkerPlots.h:44
PFO::LeptonFELinkerPlots::m_photon_NMatchedNFE
TH1 * m_photon_NMatchedNFE
Definition: LeptonFELinkerPlots.h:45
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
PFO::LeptonFELinkerPlots::m_muon_NMatchedCFE
TH1 * m_muon_NMatchedCFE
Definition: LeptonFELinkerPlots.h:38
PFO.h
PFO::LeptonFELinkerPlots::m_muon_NMatchedNFE
TH1 * m_muon_NMatchedNFE
Definition: LeptonFELinkerPlots.h:39
FlowElement.h
PFO::LeptonFELinkerPlots::m_electron_NMatchedNFE
TH1 * m_electron_NMatchedNFE
Definition: LeptonFELinkerPlots.h:36
Photon.h
xAOD::TauJet_v3
Class describing a tau jet.
Definition: TauJet_v3.h:41
plotIsoValidation.el
el
Definition: plotIsoValidation.py:197
PFO
Definition: ClusterMomentPlots.h:15
PFO::LeptonFELinkerPlots::m_LeptonContainerName
std::string m_LeptonContainerName
Definition: LeptonFELinkerPlots.h:48
PFO::LeptonFELinkerPlots::LeptonFELinkerPlots
LeptonFELinkerPlots(PlotBase *pParent, const std::string &sDir, const std::string &LeptonContainerName, const bool &m_doNeutralFE, const int &m_LeptonID)
Definition: LeptonFELinkerPlots.cxx:14
xAOD::Electron_v1
Definition: Electron_v1.h:34
PFO::LeptonFELinkerPlots::fill
void fill(const xAOD::Electron &el, const xAOD::EventInfo &eventInfo)
Definition: LeptonFELinkerPlots.cxx:70
EventInfo.h
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
PFO::LeptonFELinkerPlots::m_tau_NMatchedNFE
TH1 * m_tau_NMatchedNFE
Definition: LeptonFELinkerPlots.h:42
xAOD::Photon_v1
Definition: Photon_v1.h:37
TauJet.h
PFO::LeptonFELinkerPlots
Definition: LeptonFELinkerPlots.h:21
Electron.h
PFO::LeptonFELinkerPlots::m_electron_NMatchedCFE
TH1 * m_electron_NMatchedCFE
Definition: LeptonFELinkerPlots.h:35
PlotBase.h
PFO::LeptonFELinkerPlots::m_tau_NMatchedCFE
TH1 * m_tau_NMatchedCFE
Definition: LeptonFELinkerPlots.h:41
PFO::LeptonFELinkerPlots::m_doNeutralFE
bool m_doNeutralFE
Definition: LeptonFELinkerPlots.h:49