Go to the documentation of this file. 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
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.
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::InputTag recHitLabel_
edm::InputTag simHitLabel_
edm::EDGetTokenT< DTRecSegment2DCollection > segment2DToken_
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
constexpr std::array< uint8_t, layerIndexSize > layer
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.
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
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