ATLAS Offline Software
MSHitPlots.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRKVALHISTUTILS_MSHITPLOTS_H
6 #define TRKVALHISTUTILS_MSHITPLOTS_H
7 
8 #include "PlotBase.h"
9 #include "HitTypePlots.h"
12 
13 namespace Trk{
14 
15 class MSHitPlots: public PlotBase {
16  public:
17  MSHitPlots(PlotBase *pParent, const std::string& sDir);
18  void fill(const xAOD::TrackParticle& trkprt, float weight=1.0);
19  void fill(const xAOD::TruthParticle& truthprt, float weight=1.0);
20 
21  static void fillPlot(HitTypePlots& hitPlots, const std::string& sInfo, const xAOD::TruthParticle& truthprt, float weight=1.0);
22  static void fillPlot(HitTypePlots& hitPlots, xAOD::SummaryType info, const xAOD::TrackParticle& trkprt, float weight=1.0);
23 
27 
28 };
29 
30 }
31 
32 #endif
33 
grepfile.info
info
Definition: grepfile.py:38
PlotBase
Definition: PlotBase.h:33
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
Trk::MSHitPlots::MSHitPlots
MSHitPlots(PlotBase *pParent, const std::string &sDir)
Definition: MSHitPlots.cxx:10
Trk::MSHitPlots::fillPlot
static void fillPlot(HitTypePlots &hitPlots, const std::string &sInfo, const xAOD::TruthParticle &truthprt, float weight=1.0)
Definition: MSHitPlots.cxx:42
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:200
Trk::MSHitPlots::ntrigEtaLayers
Trk::HitTypePlots ntrigEtaLayers
Definition: MSHitPlots.h:26
Trk::MSHitPlots::nprecLayers
Trk::HitTypePlots nprecLayers
Definition: MSHitPlots.h:24
Trk::MSHitPlots::nphiLayers
Trk::HitTypePlots nphiLayers
Definition: MSHitPlots.h:25
xAOD::SummaryType
SummaryType
Enumerates the different types of information stored in Summary.
Definition: TrackingPrimitives.h:228
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:41
Trk::HitTypePlots
Definition: HitTypePlots.h:12
Trk::MSHitPlots
Definition: MSHitPlots.h:15
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
HitTypePlots.h
TrackParticle.h
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
Trk::MSHitPlots::fill
void fill(const xAOD::TrackParticle &trkprt, float weight=1.0)
Definition: MSHitPlots.cxx:18
TruthParticle.h
PlotBase.h