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>
130 const std::map<
DTWireId, std::vector<PSimHit>> &simHitsPerWire,
131 const std::map<
DTWireId, std::vector<type>> &recHitsPerWire,
136 #endif // Validation_DTRecHits_DTRecHitQuality_h
edm::InputTag recHitLabel_
edm::EDGetTokenT< DTRecHitCollection > recHitToken_
edm::InputTag segment4DLabel_
A set of histograms fo efficiency computation for 1D RecHits (producer)
float simHitImpactAngle(const DTLayer *layer, const DTWireId &wireId, const PSimHit &hit) const
edm::EDGetTokenT< DTRecSegment4DCollection > segment4DToken_
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_
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
float simHitDistFromWire(const DTLayer *layer, const DTWireId &wireId, const PSimHit &hit) const
float recHitDistFromWire(const DTRecHit1DPair &hitPair, const DTLayer *layer) const
const type * findBestRecHit(const DTLayer *layer, const DTWireId &wireId, const std::vector< type > &recHits, float simHitDist) const
A set of histograms of residuals and pulls for 1D RecHits.
edm::ESGetToken< DTGeometry, MuonGeometryRecord > muonGeomToken_
void dqmAnalyze(edm::Event const &, edm::EventSetup const &, dtrechit::Histograms const &) const override
Perform the real analysis.
float recHitPositionError(const DTRecHit1DPair &recHit) const
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_
float simHitDistFromFE(const DTLayer *layer, const DTWireId &wireId, const PSimHit &hit) const