15 std::string sHitLabel)
24 30, 0., 0.3, 54, -2.7, 2.7);
42 nPixSCTHoles(this,
"nPixSCTHoles",
"Pix+SCT holes", 0, 5),
43 fPixelOutliers(this,
"fPixelOutliers",
"Fraction of Pix Outliers"),
44 fSCTOutliers(this,
"fSCTOutliers",
"Fraction of SCT outliers"),
45 fTRTOutliers(this,
"fTRTOutliers",
"Fraction of TRT Outliers") {}
51 uint8_t iBLayerHits(0), bExpectBLayerHit(0);
57 uint8_t iPixHits(0), iPixDead(0);
62 uint8_t iSCTHits(0), iSCTDead(0);
67 uint8_t iTRTHits(0), iTRTDead(0), iTRTOutliers(0);
74 uint8_t iPixHoles(0), iSCTHoles(0);
79 uint8_t iPixelOutliers(0);
81 float nPix = (int)iPixelOutliers + (
int)iPixHits;
82 float fracPixOutliers = (nPix > 0) ? 1. * ((
int)iPixelOutliers) / nPix : 0;
85 uint8_t iSCTOutliers(0);
87 float nSCT = (int)iSCTOutliers + (
int)iSCTHits;
88 float fracSCTOutliers = (nSCT > 0) ? 1. * ((
int)iSCTOutliers) / nSCT : 0;
91 float nTRT = ((int)iTRTOutliers) + ((
int)iTRTHits);
92 float fracTRTOutliers = (nTRT > 0) ? ((
int)iTRTOutliers) / nTRT : 0;
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
void fill(float hitval, float trketa, float weight=1.0)
HitFracTypePlots(PlotBase *pParent, std::string sHitType, std::string sHitLabel)
Trk::HitTypePlots nSCTHitsPlusDead
void fill(const xAOD::TrackParticle &trk, float weight=1.0)
Trk::HitTypePlots nPixSCTHoles
IDHitSummaryPlots(PlotBase *pParent, const std::string &sDir)
Trk::HitTypePlots nTRTHitsPlusDead
HitFracTypePlots fTRTOutliers
HitFracTypePlots fSCTOutliers
Trk::HitTypePlots nBLayerHitsIfExpected
Trk::HitTypePlots nPixelHitsPlusDead
HitFracTypePlots fPixelOutliers
Trk::HitTypePlots nTRTHitsPlusOutliers
TH1D * Book1D(std::string_view name, std::string_view labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
PlotBase(PlotBase *parent, std::string_view sDir)
TH2F * Book2D(std::string_view name, std::string_view labels, int nBinsX, float startX, float endX, int nBinsY, float startY, float endY, bool prependDir=true)
Book a TH2F histogram.
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.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
@ expectInnermostPixelLayerHit
Do we expect a 0th-layer barrel hit for this track?
@ numberOfTRTDeadStraws
number of dead TRT straws crossed [unit8_t].
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
@ numberOfPixelOutliers
these are the pixel outliers, including the b-layer [unit8_t].
@ numberOfTRTHits
number of TRT hits [unit8_t].
@ numberOfSCTDeadSensors
number of dead SCT sensors crossed [unit8_t].
@ numberOfSCTHits
number of hits in SCT [unit8_t].
@ numberOfSCTOutliers
number of SCT outliers [unit8_t].
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
@ numberOfTRTOutliers
number of TRT outliers [unit8_t].
@ numberOfPixelDeadSensors
number of dead pixel sensors crossed [unit8_t].
@ numberOfSCTHoles
number of SCT holes [unit8_t].