#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) |
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, const edm::Event &iEvent) |
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) |
std::vector< TrajectoryMeasurementGroup > | groupedMeasurements (const DetLayer *layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, const edm::Event &iEvent) |
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) |
returns TMeasurements in a DetLayer compatible with the TSOS. More... | |
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... | |
MTDDetLayerMeasurements (edm::InputTag mtdlabel, edm::ConsumesCollector &iC) | |
MTDRecHitContainer | recHits (const DetLayer *layer) |
returns the rechits which are on the layer More... | |
MTDRecHitContainer | recHits (const DetLayer *layer, const edm::Event &iEvent) |
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.
The class to access recHits and TrajectoryMeasurements from DetLayer.
Definition at line 30 of file MTDDetLayerMeasurements.h.
typedef std::pair<const GeomDet*, TrajectoryStateOnSurface> MTDDetLayerMeasurements::DetWithState |
Definition at line 33 of file MTDDetLayerMeasurements.h.
typedef std::vector<TrajectoryMeasurement> MTDDetLayerMeasurements::MeasurementContainer |
Definition at line 32 of file MTDDetLayerMeasurements.h.
typedef std::vector<GenericTransientTrackingRecHit::RecHitPointer> MTDDetLayerMeasurements::MTDRecHitContainer |
Definition at line 34 of file MTDDetLayerMeasurements.h.
MTDDetLayerMeasurements::MTDDetLayerMeasurements | ( | edm::InputTag | mtdlabel, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 22 of file MTDDetLayerMeasurements.cc.
References edm::ConsumesCollector::consumes(), and mtdToken_.
|
virtual |
Definition at line 27 of file MTDDetLayerMeasurements.cc.
|
private |
check that the event is set, and throw otherwise
Definition at line 194 of file MTDDetLayerMeasurements.cc.
References Exception, and theEvent.
Referenced by checkMTDRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), and recHits().
|
private |
Definition at line 50 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 | ||
) |
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 145 of file MTDDetLayerMeasurements.cc.
References checkEvent(), fastMeasurements(), and theEvent.
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 122 of file MTDDetLayerMeasurements.cc.
References MeasurementEstimator::estimate(), iEvent, recHits(), and mps_fire::result.
Referenced by fastMeasurements().
std::vector< TrajectoryMeasurementGroup > MTDDetLayerMeasurements::groupedMeasurements | ( | const DetLayer * | layer, |
const TrajectoryStateOnSurface & | startingState, | ||
const Propagator & | prop, | ||
const MeasurementEstimator & | est | ||
) |
Definition at line 154 of file MTDDetLayerMeasurements.cc.
References checkEvent(), groupedMeasurements(), 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 163 of file MTDDetLayerMeasurements.cc.
References GeometricSearchDet::groupedCompatibleDets(), iEvent, measurements(), and mps_fire::result.
Referenced by groupedMeasurements().
MeasurementContainer MTDDetLayerMeasurements::measurements | ( | const DetLayer * | layer, |
const GeomDet * | det, | ||
const TrajectoryStateOnSurface & | stateOnDet, | ||
const MeasurementEstimator & | est, | ||
const edm::Event & | iEvent | ||
) |
Definition at line 97 of file MTDDetLayerMeasurements.cc.
References MeasurementEstimator::estimate(), iEvent, 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 | ||
) |
returns TMeasurements in a DetLayer compatible with the TSOS.
measurements method if already got the Event
Definition at line 68 of file MTDDetLayerMeasurements.cc.
References checkEvent(), measurements(), and theEvent.
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 76 of file MTDDetLayerMeasurements.cc.
References GeometricSearchDet::compatibleDets(), iEvent, LogDebug, measurements(), and mps_fire::result.
MTDRecHitContainer MTDDetLayerMeasurements::recHits | ( | const DetLayer * | layer | ) |
returns the rechits which are on the layer
Definition at line 211 of file MTDDetLayerMeasurements.cc.
References checkEvent(), recHits(), and theEvent.
MTDRecHitContainer MTDDetLayerMeasurements::recHits | ( | const DetLayer * | layer, |
const edm::Event & | iEvent | ||
) |
returns the rechits which are on the layer
Definition at line 199 of file MTDDetLayerMeasurements.cc.
References GeometricSearchDet::basicComponents(), and iEvent.
Referenced by fastMeasurements(), measurements(), and recHits().
|
private |
obtain TrackingRecHits from a DetLayer
Definition at line 29 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 192 of file MTDDetLayerMeasurements.cc.
References edmPickEvents::event, and theEvent.
|
private |
Definition at line 102 of file MTDDetLayerMeasurements.h.
Referenced by checkMTDRecHits(), and MTDDetLayerMeasurements().
|
private |
Definition at line 112 of file MTDDetLayerMeasurements.h.
Referenced by checkEvent(), checkMTDRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), recHits(), and setEvent().
|
private |
Definition at line 110 of file MTDDetLayerMeasurements.h.
Referenced by checkMTDRecHits().
|
private |
Definition at line 105 of file MTDDetLayerMeasurements.h.
Referenced by checkMTDRecHits().