ATLAS Offline Software
SlowMuonValidationPlots.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONPHYSVALMONITORING_SLOWMUONVALIDATIONPLOTS_H
6 #define MUONPHYSVALMONITORING_SLOWMUONVALIDATIONPLOTS_H
7 
9 #include "xAODMuon/SlowMuon.h"
11 
13 public:
14  SlowMuonValidationPlots(PlotBase* pParent, const std::string& sDir, bool isData);
15 
17  void fill(const xAOD::SlowMuon& smu, const xAOD::Muon& mu, float weight = 1.0);
18  void fill(const xAOD::TruthParticle* truthMu, const xAOD::SlowMuon* smu, const xAOD::Muon* mu, float weight = 1.0);
19 
20  std::unique_ptr<Muon::SlowMuonParamPlots> m_oSlowMuonRecoPlots{};
21  std::unique_ptr<Muon::SlowMuonParamPlots> m_oSlowMuonMatchedPlots{};
22 
23 private:
24  void fillRecoMuonPlots(const xAOD::SlowMuon& smu, const xAOD::Muon& mu, float weight = 1.0);
25  void fillMatchedMuonPlots(const xAOD::SlowMuon& smu, const xAOD::Muon& mu, float weight = 1.0);
26 
27  bool m_isData;
28 };
29 
30 #endif
xAOD::SlowMuon_v1
Class describing a SlowMuon.
Definition: SlowMuon_v1.h:26
PlotBase
Definition: PlotBase.h:33
SlowMuonValidationPlots::m_oSlowMuonRecoPlots
std::unique_ptr< Muon::SlowMuonParamPlots > m_oSlowMuonRecoPlots
Definition: SlowMuonValidationPlots.h:20
SlowMuonValidationPlots::~SlowMuonValidationPlots
virtual ~SlowMuonValidationPlots()
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:200
SlowMuonValidationPlots::SlowMuonValidationPlots
SlowMuonValidationPlots(PlotBase *pParent, const std::string &sDir, bool isData)
Definition: SlowMuonValidationPlots.cxx:13
SlowMuonValidationPlots::fillRecoMuonPlots
void fillRecoMuonPlots(const xAOD::SlowMuon &smu, const xAOD::Muon &mu, float weight=1.0)
Definition: SlowMuonValidationPlots.cxx:28
SlowMuonValidationPlots::fill
void fill(const xAOD::SlowMuon &smu, const xAOD::Muon &mu, float weight=1.0)
Definition: SlowMuonValidationPlots.cxx:22
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:41
SlowMuonParamPlots.h
SlowMuon.h
SlowMuonValidationPlots
Definition: SlowMuonValidationPlots.h:12
SlowMuonValidationPlots::fillMatchedMuonPlots
void fillMatchedMuonPlots(const xAOD::SlowMuon &smu, const xAOD::Muon &mu, float weight=1.0)
python.grid.isData
def isData(dataset)
Definition: grid.py:491
SlowMuonValidationPlots::m_oSlowMuonMatchedPlots
std::unique_ptr< Muon::SlowMuonParamPlots > m_oSlowMuonMatchedPlots
Definition: SlowMuonValidationPlots.h:21
TruthParticle.h
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
SlowMuonValidationPlots::m_isData
bool m_isData
Definition: SlowMuonValidationPlots.h:27