Go to the documentation of this file. 1 #ifndef Validation_DTRecHits_DTRecHitQuality_h
2 #define Validation_DTRecHits_DTRecHitQuality_h
108 template <
typename type>
111 const std::vector<type> &
recHits,
112 float simHitDist)
const;
124 template <
typename type>
132 #endif // Validation_DTRecHits_DTRecHitQuality_h
float recHitDistFromWire(const DTRecHit1DPair &hitPair, const DTLayer *layer) const
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_
edm::InputTag segment2DLabel_
A set of histograms fo efficiency computation for 1D RecHits (producer)
float simHitImpactAngle(const DTLayer *layer, const DTWireId &wireId, const PSimHit &hit) const
DTRecHitQuality(const edm::ParameterSet &pset)
Constructor.
edm::InputTag recHitLabel_
edm::InputTag simHitLabel_
edm::EDGetTokenT< DTRecSegment2DCollection > segment2DToken_
void compute(const DTGeometry *dtGeom, const std::map< DTWireId, std::vector< PSimHit >> &simHitsPerWire, const std::map< DTWireId, std::vector< type >> &recHitsPerWire, dtrechit::Histograms const &histograms, int step) const
edm::EDGetTokenT< DTRecHitCollection > recHitToken_
edm::EDGetTokenT< DTRecSegment4DCollection > segment4DToken_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &, dtrechit::Histograms &) const override
Book the DQM plots.
float recHitPositionError(const DTRecHit1DPair &recHit) const
std::map< DTWireId, std::vector< DTRecHit1DPair > > map1DRecHitsPerWire(const DTRecHitCollection *dt1DRecHitPairs) const
A set of histograms of residuals and pulls for 1D RecHits.
void dqmAnalyze(edm::Event const &, edm::EventSetup const &, dtrechit::Histograms const &) const override
Perform the real analysis.
float simHitDistFromFE(const DTLayer *layer, const DTWireId &wireId, const PSimHit &hit) const
float simHitDistFromWire(const DTLayer *layer, const DTWireId &wireId, const PSimHit &hit) const
edm::InputTag segment4DLabel_
const type * findBestRecHit(const DTLayer *layer, const DTWireId &wireId, const std::vector< type > &recHits, float simHitDist) const