ATLAS Offline Software
Loading...
Searching...
No Matches
MuonIsolationPlots.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 MUONHISTUTILS_MUONISOLATIONPLOTS_H
6#define MUONHISTUTILS_MUONISOLATIONPLOTS_H
7
9#include "xAODMuon/Muon.h"
10
11namespace Muon{
12
13#ifndef XAOD_ANALYSIS
14class IsoCorrPlots:public PlotBase {
15 public:
16 IsoCorrPlots(PlotBase* pParent, const std::string& sDir, std::string sCorrType);
17
18 void fill(const xAOD::Muon& muon,
19 const xAOD::Iso::IsolationType &isoType_cone20,
20 const xAOD::Iso::IsolationType &isoType_cone30,
21 const xAOD::Iso::IsolationType &isoType_cone40,
22 const xAOD::Iso::IsolationFlavour& flavour,
23 const xAOD::Iso::IsolationCaloCorrection &isoCorrType,
25 float weight=1.0);
26 void fill(float fIso20, float fIso30, float fIso40, float fPt, float fIsoCorr, float weight=1.0);
27 std::string m_sCorrType;
28
29 TH1* isocorr{nullptr};
30 TH1* isocorr_relPt{nullptr};
31 TH1* isocorr_relIsocone20{nullptr};
32 TH1* isocorr_relIsocone30{nullptr};
33 TH1* isocorr_relIsocone40{nullptr};
34
35 private:
36 void initializePlots();
37
38};
39#endif // not XAOD_ANALYSIS
40
41class IsoPlots:public PlotBase {
42 public:
43 IsoPlots(PlotBase* pParent, const std::string& sDir, std::string sConeSize);
44 void fill(const xAOD::Muon& muon, const xAOD::Iso::IsolationType &isoType, float weight=1.0);
45 void fill(float fIso, float fPt, float weight=1.0);
46 std::string m_sConeSize;
47
48 TH1* cone;
49 TH1* conerel;
50
51 private:
52 void initializePlots();
53
54};
55
56
84
85}
86
87#endif
void fill(const xAOD::Muon &muon, const xAOD::Iso::IsolationType &isoType_cone20, const xAOD::Iso::IsolationType &isoType_cone30, const xAOD::Iso::IsolationType &isoType_cone40, const xAOD::Iso::IsolationFlavour &flavour, const xAOD::Iso::IsolationCaloCorrection &isoCorrType, const xAOD::Iso::IsolationCorrectionParameter &isoCorrParam, float weight=1.0)
IsoCorrPlots(PlotBase *pParent, const std::string &sDir, std::string sCorrType)
IsoPlots(PlotBase *pParent, const std::string &sDir, std::string sConeSize)
void fill(const xAOD::Muon &muon, const xAOD::Iso::IsolationType &isoType, float weight=1.0)
std::string m_sConeSize
void fill(const xAOD::Muon &muon, float weight=1.0)
MuonIsolationPlots(PlotBase *pParent, const std::string &sDir)
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
IsolationType
Overall enumeration for isolation types in xAOD files.
IsolationFlavour
Enumeration for different ways of calculating isolation in xAOD files.
IsolationCaloCorrection
Enumeration for different ways of correcting isolation in xAOD files.
Muon_v1 Muon
Reference the current persistent version: