#include <MuonDetLayerMeasurements.h>
Public Types | |
typedef MuonTransientTrackingRecHit::MuonRecHitContainer | MuonRecHitContainer |
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... | |
MuonDetLayerMeasurements (edm::InputTag dtlabel, edm::InputTag csclabel, edm::InputTag rpclabel, edm::ConsumesCollector &iC, bool enableDT=true, bool enableCSC=true, bool enableRPC=true) | |
MuonRecHitContainer | recHits (const DetLayer *layer, const edm::Event &iEvent) |
returns the rechits which are on the layer More... | |
MuonRecHitContainer | recHits (const DetLayer *layer) |
returns the rechits which are on the layer More... | |
void | setEvent (const edm::Event &) |
set event More... | |
virtual | ~MuonDetLayerMeasurements () |
Private Member Functions | |
void | checkCSCRecHits () |
void | checkDTRecHits () |
void | checkEvent () const |
check that the event is set, and throw otherwise More... | |
void | checkRPCRecHits () |
MuonRecHitContainer | recHits (const GeomDet *, const edm::Event &iEvent) |
obtain TrackingRecHits from a DetLayer More... | |
The class to access recHits and TrajectoryMeasurements from DetLayer.
Definition at line 39 of file MuonDetLayerMeasurements.h.
typedef MuonTransientTrackingRecHit::MuonRecHitContainer MuonDetLayerMeasurements::MuonRecHitContainer |
Definition at line 41 of file MuonDetLayerMeasurements.h.
MuonDetLayerMeasurements::MuonDetLayerMeasurements | ( | edm::InputTag | dtlabel, |
edm::InputTag | csclabel, | ||
edm::InputTag | rpclabel, | ||
edm::ConsumesCollector & | iC, | ||
bool | enableDT = true , |
||
bool | enableCSC = true , |
||
bool | enableRPC = true |
||
) |
Definition at line 24 of file MuonDetLayerMeasurements.cc.
References edm::ConsumesCollector::consumes(), cscToken_, dtToken_, and rpcToken_.
|
virtual |
Definition at line 59 of file MuonDetLayerMeasurements.cc.
|
private |
Definition at line 148 of file MuonDetLayerMeasurements.cc.
References edm::Event::cacheIdentifier(), checkEvent(), cscToken_, Exception, edm::Event::getByToken(), edm::HandleBase::isValid(), theCSCEventCacheID, theCSCRecHits, and theEvent.
Referenced by recHits().
|
private |
Definition at line 132 of file MuonDetLayerMeasurements.cc.
References edm::Event::cacheIdentifier(), checkEvent(), dtToken_, Exception, edm::Event::getByToken(), edm::HandleBase::isValid(), theDTEventCacheID, theDTRecHits, and theEvent.
Referenced by recHits().
|
private |
check that the event is set, and throw otherwise
Definition at line 340 of file MuonDetLayerMeasurements.cc.
References Exception, and theEvent.
Referenced by checkCSCRecHits(), checkDTRecHits(), checkRPCRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), and recHits().
|
private |
Definition at line 165 of file MuonDetLayerMeasurements.cc.
References edm::Event::cacheIdentifier(), checkEvent(), Exception, edm::Event::getByToken(), edm::HandleBase::isValid(), rpcToken_, theEvent, theRPCEventCacheID, and theRPCRecHits.
Referenced by recHits().
MeasurementContainer MuonDetLayerMeasurements::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 252 of file MuonDetLayerMeasurements.cc.
References MeasurementEstimator::estimate(), recHits(), query::result, and python.multivaluedict::sort().
Referenced by fastMeasurements().
MeasurementContainer MuonDetLayerMeasurements::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 278 of file MuonDetLayerMeasurements.cc.
References checkEvent(), fastMeasurements(), and theEvent.
std::vector< TrajectoryMeasurementGroup > MuonDetLayerMeasurements::groupedMeasurements | ( | const DetLayer * | layer, |
const TrajectoryStateOnSurface & | startingState, | ||
const Propagator & | prop, | ||
const MeasurementEstimator & | est, | ||
const edm::Event & | iEvent | ||
) |
Definition at line 299 of file MuonDetLayerMeasurements.cc.
References GeometricSearchDet::groupedCompatibleDets(), iEvent, measurements(), query::result, and python.multivaluedict::sort().
Referenced by CosmicMuonTrajectoryBuilder::findBestMeasurements(), StandAloneMuonFilter::findBestMeasurements(), and groupedMeasurements().
std::vector< TrajectoryMeasurementGroup > MuonDetLayerMeasurements::groupedMeasurements | ( | const DetLayer * | layer, |
const TrajectoryStateOnSurface & | startingState, | ||
const Propagator & | prop, | ||
const MeasurementEstimator & | est | ||
) |
Definition at line 289 of file MuonDetLayerMeasurements.cc.
References checkEvent(), groupedMeasurements(), and theEvent.
MeasurementContainer MuonDetLayerMeasurements::measurements | ( | const DetLayer * | layer, |
const GeomDet * | det, | ||
const TrajectoryStateOnSurface & | stateOnDet, | ||
const MeasurementEstimator & | est, | ||
const edm::Event & | iEvent | ||
) |
Definition at line 221 of file MuonDetLayerMeasurements.cc.
References MeasurementEstimator::estimate(), LogTrace, recHits(), query::result, and python.multivaluedict::sort().
Referenced by CosmicMuonTrajectoryBuilder::findBestMeasurements(), StandAloneMuonFilter::findBestMeasurements(), groupedMeasurements(), and measurements().
MeasurementContainer MuonDetLayerMeasurements::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 194 of file MuonDetLayerMeasurements.cc.
References GeometricSearchDet::compatibleDets(), LogTrace, measurements(), query::result, and python.multivaluedict::sort().
MeasurementContainer MuonDetLayerMeasurements::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 184 of file MuonDetLayerMeasurements.cc.
References checkEvent(), measurements(), and theEvent.
MuonRecHitContainer MuonDetLayerMeasurements::recHits | ( | const DetLayer * | layer, |
const edm::Event & | iEvent | ||
) |
returns the rechits which are on the layer
Definition at line 345 of file MuonDetLayerMeasurements.cc.
References GeometricSearchDet::basicComponents().
Referenced by MuonSeedBuilder::build(), fastMeasurements(), measurements(), MuonSeedOrcaPatternRecognition::produce(), recHits(), CosmicMuonTrajectoryBuilder::trajectories(), and CosmicMuonTrajectoryBuilder::unusedHits().
MuonRecHitContainer MuonDetLayerMeasurements::recHits | ( | const DetLayer * | layer | ) |
returns the rechits which are on the layer
Definition at line 359 of file MuonDetLayerMeasurements.cc.
References checkEvent(), recHits(), and theEvent.
|
private |
obtain TrackingRecHits from a DetLayer
Definition at line 61 of file MuonDetLayerMeasurements.cc.
References checkCSCRecHits(), checkDTRecHits(), checkRPCRecHits(), MuonSubdetId::CSC, DetId::det(), MuonSubdetId::DT, enableCSCMeasurement, enableDTMeasurement, enableRPCMeasurement, Exception, GeomDet::geographicalId(), iEvent, DetId::rawId(), query::result, MuonSubdetId::RPC, MuonTransientTrackingRecHit::specificBuild(), DetId::subdetId(), theCSCRecHits, theDTRecHits, theEvent, and theRPCRecHits.
void MuonDetLayerMeasurements::setEvent | ( | const edm::Event & | event | ) |
set event
Definition at line 335 of file MuonDetLayerMeasurements.cc.
References event(), and theEvent.
Referenced by CosmicMuonTrajectoryBuilder::setEvent(), and StandAloneMuonFilter::setEvent().
|
private |
Definition at line 127 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 126 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 132 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 131 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 133 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 128 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 146 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits().
|
private |
Definition at line 137 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), and recHits().
|
private |
Definition at line 145 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits().
|
private |
Definition at line 136 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits(), and recHits().
|
private |
Definition at line 149 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), checkDTRecHits(), checkEvent(), checkRPCRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), recHits(), and setEvent().
|
private |
Definition at line 147 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits().
|
private |
Definition at line 138 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits(), and recHits().