#include <MTDDetLayerMeasurements.h>
Public Types | |
typedef std::pair< const GeomDet *, TrajectoryStateOnSurface > | DetWithState |
typedef std::vector< TrajectoryMeasurement > | MeasurementContainer |
typedef std::vector< GenericTransientTrackingRecHit::RecHitPointer > | MTDRecHitContainer |
Public Member Functions | |
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 More... | |
MeasurementContainer | fastMeasurements (const DetLayer *layer, const TrajectoryStateOnSurface &theStateOnDet, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) |
faster version in case the TrajectoryState on the surface of the GeomDet is already available More... | |
std::vector< TrajectoryMeasurementGroup > | groupedMeasurements (const DetLayer *layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, const edm::Event &iEvent) |
std::vector< TrajectoryMeasurementGroup > | groupedMeasurements (const DetLayer *layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) |
MeasurementContainer | measurements (const DetLayer *layer, const GeomDet *det, const TrajectoryStateOnSurface &stateOnDet, const MeasurementEstimator &est, const edm::Event &iEvent) |
MeasurementContainer | measurements (const DetLayer *layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, const edm::Event &iEvent) |
returns TMeasurements in a DetLayer compatible with the TSOS. More... | |
MeasurementContainer | measurements (const DetLayer *layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) |
returns TMeasurements in a DetLayer compatible with the TSOS. More... | |
MTDDetLayerMeasurements (edm::InputTag mtdlabel, edm::ConsumesCollector &iC) | |
MTDRecHitContainer | recHits (const DetLayer *layer, const edm::Event &iEvent) |
returns the rechits which are on the layer More... | |
MTDRecHitContainer | recHits (const DetLayer *layer) |
returns the rechits which are on the layer More... | |
void | setEvent (const edm::Event &) |
set event More... | |
virtual | ~MTDDetLayerMeasurements () |
Private Member Functions | |
void | checkEvent () const |
check that the event is set, and throw otherwise More... | |
void | checkMTDRecHits () |
MTDRecHitContainer | recHits (const GeomDet *, const edm::Event &iEvent) |
obtain TrackingRecHits from a DetLayer More... | |
Private Attributes | |
edm::EDGetTokenT< MTDTrackingRecHit > | mtdToken_ |
const edm::Event * | theEvent |
edm::Event::CacheIdentifier_t | theMTDEventCacheID |
edm::Handle< edmNew::DetSetVector< MTDTrackingRecHit > > | theMTDRecHits |
The class to access recHits and TrajectoryMeasurements from DetLayer.
Definition at line 32 of file MTDDetLayerMeasurements.h.
typedef std::pair<const GeomDet*,TrajectoryStateOnSurface> MTDDetLayerMeasurements::DetWithState |
Definition at line 35 of file MTDDetLayerMeasurements.h.
typedef std::vector<TrajectoryMeasurement> MTDDetLayerMeasurements::MeasurementContainer |
Definition at line 34 of file MTDDetLayerMeasurements.h.
typedef std::vector<GenericTransientTrackingRecHit::RecHitPointer> MTDDetLayerMeasurements::MTDRecHitContainer |
Definition at line 36 of file MTDDetLayerMeasurements.h.
MTDDetLayerMeasurements::MTDDetLayerMeasurements | ( | edm::InputTag | mtdlabel, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 23 of file MTDDetLayerMeasurements.cc.
References edm::ConsumesCollector::consumes(), and mtdToken_.
|
virtual |
Definition at line 32 of file MTDDetLayerMeasurements.cc.
|
private |
check that the event is set, and throw otherwise
Definition at line 226 of file MTDDetLayerMeasurements.cc.
References Exception, and theEvent.
Referenced by checkMTDRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), and recHits().
|
private |
Definition at line 57 of file MTDDetLayerMeasurements.cc.
References edm::Event::cacheIdentifier(), checkEvent(), Exception, edm::Event::getByToken(), edm::HandleBase::isValid(), LogDebug, mtdToken_, theEvent, theMTDEventCacheID, and theMTDRecHits.
Referenced by recHits().
MeasurementContainer MTDDetLayerMeasurements::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
Definition at line 143 of file MTDDetLayerMeasurements.cc.
References MeasurementEstimator::estimate(), recHits(), and mps_fire::result.
Referenced by fastMeasurements().
MeasurementContainer MTDDetLayerMeasurements::fastMeasurements | ( | const DetLayer * | layer, |
const TrajectoryStateOnSurface & | theStateOnDet, | ||
const TrajectoryStateOnSurface & | startingState, | ||
const Propagator & | prop, | ||
const MeasurementEstimator & | est | ||
) |
faster version in case the TrajectoryState on the surface of the GeomDet is already available
fastMeasurements method if already got the Event
Definition at line 169 of file MTDDetLayerMeasurements.cc.
References checkEvent(), fastMeasurements(), and theEvent.
std::vector< TrajectoryMeasurementGroup > MTDDetLayerMeasurements::groupedMeasurements | ( | const DetLayer * | layer, |
const TrajectoryStateOnSurface & | startingState, | ||
const Propagator & | prop, | ||
const MeasurementEstimator & | est, | ||
const edm::Event & | iEvent | ||
) |
Definition at line 190 of file MTDDetLayerMeasurements.cc.
References GeometricSearchDet::groupedCompatibleDets(), iEvent, measurements(), and mps_fire::result.
Referenced by groupedMeasurements().
std::vector< TrajectoryMeasurementGroup > MTDDetLayerMeasurements::groupedMeasurements | ( | const DetLayer * | layer, |
const TrajectoryStateOnSurface & | startingState, | ||
const Propagator & | prop, | ||
const MeasurementEstimator & | est | ||
) |
Definition at line 180 of file MTDDetLayerMeasurements.cc.
References checkEvent(), groupedMeasurements(), and theEvent.
MeasurementContainer MTDDetLayerMeasurements::measurements | ( | const DetLayer * | layer, |
const GeomDet * | det, | ||
const TrajectoryStateOnSurface & | stateOnDet, | ||
const MeasurementEstimator & | est, | ||
const edm::Event & | iEvent | ||
) |
Definition at line 112 of file MTDDetLayerMeasurements.cc.
References MeasurementEstimator::estimate(), LogDebug, mtdRecHits_cfi::mtdRecHits, recHits(), and mps_fire::result.
Referenced by groupedMeasurements(), and measurements().
MeasurementContainer MTDDetLayerMeasurements::measurements | ( | const DetLayer * | layer, |
const TrajectoryStateOnSurface & | startingState, | ||
const Propagator & | prop, | ||
const MeasurementEstimator & | est, | ||
const edm::Event & | iEvent | ||
) |
returns TMeasurements in a DetLayer compatible with the TSOS.
Definition at line 87 of file MTDDetLayerMeasurements.cc.
References GeometricSearchDet::compatibleDets(), LogDebug, measurements(), and mps_fire::result.
MeasurementContainer MTDDetLayerMeasurements::measurements | ( | const DetLayer * | layer, |
const TrajectoryStateOnSurface & | startingState, | ||
const Propagator & | prop, | ||
const MeasurementEstimator & | est | ||
) |
returns TMeasurements in a DetLayer compatible with the TSOS.
measurements method if already got the Event
Definition at line 77 of file MTDDetLayerMeasurements.cc.
References checkEvent(), measurements(), and theEvent.
MTDRecHitContainer MTDDetLayerMeasurements::recHits | ( | const DetLayer * | layer, |
const edm::Event & | iEvent | ||
) |
returns the rechits which are on the layer
Definition at line 231 of file MTDDetLayerMeasurements.cc.
References GeometricSearchDet::basicComponents().
Referenced by fastMeasurements(), measurements(), and recHits().
MTDRecHitContainer MTDDetLayerMeasurements::recHits | ( | const DetLayer * | layer | ) |
returns the rechits which are on the layer
Definition at line 244 of file MTDDetLayerMeasurements.cc.
References checkEvent(), recHits(), and theEvent.
|
private |
obtain TrackingRecHits from a DetLayer
Definition at line 34 of file MTDDetLayerMeasurements.cc.
References GenericTransientTrackingRecHit::build(), checkMTDRecHits(), GeomDet::geographicalId(), iEvent, LogDebug, DetId::rawId(), mps_fire::result, and theEvent.
void MTDDetLayerMeasurements::setEvent | ( | const edm::Event & | event | ) |
set event
Definition at line 221 of file MTDDetLayerMeasurements.cc.
References event(), and theEvent.
|
private |
Definition at line 115 of file MTDDetLayerMeasurements.h.
Referenced by checkMTDRecHits(), and MTDDetLayerMeasurements().
|
private |
Definition at line 125 of file MTDDetLayerMeasurements.h.
Referenced by checkEvent(), checkMTDRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), recHits(), and setEvent().
|
private |
Definition at line 123 of file MTDDetLayerMeasurements.h.
Referenced by checkMTDRecHits().
|
private |
Definition at line 118 of file MTDDetLayerMeasurements.h.
Referenced by checkMTDRecHits().