47 std::vector<HistData> hists =
m_oAllPlots.retrieveBookedHistograms();
62 m_pt_broad =
Book1D(
"_pt_broad",
"High p_{T} Distribution;p_{T} [GeV]", 70, 100, 1500);
104 if (!primaryTrk)
return;
116 if (my_quality <= xAOD::Muon::Tight)
m_tight_eta_phi->Fill(mu.eta(), mu.phi());
117 if (my_quality <= xAOD::Muon::Medium)
m_medium_eta_phi->Fill(mu.eta(), mu.phi());
120 if (mu.pt()/1000.0 > 100) {
125 const xAOD::TrackParticle* inDetTrk = mu.trackParticle(xAOD::Muon::InnerDetectorTrackParticle);
126 int correctEnum = (int) xAOD::Muon::MuonSpectrometerTrackParticle;
128 extrapMSTPLinkAcc(
"extrapolatedMuonSpectrometerTrackParticleLink");
129 if (extrapMSTPLinkAcc.
isAvailable(mu) && extrapMSTPLinkAcc(mu).
isValid()) correctEnum+=2;
130 const xAOD::TrackParticle* msExtrapTrk = mu.trackParticle((xAOD::Muon::TrackParticleType) correctEnum);
191 if (primaryTrk && inDetTrk && msExtrapTrk) {
195 ddpt_idme = (primaryTrk->
pt() > 0) ? std::abs(inDetTrk->
pt() - msExtrapTrk->
pt()) / primaryTrk->
pt() : -999;
bool isValid(const T &p)
Av: we implement here an ATLAS-sepcific convention: all particles which are 99xxxxx are fine.
ElementLink< xAOD::MuonContainer > MuonLink
Helper class to provide constant type-safe access to aux data.
ElementLink< xAOD::TrackParticleContainer > TrackLink
TH1D * Book1D(const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
PlotBase(PlotBase *parent, const std::string &sDir)
TH2F * Book2D(const std::string &name, const std::string &labels, int nBinsX, float startX, float endX, int nBinsY, float startY, float endY, bool prependDir=true)
Book a TH2F histogram.
uint8_t hitval_middleSmallHits
uint8_t hitval_numberOfSCTHits
RecoMuonPlots(PlotBase *pParent, const std::string &sDir, bool detail=false)
uint8_t hitval_numberOfTRTHits
TH2 * m_avg_hits_trigger_layer3
uint8_t hitval_outerSmallHits
void fill(const xAOD::Muon &mu)
Muon::MomentumPullPlots m_oMomentumPullPlots
uint8_t hitval_etaLayer1Hits
TH2 * m_avg_hits_trigger_layer1
uint8_t hitval_extendedSmallHits
Trk::ImpactPlots m_oImpactPlots
TH2 * m_avg_hits_precision_extended
uint8_t hitval_numberOfPrecisionLayers
Muon::RecoInfoPlots m_oMuRecoInfoPlots
uint8_t hitval_outerLargeHits
TH2 * m_avg_hits_precision_outer
uint8_t hitval_innerSmallHits
TH2 * m_avg_hits_trigger_layer4
Trk::ParamPlots m_oAllPlots
uint8_t hitval_extendedLargeHits
uint8_t hitval_etaLayer4Hits
TH2 * m_avg_hits_trigger_layer2
uint8_t hitval_numberOfPixelHits
uint8_t hitval_numberOfBLayerHits
uint8_t hitval_numberOfTriggerEtaLayers
uint8_t hitval_numberOfPhiLayers
TH2 * m_avg_hits_precision_inner
uint8_t hitval_innerLargeHits
uint8_t hitval_etaLayer3Hits
uint8_t hitval_etaLayer2Hits
uint8_t hitval_middleLargeHits
TH2 * m_avg_hits_precision_middle
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.
float numberDoF() const
Returns the number of degrees of freedom of the overall track or vertex fit as float.
virtual double phi() const override final
The azimuthal angle ( ) of the particle (has range to .)
const ParametersCovMatrix_t definingParametersCovMatrix() const
Returns the 5x5 symmetric matrix containing the defining parameters covariance matrix.
bool summaryValue(uint8_t &value, const SummaryType &information) const
Accessor for TrackSummary values.
float qOverP() const
Returns the parameter.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
float chiSquared() const
Returns the of the overall track fit.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Muon_v1 Muon
Reference the current persistent version:
@ numberOfPrecisionLayers
layers with at least 3 hits [unit8_t].
@ numberOfTRTHits
number of TRT hits [unit8_t].
@ numberOfTriggerEtaLayers
layers with trigger eta hits [unit8_t].
@ numberOfPhiLayers
layers with a trigger phi hit [unit8_t].
@ numberOfSCTHits
number of hits in SCT [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].
@ outerSmallHits
number of precision hits in the outer small layer
@ middleSmallHits
number of precision hits in the middle small layer
@ outerLargeHits
number of precision hits in the outer large layer
@ etaLayer3Hits
number of eta hits in the third trigger layer (BOL1 ot T2)
@ middleLargeHits
number of precision hits in the middle large layer
@ etaLayer1Hits
number of eta hits in the first trigger layer (BML1 ot T4)
@ extendedSmallHits
number of precision hits in the extended small layer
@ extendedLargeHits
number of precision hits in the extended large layer
@ innerLargeHits
number of precision hits in the inner large layer
@ etaLayer4Hits
number of eta hits in the fourth trigger layer (T3)
@ etaLayer2Hits
number of eta hits in the second trigger layer (BML2 ot T1)
@ innerSmallHits
number of precision hits in the inner small layer