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
9#include "xAODMuon/Muon.h"
11#include <string>
12
13namespace Muon{
14
16{
17 public:
18 MuonParamElossPlots(PlotBase *pParent, const std::string& sDir);
19 void fill(const xAOD::TruthParticle& truthMu, const xAOD::Muon& mu, float weight=1.0);
20
21 TH1* msInnerMatchChi2{nullptr};
22 TH1* msOuterMatchChi2{nullptr};
23
24 TH1* ELoss{nullptr};
25 TH1* ELossDiffTruth{nullptr};
29 TH1* ELossSigma{nullptr};
30 TH1* paramELoss{nullptr};
31 TH1* paramELossDiff{nullptr};
32 TH1* paramELossDiffTruth{nullptr};
36 TH1* measELoss{nullptr};
37 TH1* measELossDiff{nullptr};
38 TH1* measELossDiffTruth{nullptr};
42 TH1* ELossType{nullptr};
43 TH1* ELossTypeParametrPt{nullptr};
44 TH1* ELossTypeNotIsoPt{nullptr};
45 TH1* ELossTypeTailPt{nullptr};
46 TH1* ELossTypeAllPt{nullptr};
47
48 private:
49 void initializePlots();
50 void FillPlot(TH1* hist, const xAOD::Muon& mu,const xAOD::Muon::ParamDef paramDef,float scale=1, float weight=1.0);
51 void FillPlot(TH1* hist, TH1* hist_DiffTruth, TH1* hist_DiffTruthEta0_1p35, TH1* hist_DiffTruthEta1p35_1p55, TH1* hist_DiffTruthEta1p55_endd, const xAOD::TruthParticle& truthMu, const xAOD::Muon& mu, const xAOD::Muon::ParamDef paramDef,float scale=1, float weight=1.0);
52 void FillPlotELossType(TH1* hist, const xAOD::Muon& mu,float scale=1, float weight=1.0);
53 void FillPlotELossType(TH1* hist, const xAOD::Muon& mu, xAOD::Muon::EnergyLossType type, float scale=1,float weight=1.0);
54};
55
56}
57
58#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, const std::string &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: