#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 (const 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... | |
template<class T > | |
T | sortResult (T &) |
Private Attributes | |
const edm::Event * | theEvent |
edm::Event::CacheIdentifier_t | theMTDEventCacheID |
edm::Handle< edmNew::DetSetVector< MTDTrackingRecHit > > | theMTDRecHits |
edm::EDGetTokenT< MTDTrackingRecHit > | theMTDToken |
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 | ( | const edm::InputTag & | mtdlabel, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 22 of file MTDDetLayerMeasurements.cc.
|
virtual |
Definition at line 28 of file MTDDetLayerMeasurements.cc.
|
private |
check that the event is set, and throw otherwise
Definition at line 189 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, theEvent, theMTDEventCacheID, theMTDRecHits, and theMTDToken.
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 124 of file MTDDetLayerMeasurements.cc.
References MeasurementEstimator::estimate(), iEvent, phase1PixelTopology::layer, recHits(), mps_fire::result, and sortResult().
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 143 of file MTDDetLayerMeasurements.cc.
References checkEvent(), fastMeasurements(), phase1PixelTopology::layer, 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 161 of file MTDDetLayerMeasurements.cc.
References iEvent, phase1PixelTopology::layer, measurements(), mps_fire::result, and sortResult().
Referenced by groupedMeasurements().
std::vector< TrajectoryMeasurementGroup > MTDDetLayerMeasurements::groupedMeasurements | ( | const DetLayer * | layer, |
const TrajectoryStateOnSurface & | startingState, | ||
const Propagator & | prop, | ||
const MeasurementEstimator & | est | ||
) |
Definition at line 152 of file MTDDetLayerMeasurements.cc.
References checkEvent(), groupedMeasurements(), phase1PixelTopology::layer, and theEvent.
MeasurementContainer MTDDetLayerMeasurements::measurements | ( | const DetLayer * | layer, |
const GeomDet * | det, | ||
const TrajectoryStateOnSurface & | stateOnDet, | ||
const MeasurementEstimator & | est, | ||
const edm::Event & | iEvent | ||
) |
Definition at line 102 of file MTDDetLayerMeasurements.cc.
References MeasurementEstimator::estimate(), iEvent, phase1PixelTopology::layer, LogDebug, mtdRecHits_cfi::mtdRecHits, recHits(), mps_fire::result, and sortResult().
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 84 of file MTDDetLayerMeasurements.cc.
References iEvent, phase1PixelTopology::layer, LogDebug, measurements(), mps_fire::result, and sortResult().
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 76 of file MTDDetLayerMeasurements.cc.
References checkEvent(), phase1PixelTopology::layer, measurements(), and theEvent.
MTDRecHitContainer MTDDetLayerMeasurements::recHits | ( | const DetLayer * | layer, |
const edm::Event & | iEvent | ||
) |
returns the rechits which are on the layer
Definition at line 194 of file MTDDetLayerMeasurements.cc.
References iEvent, and phase1PixelTopology::layer.
Referenced by fastMeasurements(), measurements(), and recHits().
MTDRecHitContainer MTDDetLayerMeasurements::recHits | ( | const DetLayer * | layer | ) |
returns the rechits which are on the layer
Definition at line 206 of file MTDDetLayerMeasurements.cc.
References checkEvent(), phase1PixelTopology::layer, recHits(), and theEvent.
|
private |
obtain TrackingRecHits from a DetLayer
Definition at line 30 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 187 of file MTDDetLayerMeasurements.cc.
References edmPickEvents::event, and theEvent.
Definition at line 67 of file MTDDetLayerMeasurements.cc.
References mps_fire::result, and jetUpdater_cfi::sort.
Referenced by fastMeasurements(), groupedMeasurements(), and measurements().
|
private |
Definition at line 116 of file MTDDetLayerMeasurements.h.
Referenced by checkEvent(), checkMTDRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), recHits(), and setEvent().
|
private |
Definition at line 114 of file MTDDetLayerMeasurements.h.
Referenced by checkMTDRecHits().
|
private |
Definition at line 109 of file MTDDetLayerMeasurements.h.
Referenced by checkMTDRecHits().
|
private |
Definition at line 106 of file MTDDetLayerMeasurements.h.
Referenced by checkMTDRecHits().