1 #ifndef Validation_DTRecHits_DTRecHitQuality_h 2 #define Validation_DTRecHits_DTRecHitQuality_h 112 template <
typename type>
115 const std::vector<type> &
recHits,
116 float simHitDist)
const;
128 template <
typename type>
136 #endif // Validation_DTRecHits_DTRecHitQuality_h
edm::InputTag recHitLabel_
edm::EDGetTokenT< DTRecHitCollection > recHitToken_
float recHitDistFromWire(const DTRecHit1DPair &hitPair, const DTLayer *layer) const
edm::InputTag segment4DLabel_
A set of histograms fo efficiency computation for 1D RecHits (producer)
edm::EDGetTokenT< DTRecSegment4DCollection > segment4DToken_
float recHitPositionError(const DTRecHit1DPair &recHit) const
edm::InputTag simHitLabel_
constexpr std::array< uint8_t, layerIndexSize > layer
std::map< DTWireId, std::vector< DTRecHit1DPair > > map1DRecHitsPerWire(const DTRecHitCollection *dt1DRecHitPairs) const
DTRecHitQuality(const edm::ParameterSet &pset)
Constructor.
edm::InputTag segment2DLabel_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &, dtrechit::Histograms &) const override
Book the DQM plots.
edm::EDGetTokenT< DTRecSegment2DCollection > segment2DToken_
float simHitImpactAngle(const DTLayer *layer, const DTWireId &wireId, const PSimHit &hit) const
float simHitDistFromWire(const DTLayer *layer, const DTWireId &wireId, const PSimHit &hit) const
A set of histograms of residuals and pulls for 1D RecHits.
const type * findBestRecHit(const DTLayer *layer, const DTWireId &wireId, const std::vector< type > &recHits, float simHitDist) const
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::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
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
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_