13 nprecLayers(this,
"nprecLayers",
"Precision Layers", -5, 5),
14 nphiLayers(this,
"nphiLayers",
"Phi Layers", -5, 5),
15 ntrigEtaLayers(this,
"ntrigEtaLayers",
"Eta Trigger Layers", -5, 5) {
37 uint8_t truthhitval = infoAcc(truthprt);
38 hitPlots.
fill(truthhitval - hitval, trkprt.
eta(), trkprt.
phi(), weight);
Helper class to provide constant type-safe access to aux data.
PlotBase(PlotBase *parent, const std::string &sDir)
Helper class to provide constant type-safe access to aux data.
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
void fill(int iHits, float fEta, float fPhi, float weight=1.0)
Trk::HitTypePlots nphiLayers
void fill(const xAOD::TrackParticle &trkprt, const xAOD::TruthParticle &truthprt, float weight=1.0)
Trk::HitTypePlots nprecLayers
MSHitDiffPlots(PlotBase *pParent, const std::string &sDir)
Trk::HitTypePlots ntrigEtaLayers
static void fillPlot(HitTypePlots &hitPlots, const xAOD::SummaryType &info, const std::string &sInfo, const xAOD::TrackParticle &trkprt, const xAOD::TruthParticle &truthprt, float weight=1.0)
virtual double phi() const override final
The azimuthal angle ( ) of the particle (has range to .)
bool summaryValue(uint8_t &value, const SummaryType &information) const
Accessor for TrackSummary values.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
Ensure that the ATLAS eigen extensions are properly loaded.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
TruthParticle_v1 TruthParticle
Typedef to implementation.
SummaryType
Enumerates the different types of information stored in Summary.
@ numberOfPrecisionLayers
layers with at least 3 hits [unit8_t].
@ numberOfTriggerEtaLayers
layers with trigger eta hits [unit8_t].
@ numberOfPhiLayers
layers with a trigger phi hit [unit8_t].