#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 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::InputTag | me0label, | ||
edm::ConsumesCollector & | iC, | ||
bool | enableDT = true , |
||
bool | enableCSC = true , |
||
bool | enableRPC = true , |
||
bool | enableGEM = true , |
||
bool | enableME0 = true |
||
) |
Definition at line 25 of file MuonDetLayerMeasurements.cc.
References edm::ConsumesCollector::consumes(), cscToken_, dtToken_, gemToken_, me0Token_, and rpcToken_.
|
virtual |
Definition at line 76 of file MuonDetLayerMeasurements.cc.
|
private |
Definition at line 207 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 195 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 412 of file MuonDetLayerMeasurements.cc.
References Exception, and theEvent.
Referenced by checkCSCRecHits(), checkDTRecHits(), checkGEMRecHits(), checkME0RecHits(), checkRPCRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), and recHits().
|
private |
Definition at line 237 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 252 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 222 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 336 of file MuonDetLayerMeasurements.cc.
References MeasurementEstimator::estimate(), iEvent, phase1PixelTopology::layer, recHits(), mps_fire::result, and jetsAK4_CHS_cff::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 359 of file MuonDetLayerMeasurements.cc.
References checkEvent(), fastMeasurements(), phase1PixelTopology::layer, 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 377 of file MuonDetLayerMeasurements.cc.
References iEvent, phase1PixelTopology::layer, measurements(), mps_fire::result, and jetsAK4_CHS_cff::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 368 of file MuonDetLayerMeasurements.cc.
References checkEvent(), groupedMeasurements(), phase1PixelTopology::layer, and theEvent.
MeasurementContainer MuonDetLayerMeasurements::measurements | ( | const DetLayer * | layer, |
const GeomDet * | det, | ||
const TrajectoryStateOnSurface & | stateOnDet, | ||
const MeasurementEstimator & | est, | ||
const edm::Event & | iEvent | ||
) |
Definition at line 301 of file MuonDetLayerMeasurements.cc.
References enableME0Measurement, MeasurementEstimator::estimate(), GeomDet::geographicalId(), totem::nt2::vfat::geoId(), iEvent, phase1PixelTopology::layer, LogDebug, MuonSubdetId::ME0, recHits(), mps_fire::result, and jetsAK4_CHS_cff::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 278 of file MuonDetLayerMeasurements.cc.
References iEvent, phase1PixelTopology::layer, LogDebug, measurements(), mps_fire::result, and jetsAK4_CHS_cff::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 270 of file MuonDetLayerMeasurements.cc.
References checkEvent(), phase1PixelTopology::layer, measurements(), and theEvent.
MuonRecHitContainer MuonDetLayerMeasurements::recHits | ( | const DetLayer * | layer, |
const edm::Event & | iEvent | ||
) |
returns the rechits which are on the layer
Definition at line 417 of file MuonDetLayerMeasurements.cc.
References iEvent, and phase1PixelTopology::layer.
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 429 of file MuonDetLayerMeasurements.cc.
References checkEvent(), phase1PixelTopology::layer, recHits(), and theEvent.
|
private |
obtain TrackingRecHits from a DetLayer
Definition at line 78 of file MuonDetLayerMeasurements.cc.
References checkCSCRecHits(), checkDTRecHits(), checkGEMRecHits(), checkME0RecHits(), checkRPCRecHits(), MuonSubdetId::CSC, MuonSubdetId::DT, enableCSCMeasurement, enableDTMeasurement, enableGEMMeasurement, enableME0Measurement, enableRPCMeasurement, Exception, MuonSubdetId::GEM, GeomDet::geographicalId(), totem::nt2::vfat::geoId(), iEvent, LogDebug, MuonSubdetId::ME0, FastTimerService_cff::range, mps_fire::result, MuonSubdetId::RPC, MuonTransientTrackingRecHit::specificBuild(), theCSCRecHits, theDTRecHits, theEvent, theGEMRecHits, theME0RecHits, and theRPCRecHits.
void MuonDetLayerMeasurements::setEvent | ( | const edm::Event & | event | ) |
set event
Definition at line 410 of file MuonDetLayerMeasurements.cc.
References edmPickEvents::event, and theEvent.
Referenced by CosmicMuonTrajectoryBuilder::setEvent(), and StandAloneMuonFilter::setEvent().
|
private |
Definition at line 122 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 121 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 128 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 127 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 130 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 131 of file MuonDetLayerMeasurements.h.
Referenced by measurements(), and recHits().
|
private |
Definition at line 129 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 124 of file MuonDetLayerMeasurements.h.
Referenced by checkGEMRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 125 of file MuonDetLayerMeasurements.h.
Referenced by checkME0RecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 123 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 148 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits().
|
private |
Definition at line 135 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), and recHits().
|
private |
Definition at line 147 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits().
|
private |
Definition at line 134 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits(), and recHits().
|
private |
Definition at line 153 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), checkDTRecHits(), checkEvent(), checkGEMRecHits(), checkME0RecHits(), checkRPCRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), recHits(), and setEvent().
|
private |
Definition at line 150 of file MuonDetLayerMeasurements.h.
Referenced by checkGEMRecHits().
|
private |
Definition at line 137 of file MuonDetLayerMeasurements.h.
Referenced by checkGEMRecHits(), and recHits().
|
private |
Definition at line 151 of file MuonDetLayerMeasurements.h.
Referenced by checkME0RecHits().
|
private |
Definition at line 138 of file MuonDetLayerMeasurements.h.
Referenced by checkME0RecHits(), and recHits().
|
private |
Definition at line 149 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits().
|
private |
Definition at line 136 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits(), and recHits().