ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkValidation
TrkValHistUtils
TrkValHistUtils
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
"
10
#include "
xAODTracking/TrackParticle.h
"
11
#include "
xAODTruth/TruthParticle.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
24
Trk::HitTypePlots
nprecLayers
;
25
Trk::HitTypePlots
nphiLayers
;
26
Trk::HitTypePlots
ntrigEtaLayers
;
27
28
};
29
30
}
31
32
#endif
33
TrackParticle.h
TruthParticle.h
HitTypePlots.h
PlotBase.h
PlotBase::PlotBase
PlotBase(PlotBase *parent, std::string_view sDir)
Definition
PlotBase.cxx:29
Trk::HitTypePlots
Definition
HitTypePlots.h:12
Trk::MSHitPlots::nprecLayers
Trk::HitTypePlots nprecLayers
Definition
MSHitPlots.h:24
Trk::MSHitPlots::fillPlot
static void fillPlot(HitTypePlots &hitPlots, const std::string &sInfo, const xAOD::TruthParticle &truthprt, float weight=1.0)
Definition
MSHitPlots.cxx:42
Trk::MSHitPlots::fill
void fill(const xAOD::TrackParticle &trkprt, float weight=1.0)
Definition
MSHitPlots.cxx:18
Trk::MSHitPlots::nphiLayers
Trk::HitTypePlots nphiLayers
Definition
MSHitPlots.h:25
Trk::MSHitPlots::MSHitPlots
MSHitPlots(PlotBase *pParent, const std::string &sDir)
Definition
MSHitPlots.cxx:10
Trk::MSHitPlots::ntrigEtaLayers
Trk::HitTypePlots ntrigEtaLayers
Definition
MSHitPlots.h:26
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
xAOD::SummaryType
SummaryType
Enumerates the different types of information stored in Summary.
Definition
TrackingPrimitives.h:229
Generated on
for ATLAS Offline Software by
1.17.0