ATLAS Offline Software
SlowMuonParamPlots.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_SLOWMUONPARAMPLOTS_H
6 #define MUONHISTUTILS_SLOWMUONPARAMPLOTS_H
7 
9 
10 #include "xAODMuon/SlowMuon.h"
11 
12 namespace Muon{
13 
14 class BetaPlots: public PlotBase {
15  public:
16  BetaPlots(PlotBase *pParent, const std::string& sDir, std::string sDetType);
17 
18  void fill(const xAOD::SlowMuon& smu, float weight=1.0);
19 
20  TH1* nHits;
21  TH1* avg;
22  TH1* chi2;
23  TH1* ndf;
24  TH1* chi2ndf;
25  TH1* chi2prob;
26  TH1* rms;
27 
28  private:
29  std::string m_sDetType;
30  void initializePlots();
31 
32 };
33 
35  public:
36  SlowMuonParamPlots(PlotBase *pParent, const std::string& sDir);
37 
38  void fill(const xAOD::SlowMuon& smu, float weight=1.0);
39 
40  TH1* beta{nullptr};
44 
45  private:
46  void initializePlots();
47 
48 };
49 
50 }
51 
52 #endif
xAOD::SlowMuon_v1
Class describing a SlowMuon.
Definition: SlowMuon_v1.h:26
PlotBase
Definition: PlotBase.h:34
Muon::SlowMuonParamPlots::mdtBeta
BetaPlots mdtBeta
Definition: SlowMuonParamPlots.h:41
Muon::BetaPlots::BetaPlots
BetaPlots(PlotBase *pParent, const std::string &sDir, std::string sDetType)
Definition: SlowMuonParamPlots.cxx:12
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
Muon::BetaPlots
Definition: SlowMuonParamPlots.h:14
Muon::BetaPlots::avg
TH1 * avg
Definition: SlowMuonParamPlots.h:21
Muon::BetaPlots::fill
void fill(const xAOD::SlowMuon &smu, float weight=1.0)
Definition: SlowMuonParamPlots.cxx:34
Muon::SlowMuonParamPlots::initializePlots
void initializePlots()
Definition: SlowMuonParamPlots.cxx:85
Muon::BetaPlots::ndf
TH1 * ndf
Definition: SlowMuonParamPlots.h:23
Muon::BetaPlots::m_sDetType
std::string m_sDetType
Definition: SlowMuonParamPlots.h:29
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
Muon::SlowMuonParamPlots::caloBeta
BetaPlots caloBeta
Definition: SlowMuonParamPlots.h:43
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
Muon::SlowMuonParamPlots::fill
void fill(const xAOD::SlowMuon &smu, float weight=1.0)
Definition: SlowMuonParamPlots.cxx:90
Muon::BetaPlots::initializePlots
void initializePlots()
Definition: SlowMuonParamPlots.cxx:23
Muon::BetaPlots::chi2ndf
TH1 * chi2ndf
Definition: SlowMuonParamPlots.h:24
Muon::SlowMuonParamPlots
Definition: SlowMuonParamPlots.h:34
Muon::BetaPlots::rms
TH1 * rms
Definition: SlowMuonParamPlots.h:26
Muon::SlowMuonParamPlots::SlowMuonParamPlots
SlowMuonParamPlots(PlotBase *pParent, const std::string &sDir)
Definition: SlowMuonParamPlots.cxx:77
SlowMuon.h
Muon::BetaPlots::chi2prob
TH1 * chi2prob
Definition: SlowMuonParamPlots.h:25
Muon::BetaPlots::chi2
TH1 * chi2
Definition: SlowMuonParamPlots.h:22
Muon::SlowMuonParamPlots::beta
TH1 * beta
Definition: SlowMuonParamPlots.h:40
Muon::SlowMuonParamPlots::rpcBeta
BetaPlots rpcBeta
Definition: SlowMuonParamPlots.h:42
PlotBase.h
Muon::BetaPlots::nHits
TH1 * nHits
Definition: SlowMuonParamPlots.h:20