#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::ConsumesCollector &iC, bool enableDT=true, bool enableCSC=true, bool enableRPC=true, bool enableGEM=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 | 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 41 of file MuonDetLayerMeasurements.h.
typedef MuonTransientTrackingRecHit::MuonRecHitContainer MuonDetLayerMeasurements::MuonRecHitContainer |
Definition at line 43 of file MuonDetLayerMeasurements.h.
MuonDetLayerMeasurements::MuonDetLayerMeasurements | ( | edm::InputTag | dtlabel, |
edm::InputTag | csclabel, | ||
edm::InputTag | rpclabel, | ||
edm::InputTag | gemlabel, | ||
edm::ConsumesCollector & | iC, | ||
bool | enableDT = true , |
||
bool | enableCSC = true , |
||
bool | enableRPC = true , |
||
bool | enableGEM = true |
||
) |
Definition at line 27 of file MuonDetLayerMeasurements.cc.
References edm::ConsumesCollector::consumes(), cscToken_, dtToken_, gemToken_, and rpcToken_.
|
virtual |
Definition at line 70 of file MuonDetLayerMeasurements.cc.
|
private |
Definition at line 180 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 164 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 387 of file MuonDetLayerMeasurements.cc.
References Exception, and theEvent.
Referenced by checkCSCRecHits(), checkDTRecHits(), checkGEMRecHits(), checkRPCRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), and recHits().
|
private |
Definition at line 213 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 197 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 299 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 325 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 346 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 336 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 268 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 241 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 231 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 392 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 406 of file MuonDetLayerMeasurements.cc.
References checkEvent(), recHits(), and theEvent.
|
private |
obtain TrackingRecHits from a DetLayer
Definition at line 72 of file MuonDetLayerMeasurements.cc.
References checkCSCRecHits(), checkDTRecHits(), checkGEMRecHits(), checkRPCRecHits(), MuonSubdetId::CSC, DetId::det(), MuonSubdetId::DT, enableCSCMeasurement, enableDTMeasurement, enableGEMMeasurement, enableRPCMeasurement, Exception, MuonSubdetId::GEM, GeomDet::geographicalId(), iEvent, DetId::rawId(), query::result, MuonSubdetId::RPC, MuonTransientTrackingRecHit::specificBuild(), DetId::subdetId(), theCSCRecHits, theDTRecHits, theEvent, theGEMRecHits, and theRPCRecHits.
void MuonDetLayerMeasurements::setEvent | ( | const edm::Event & | event | ) |
set event
Definition at line 382 of file MuonDetLayerMeasurements.cc.
References event(), and theEvent.
Referenced by CosmicMuonTrajectoryBuilder::setEvent(), and StandAloneMuonFilter::setEvent().
|
private |
Definition at line 131 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 130 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 137 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 136 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 139 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 138 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 133 of file MuonDetLayerMeasurements.h.
Referenced by checkGEMRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 132 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 154 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits().
|
private |
Definition at line 143 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), and recHits().
|
private |
Definition at line 153 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits().
|
private |
Definition at line 142 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits(), and recHits().
|
private |
Definition at line 158 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), checkDTRecHits(), checkEvent(), checkGEMRecHits(), checkRPCRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), recHits(), and setEvent().
|
private |
Definition at line 156 of file MuonDetLayerMeasurements.h.
Referenced by checkGEMRecHits().
|
private |
Definition at line 145 of file MuonDetLayerMeasurements.h.
Referenced by checkGEMRecHits(), and recHits().
|
private |
Definition at line 155 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits().
|
private |
Definition at line 144 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits(), and recHits().