1 #ifndef RecoMTD_MeasurementDet_MTDDetLayerMeasurements_H 2 #define RecoMTD_MeasurementDet_MTDDetLayerMeasurements_H 33 typedef std::pair<const GeomDet*, TrajectoryStateOnSurface>
DetWithState;
unsigned long CacheIdentifier_t
MTDRecHitContainer recHits(const DetLayer *layer, const edm::Event &iEvent)
returns the rechits which are on the layer
std::vector< TrajectoryMeasurement > MeasurementContainer
edm::Event::CacheIdentifier_t theMTDEventCacheID
virtual ~MTDDetLayerMeasurements()
std::vector< TrajectoryMeasurementGroup > groupedMeasurements(const DetLayer *layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, const edm::Event &iEvent)
void setEvent(const edm::Event &)
set event
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
MeasurementContainer fastMeasurements(const DetLayer *layer, const TrajectoryStateOnSurface &theStateOnDet, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, const edm::Event &iEvent)
faster version in case the TrajectoryState on the surface of the GeomDet is already available ...
void checkEvent() const
check that the event is set, and throw otherwise
std::pair< const GeomDet *, TrajectoryStateOnSurface > DetWithState
MeasurementContainer measurements(const DetLayer *layer, const GeomDet *det, const TrajectoryStateOnSurface &stateOnDet, const MeasurementEstimator &est, const edm::Event &iEvent)
edm::Handle< edmNew::DetSetVector< MTDTrackingRecHit > > theMTDRecHits
edm::EDGetTokenT< MTDTrackingRecHit > theMTDToken
MTDDetLayerMeasurements(const edm::InputTag &mtdlabel, edm::ConsumesCollector &iC)
const edm::Event * theEvent
std::vector< GenericTransientTrackingRecHit::RecHitPointer > MTDRecHitContainer