ATLAS Offline Software
Loading...
Searching...
No Matches
MuonParamPlots.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_MUONPARAMPLOTS_H
6#define MUONHISTUTILS_MUONPARAMPLOTS_H
7
8#include <string>
9
11#include "xAODMuon/Muon.h"
12
13namespace Muon {
14
15class MuonParamPlots : public PlotBase {
16 public:
17 MuonParamPlots(PlotBase* pParent, const std::string& sDir);
18 void fill(const xAOD::Muon& mu, float weight = 1.0);
19
20 TH1* msInnerMatchChi2{nullptr};
21 TH1* msOuterMatchChi2{nullptr};
22
23 TH1* ELoss{nullptr};
24 TH1* ELossSigma{nullptr};
25 TH1* paramELoss{nullptr};
26 TH1* measELoss{nullptr};
27
28 private:
29 void initializePlots();
30 void FillPlot(TH1* hist, const xAOD::Muon& mu,
31 const xAOD::Muon::ParamDef paramDef, float scale = 1,
32 float weight = 1.0);
33};
34
35} // namespace Muon
36
37#endif
MuonParamPlots(PlotBase *pParent, const std::string &sDir)
void fill(const xAOD::Muon &mu, float weight=1.0)
void FillPlot(TH1 *hist, const xAOD::Muon &mu, const xAOD::Muon::ParamDef paramDef, float scale=1, 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.
Muon_v1 Muon
Reference the current persistent version: