Go to the documentation of this file. 1 #ifndef MeasurementDet_MuonDetLayerMeasurements_H
2 #define MeasurementDet_MuonDetLayerMeasurements_H
39 typedef std::pair<const GeomDet*, TrajectoryStateOnSurface>
DetWithState;
52 bool enableCSC =
true,
53 bool enableRPC =
true,
54 bool enableGEM =
true,
55 bool enableME0 =
true);
edm::Handle< DTRecSegment4DCollection > theDTRecHits
std::vector< TrajectoryMeasurementGroup > groupedMeasurements(const DetLayer *layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, const edm::Event &iEvent)
edm::Event::CacheIdentifier_t theME0EventCacheID
edm::EDGetTokenT< CSCSegmentCollection > cscToken_
bool enableME0Measurement
std::vector< MuonRecHitPointer > MuonRecHitContainer
std::pair< const GeomDet *, TrajectoryStateOnSurface > DetWithState
std::vector< TrajectoryMeasurement > MeasurementContainer
edm::EDGetTokenT< GEMRecHitCollection > gemToken_
const edm::Event * theEvent
void setEvent(const edm::Event &)
set event
edm::Event::CacheIdentifier_t theGEMEventCacheID
bool enableCSCMeasurement
bool enableRPCMeasurement
std::vector< TrajectoryMeasurement > MeasurementContainer
edm::Event::CacheIdentifier_t theRPCEventCacheID
unsigned long CacheIdentifier_t
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
edm::Handle< ME0SegmentCollection > theME0RecHits
edm::Event::CacheIdentifier_t theCSCEventCacheID
void checkEvent() const
check that the event is set, and throw otherwise
MuonDetLayerMeasurements(edm::InputTag dtlabel, edm::InputTag csclabel, edm::InputTag rpclabel, edm::InputTag gemlabel, edm::InputTag me0label, edm::ConsumesCollector &iC, bool enableDT=true, bool enableCSC=true, bool enableRPC=true, bool enableGEM=true, bool enableME0=true)
edm::EDGetTokenT< RPCRecHitCollection > rpcToken_
MuonRecHitContainer recHits(const DetLayer *layer, const edm::Event &iEvent)
returns the rechits which are on the layer
edm::Event::CacheIdentifier_t theDTEventCacheID
edm::Handle< RPCRecHitCollection > theRPCRecHits
edm::EDGetTokenT< DTRecSegment4DCollection > dtToken_
edm::Handle< GEMRecHitCollection > theGEMRecHits
edm::Handle< CSCSegmentCollection > theCSCRecHits
MeasurementContainer measurements(const DetLayer *layer, const GeomDet *det, const TrajectoryStateOnSurface &stateOnDet, const MeasurementEstimator &est, const edm::Event &iEvent)
virtual ~MuonDetLayerMeasurements()
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
edm::EDGetTokenT< ME0SegmentCollection > me0Token_
bool enableGEMMeasurement