ATLAS Offline Software
IDHitSummaryPlots.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_IDHITSUMMARYPLOTS_H
6 #define MUONHISTUTILS_IDHITSUMMARYPLOTS_H
7 
11 
12 namespace Muon{
13 
14 class HitFracTypePlots:public PlotBase {
15  public:
16  HitFracTypePlots(PlotBase* pParent, std::string sHitType, std::string sHitLabel);
17  void fill(float hitval, float trketa, float weight=1.0);
18 
19  TH1* fracHits{nullptr};
20  TH1* fracHitsVsEta{nullptr};
21  private:
22  void initializePlots();
23  std::string m_sHitType;
24  std::string m_sHitLabel;
25 };
26 
28  public:
29  IDHitSummaryPlots(PlotBase* pParent, const std::string& sDir);
30  void fill(const xAOD::TrackParticle& trk,float weight=1.0);
31 
38 
42 
43 };
44 
45 }
46 
47 #endif
Muon::HitFracTypePlots::fracHitsVsEta
TH1 * fracHitsVsEta
Definition: IDHitSummaryPlots.h:20
PlotBase
Definition: PlotBase.h:33
Muon::HitFracTypePlots::fracHits
TH1 * fracHits
Definition: IDHitSummaryPlots.h:19
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
Muon::HitFracTypePlots::HitFracTypePlots
HitFracTypePlots(PlotBase *pParent, std::string sHitType, std::string sHitLabel)
Definition: IDHitSummaryPlots.cxx:13
Muon::HitFracTypePlots::initializePlots
void initializePlots()
Definition: IDHitSummaryPlots.cxx:16
Muon::IDHitSummaryPlots::IDHitSummaryPlots
IDHitSummaryPlots(PlotBase *pParent, const std::string &sDir)
Definition: IDHitSummaryPlots.cxx:29
Muon::HitFracTypePlots
Definition: IDHitSummaryPlots.h:14
Muon::IDHitSummaryPlots::nPixSCTHoles
Trk::HitTypePlots nPixSCTHoles
Definition: IDHitSummaryPlots.h:37
Muon::IDHitSummaryPlots::nSCTHitsPlusDead
Trk::HitTypePlots nSCTHitsPlusDead
Definition: IDHitSummaryPlots.h:34
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::HitFracTypePlots::m_sHitLabel
std::string m_sHitLabel
Definition: IDHitSummaryPlots.h:24
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:200
Muon::IDHitSummaryPlots::fill
void fill(const xAOD::TrackParticle &trk, float weight=1.0)
Definition: IDHitSummaryPlots.cxx:42
Muon::IDHitSummaryPlots
Definition: IDHitSummaryPlots.h:27
Trk::HitTypePlots
Definition: HitTypePlots.h:12
Muon::IDHitSummaryPlots::fTRTOutliers
HitFracTypePlots fTRTOutliers
Definition: IDHitSummaryPlots.h:41
Muon::HitFracTypePlots::fill
void fill(float hitval, float trketa, float weight=1.0)
Definition: IDHitSummaryPlots.cxx:21
Muon::IDHitSummaryPlots::fSCTOutliers
HitFracTypePlots fSCTOutliers
Definition: IDHitSummaryPlots.h:40
Muon::IDHitSummaryPlots::fPixelOutliers
HitFracTypePlots fPixelOutliers
Definition: IDHitSummaryPlots.h:39
Muon::IDHitSummaryPlots::nTRTHitsPlusDead
Trk::HitTypePlots nTRTHitsPlusDead
Definition: IDHitSummaryPlots.h:35
Muon::IDHitSummaryPlots::nBLayerHitsIfExpected
Trk::HitTypePlots nBLayerHitsIfExpected
Definition: IDHitSummaryPlots.h:32
Muon::IDHitSummaryPlots::nTRTHitsPlusOutliers
Trk::HitTypePlots nTRTHitsPlusOutliers
Definition: IDHitSummaryPlots.h:36
HitTypePlots.h
TrackParticle.h
TH1
Definition: rootspy.cxx:268
Muon::HitFracTypePlots::m_sHitType
std::string m_sHitType
Definition: IDHitSummaryPlots.h:23
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
PlotBase.h
Muon::IDHitSummaryPlots::nPixelHitsPlusDead
Trk::HitTypePlots nPixelHitsPlusDead
Definition: IDHitSummaryPlots.h:33