#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, 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... | |
Private Attributes | |
bool | enableCSCMeasurement |
bool | enableDTMeasurement |
bool | enableRPCMeasurement |
std::string | theCSCCheckName |
edm::EventID | theCSCEventID |
edm::InputTag | theCSCRecHitLabel |
edm::Handle< CSCSegmentCollection > | theCSCRecHits |
std::string | theDTCheckName |
edm::EventID | theDTEventID |
edm::InputTag | theDTRecHitLabel |
edm::Handle < DTRecSegment4DCollection > | theDTRecHits |
const edm::Event * | theEvent |
std::string | theRPCCheckName |
edm::EventID | theRPCEventID |
edm::InputTag | theRPCRecHitLabel |
edm::Handle< RPCRecHitCollection > | theRPCRecHits |
The class to access recHits and TrajectoryMeasurements from DetLayer.
The class to access recHits and TrajectoryMeasurements from DetLayer.
Definition at line 38 of file MuonDetLayerMeasurements.h.
typedef MuonTransientTrackingRecHit::MuonRecHitContainer MuonDetLayerMeasurements::MuonRecHitContainer |
Definition at line 40 of file MuonDetLayerMeasurements.h.
MuonDetLayerMeasurements::MuonDetLayerMeasurements | ( | edm::InputTag | dtlabel, |
edm::InputTag | csclabel, | ||
edm::InputTag | rpclabel, | ||
bool | enableDT = true , |
||
bool | enableCSC = true , |
||
bool | enableRPC = true |
||
) |
Definition at line 26 of file MuonDetLayerMeasurements.cc.
References theCSCCheckName, theDTCheckName, and theRPCCheckName.
|
virtual |
Definition at line 56 of file MuonDetLayerMeasurements.cc.
|
private |
Definition at line 145 of file MuonDetLayerMeasurements.cc.
References checkEvent(), edm::hlt::Exception, edm::Event::getByLabel(), edm::EventBase::id(), edm::HandleBase::isValid(), theCSCCheckName, theCSCEventID, theCSCRecHitLabel, theCSCRecHits, and theEvent.
Referenced by recHits().
|
private |
Definition at line 129 of file MuonDetLayerMeasurements.cc.
References checkEvent(), edm::hlt::Exception, edm::Event::getByLabel(), edm::EventBase::id(), edm::HandleBase::isValid(), theDTCheckName, theDTEventID, theDTRecHitLabel, theDTRecHits, and theEvent.
Referenced by recHits().
|
private |
check that the event is set, and throw otherwise
Definition at line 335 of file MuonDetLayerMeasurements.cc.
References edm::hlt::Exception, and theEvent.
Referenced by checkCSCRecHits(), checkDTRecHits(), checkRPCRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), and recHits().
|
private |
Definition at line 161 of file MuonDetLayerMeasurements.cc.
References checkEvent(), edm::hlt::Exception, edm::Event::getByLabel(), edm::EventBase::id(), edm::HandleBase::isValid(), theEvent, theRPCCheckName, theRPCEventID, theRPCRecHitLabel, 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 247 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 273 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 294 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 284 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 216 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 189 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 179 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 340 of file MuonDetLayerMeasurements.cc.
References GeometricSearchDet::basicComponents().
Referenced by MuonSeedBuilder::build(), fastMeasurements(), measurements(), CosmicMuonSeedGenerator::produce(), RPCSeedGenerator::produce(), recHits(), CosmicMuonTrajectoryBuilder::trajectories(), and CosmicMuonTrajectoryBuilder::unusedHits().
MuonRecHitContainer MuonDetLayerMeasurements::recHits | ( | const DetLayer * | layer | ) |
returns the rechits which are on the layer
Definition at line 354 of file MuonDetLayerMeasurements.cc.
References checkEvent(), recHits(), and theEvent.
|
private |
obtain TrackingRecHits from a DetLayer
Definition at line 58 of file MuonDetLayerMeasurements.cc.
References checkCSCRecHits(), checkDTRecHits(), checkRPCRecHits(), MuonSubdetId::CSC, DetId::det(), MuonSubdetId::DT, enableCSCMeasurement, enableDTMeasurement, enableRPCMeasurement, edm::hlt::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 330 of file MuonDetLayerMeasurements.cc.
References event(), and theEvent.
Referenced by CosmicMuonSeedGenerator::produce(), CosmicMuonTrajectoryBuilder::setEvent(), and StandAloneMuonFilter::setEvent().
|
private |
Definition at line 127 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 126 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 128 of file MuonDetLayerMeasurements.h.
Referenced by recHits().
|
private |
Definition at line 149 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 141 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits().
|
private |
Definition at line 123 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits().
|
private |
Definition at line 132 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), and recHits().
|
private |
Definition at line 147 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 140 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits().
|
private |
Definition at line 122 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits().
|
private |
Definition at line 131 of file MuonDetLayerMeasurements.h.
Referenced by checkDTRecHits(), and recHits().
|
private |
Definition at line 144 of file MuonDetLayerMeasurements.h.
Referenced by checkCSCRecHits(), checkDTRecHits(), checkEvent(), checkRPCRecHits(), fastMeasurements(), groupedMeasurements(), measurements(), recHits(), and setEvent().
|
private |
Definition at line 148 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits(), and MuonDetLayerMeasurements().
|
private |
Definition at line 142 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits().
|
private |
Definition at line 124 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits().
|
private |
Definition at line 133 of file MuonDetLayerMeasurements.h.
Referenced by checkRPCRecHits(), and recHits().