ATLAS Offline Software
RecoPhysPlots.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 MUONTRKPHYSMONITORING_RECOPHYSPLOTS_H
6 #define MUONTRKPHYSMONITORING_RECOPHYSPLOTS_H
7 
9 #include "xAODMuon/Muon.h"
10 
11 
12 class RecoPhysPlots:public PlotBase {
13  public:
14  RecoPhysPlots(PlotBase *pParent, const std::string& sDir, std::string recObj);
15 
16  void fill(const std::vector<std::pair<const xAOD::Muon*, const xAOD::Muon*> >& mumucandidates);
17  void fill(const float eta_mu_plus, const float eta_mu_minus, const float invariant_mass);
18 
19  float EtaRegionFine(double eta);
20  float EtaRegionCoarse(double eta);
21  bool LabelLargeEtaRegions(TAxis * axis);
22  bool LabelCombinedEtaRegions(TAxis * axis);
23  bool LabelSectorAxis(TAxis * axis);
24 
25  TH1* m_Mass;
28 
29  // TH2* m_Efficiency;
30  // TH2* m_EffNumerator;
31  // TH2* m_EffDenominator;
32 
33  // TH1* m_Efficiency_eta;
34  // TH1* m_EffNumerator_eta;
35  // TH1* m_EffDenominator_eta;
36 
37  TH1* m_M_Mean;
38  TH1* m_M_Sigma;
39 
40  TH1* m_M_EA_EA;
41  TH1* m_M_EA_BA;
42  TH1* m_M_EA_BC;
43  TH1* m_M_EA_EC;
44 
45  TH1* m_M_BA_EA;
46  TH1* m_M_BA_BA;
47  TH1* m_M_BA_BC;
48  TH1* m_M_BA_EC;
49 
50  TH1* m_M_BC_EA;
51  TH1* m_M_BC_BA;
52  TH1* m_M_BC_BC;
53  TH1* m_M_BC_EC;
54 
55  TH1* m_M_EC_EA;
56  TH1* m_M_EC_BA;
57  TH1* m_M_EC_BC;
58  TH1* m_M_EC_EC;
59 
60  std::string type;
61 
62  void finalizeRecoPlots();
63  private:
64  void SetResultsBin(int iBin, TH1* pInputHist);
65  void initializePlots();
66 
67 };
68 
69 #endif
RecoPhysPlots::initializePlots
void initializePlots()
Definition: RecoPhysPlots.cxx:35
RecoPhysPlots::m_M_BA_EA
TH1 * m_M_BA_EA
Definition: RecoPhysPlots.h:45
RecoPhysPlots::m_M_EA_EC
TH1 * m_M_EA_EC
Definition: RecoPhysPlots.h:43
RecoPhysPlots::SetResultsBin
void SetResultsBin(int iBin, TH1 *pInputHist)
Definition: RecoPhysPlots.cxx:251
RecoPhysPlots::m_M_EA_BC
TH1 * m_M_EA_BC
Definition: RecoPhysPlots.h:42
RecoPhysPlots::m_M_BA_EC
TH1 * m_M_BA_EC
Definition: RecoPhysPlots.h:48
RecoPhysPlots::m_M_Sigma
TH1 * m_M_Sigma
Definition: RecoPhysPlots.h:38
PlotBase
Definition: PlotBase.h:34
Muon.h
RecoPhysPlots::m_occupancy
TH1 * m_occupancy
Definition: RecoPhysPlots.h:26
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
RecoPhysPlots::m_M_BC_BC
TH1 * m_M_BC_BC
Definition: RecoPhysPlots.h:52
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
yodamerge_tmp.axis
list axis
Definition: yodamerge_tmp.py:241
RecoPhysPlots::m_M_BC_EC
TH1 * m_M_BC_EC
Definition: RecoPhysPlots.h:53
RecoPhysPlots::fill
void fill(const std::vector< std::pair< const xAOD::Muon *, const xAOD::Muon * > > &mumucandidates)
Definition: RecoPhysPlots.cxx:96
RecoPhysPlots::m_M_BA_BA
TH1 * m_M_BA_BA
Definition: RecoPhysPlots.h:46
RecoPhysPlots::LabelLargeEtaRegions
bool LabelLargeEtaRegions(TAxis *axis)
Definition: RecoPhysPlots.cxx:181
RecoPhysPlots::m_M_BC_EA
TH1 * m_M_BC_EA
Definition: RecoPhysPlots.h:50
RecoPhysPlots::m_M_EA_BA
TH1 * m_M_EA_BA
Definition: RecoPhysPlots.h:41
RecoPhysPlots::m_M_EC_BA
TH1 * m_M_EC_BA
Definition: RecoPhysPlots.h:56
RecoPhysPlots::LabelSectorAxis
bool LabelSectorAxis(TAxis *axis)
Definition: RecoPhysPlots.cxx:220
RecoPhysPlots::m_M_BA_BC
TH1 * m_M_BA_BC
Definition: RecoPhysPlots.h:47
RecoPhysPlots::LabelCombinedEtaRegions
bool LabelCombinedEtaRegions(TAxis *axis)
Definition: RecoPhysPlots.cxx:196
RecoPhysPlots::m_M_EC_EA
TH1 * m_M_EC_EA
Definition: RecoPhysPlots.h:55
RecoPhysPlots::m_M_EA_EA
TH1 * m_M_EA_EA
Definition: RecoPhysPlots.h:40
RecoPhysPlots::m_M_EC_EC
TH1 * m_M_EC_EC
Definition: RecoPhysPlots.h:58
RecoPhysPlots::m_2occupancy
TH1 * m_2occupancy
Definition: RecoPhysPlots.h:27
RecoPhysPlots
Definition: RecoPhysPlots.h:12
RecoPhysPlots::m_Mass
TH1 * m_Mass
Definition: RecoPhysPlots.h:25
RecoPhysPlots::RecoPhysPlots
RecoPhysPlots(PlotBase *pParent, const std::string &sDir, std::string recObj)
Definition: RecoPhysPlots.cxx:10
RecoPhysPlots::m_M_Mean
TH1 * m_M_Mean
Definition: RecoPhysPlots.h:37
RecoPhysPlots::EtaRegionFine
float EtaRegionFine(double eta)
Definition: RecoPhysPlots.cxx:155
RecoPhysPlots::m_M_EC_BC
TH1 * m_M_EC_BC
Definition: RecoPhysPlots.h:57
RecoPhysPlots::type
std::string type
Definition: RecoPhysPlots.h:60
PlotBase.h
RecoPhysPlots::EtaRegionCoarse
float EtaRegionCoarse(double eta)
Definition: RecoPhysPlots.cxx:170
RecoPhysPlots::finalizeRecoPlots
void finalizeRecoPlots()
Definition: RecoPhysPlots.cxx:136
RecoPhysPlots::m_M_BC_BA
TH1 * m_M_BC_BA
Definition: RecoPhysPlots.h:51