ATLAS Offline Software
Loading...
Searching...
No Matches
MuonParamElossPlots.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_MUONPARAMELOSSPLOTS_H
6#define MUONHISTUTILS_MUONPARAMELOSSPLOTS_H
7
8#include <string>
9
11#include "xAODMuon/Muon.h"
13
14namespace Muon {
15
17 public:
18 MuonParamElossPlots(PlotBase* pParent, const std::string& sDir);
19 void fill(const xAOD::TruthParticle& truthMu, const xAOD::Muon& mu,
20 float weight = 1.0);
21
22 TH1* msInnerMatchChi2{nullptr};
23 TH1* msOuterMatchChi2{nullptr};
24
25 TH1* ELoss{nullptr};
26 TH1* ELossDiffTruth{nullptr};
30 TH1* ELossSigma{nullptr};
31 TH1* paramELoss{nullptr};
32 TH1* paramELossDiff{nullptr};
33 TH1* paramELossDiffTruth{nullptr};
37 TH1* measELoss{nullptr};
38 TH1* measELossDiff{nullptr};
39 TH1* measELossDiffTruth{nullptr};
43 TH1* ELossType{nullptr};
44 TH1* ELossTypeParametrPt{nullptr};
45 TH1* ELossTypeNotIsoPt{nullptr};
46 TH1* ELossTypeTailPt{nullptr};
47 TH1* ELossTypeAllPt{nullptr};
48
49 private:
50 void initializePlots();
51 void FillPlot(TH1* hist, const xAOD::Muon& mu,
52 const xAOD::Muon::ParamDef paramDef, float scale = 1,
53 float weight = 1.0);
54 void FillPlot(TH1* hist, TH1* hist_DiffTruth, TH1* hist_DiffTruthEta0_1p35,
55 TH1* hist_DiffTruthEta1p35_1p55,
56 TH1* hist_DiffTruthEta1p55_endd,
57 const xAOD::TruthParticle& truthMu, const xAOD::Muon& mu,
58 const xAOD::Muon::ParamDef paramDef, float scale = 1,
59 float weight = 1.0);
60 void FillPlotELossType(TH1* hist, const xAOD::Muon& mu, float scale = 1,
61 float weight = 1.0);
62 void FillPlotELossType(TH1* hist, const xAOD::Muon& mu,
63 xAOD::Muon::EnergyLossType type, float scale = 1,
64 float weight = 1.0);
65};
66
67} // namespace Muon
68
69#endif
void FillPlotELossType(TH1 *hist, const xAOD::Muon &mu, float scale=1, float weight=1.0)
MuonParamElossPlots(PlotBase *pParent, const std::string &sDir)
void FillPlot(TH1 *hist, const xAOD::Muon &mu, const xAOD::Muon::ParamDef paramDef, float scale=1, float weight=1.0)
void fill(const xAOD::TruthParticle &truthMu, const xAOD::Muon &mu, float weight=1.0)
PlotBase(PlotBase *parent, std::string_view sDir)
Definition PlotBase.cxx:29
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
TruthParticle_v1 TruthParticle
Typedef to implementation.
Muon_v1 Muon
Reference the current persistent version: