#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::InputTag gemlabel, edm::InputTag me0label, edm::ConsumesCollector &iC, bool enableDT=true, bool enableCSC=true, bool enableRPC=true, bool enableGEM=true, bool enableME0=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 | checkGEMRecHits () |
void | checkME0RecHits () |
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.
by C. Calabria & A. Sharma to include GEMs
The class to access recHits and TrajectoryMeasurements from DetLayer.
by C. Calabria & A.Sharma to include GEMs
Definition at line 45 of file MuonDetLayerMeasurements.h.
typedef MuonTransientTrackingRecHit::MuonRecHitContainer MuonDetLayerMeasurements::MuonRecHitContainer |
Definition at line 47 of file MuonDetLayerMeasurements.h.
MuonDetLayerMeasurements::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 |
||
) |
Definition at line 29 of file MuonDetLayerMeasurements.cc.
References edm::ConsumesCollector::consumes(), cscToken_, dtToken_, gemToken_, me0Token_, and rpcToken_.
|
virtual |
Definition at line 78 of file MuonDetLayerMeasurements.cc.
|
private |
Definition at line 224 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 208 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 460 of file MuonDetLayerMeasurements.cc.
References Exception, and theEvent.
Referenced by checkCSCRecHits(), checkDTRecHits(), checkGEMRecHits(), checkME0RecHits(), checkRPCRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), and recHits().
|
private |
Definition at line 257 of file MuonDetLayerMeasurements.cc.
References edm::Event::cacheIdentifier(), checkEvent(), Exception, gemToken_, edm::Event::getByToken(), edm::HandleBase::isValid(), theEvent, theGEMEventCacheID, and theGEMRecHits.
Referenced by recHits().
|
private |
Definition at line 273 of file MuonDetLayerMeasurements.cc.
References edm::Event::cacheIdentifier(), checkEvent(), Exception, edm::Event::getByToken(), edm::HandleBase::isValid(), LogDebug, me0Token_, theEvent, theME0EventCacheID, and theME0RecHits.
Referenced by recHits().
|
private |
Definition at line 241 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 372 of file MuonDetLayerMeasurements.cc.
References MeasurementEstimator::estimate(), recHits(), and mps_fire::result.
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 398 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 419 of file MuonDetLayerMeasurements.cc.
References GeometricSearchDet::groupedCompatibleDets(), iEvent, measurements(), and mps_fire::result.
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 409 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 331 of file MuonDetLayerMeasurements.cc.
References enableME0Measurement, MeasurementEstimator::estimate(), GeomDet::geographicalId(), LogDebug, MuonSubdetId::ME0, DetId::rawId(), recHits(), mps_fire::result, and DetId::subdetId().
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 303 of file MuonDetLayerMeasurements.cc.
References GeometricSearchDet::compatibleDets(), LogDebug, measurements(), and mps_fire::result.
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 293 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 465 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 479 of file MuonDetLayerMeasurements.cc.
References checkEvent(), recHits(), and theEvent.
|
private |
obtain TrackingRecHits from a DetLayer
Definition at line 80 of file MuonDetLayerMeasurements.cc.
References checkCSCRecHits(), checkDTRecHits(), checkGEMRecHits(), checkME0RecHits(), checkRPCRecHits(), MuonSubdetId::CSC, DetId::det(), MuonSubdetId::DT, enableCSCMeasurement, enableDTMeasurement, enableGEMMeasurement, enableME0Measurement, enableRPCMeasurement, Exception, MuonSubdetId::GEM, GeomDet::geographicalId(), iEvent, LogDebug, MuonSubdetId::ME0, DetId::rawId(), mps_fire::result, MuonSubdetId::RPC, MuonTransientTrackingRecHit::specificBuild(), DetId::subdetId(), theCSCRecHits, theDTRecHits, theEvent, theGEMRecHits, theME0RecHits, and theRPCRecHits.
void MuonDetLayerMeasurements::setEvent | ( | const edm::Event & | event | ) |
set event
Definition at line 455 of file MuonDetLayerMeasurements.cc.
References event(), and theEvent.
Referenced by CosmicMuonTrajectoryBuilder::setEvent(), and StandAloneMuonFilter::setEvent().
|
private |
Definition at line 136 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 135 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 143 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 142 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 145 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 146 of file MuonDetLayerMeasurements.h.
Referenced by measurements(), and recHits().
|
private |
Definition at line 144 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 138 of file MuonDetLayerMeasurements.h.
Referenced by checkGEMRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 139 of file MuonDetLayerMeasurements.h.
Referenced by checkME0RecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 137 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 163 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits().
|
private |
Definition at line 150 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), and recHits().
|
private |
Definition at line 162 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits().
|
private |
Definition at line 149 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits(), and recHits().
|
private |
Definition at line 168 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), checkDTRecHits(), checkEvent(), checkGEMRecHits(), checkME0RecHits(), checkRPCRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), recHits(), and setEvent().
|
private |
Definition at line 165 of file MuonDetLayerMeasurements.h.
Referenced by checkGEMRecHits().
|
private |
Definition at line 152 of file MuonDetLayerMeasurements.h.
Referenced by checkGEMRecHits(), and recHits().
|
private |
Definition at line 166 of file MuonDetLayerMeasurements.h.
Referenced by checkME0RecHits().
|
private |
Definition at line 153 of file MuonDetLayerMeasurements.h.
Referenced by checkME0RecHits(), and recHits().
|
private |
Definition at line 164 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits().
|
private |
Definition at line 151 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits(), and recHits().