#include <RecoMuon/MuonIdentification/src/DTTimingExtractor.cc>
Classes | |
class | TimeMeasurement |
Public Member Functions | |
DTTimingExtractor (const edm::ParameterSet &, MuonSegmentMatcher *segMatcher) | |
Constructor. More... | |
void | fillTiming (TimeMeasurementSequence &tmSequence, const std::vector< const DTRecSegment4D * > &segments, reco::TrackRef muonTrack, const edm::Event &iEvent, const edm::EventSetup &iSetup) |
void | fillTiming (TimeMeasurementSequence &tmSequence, reco::TrackRef muonTrack, const edm::Event &iEvent, const edm::EventSetup &iSetup) |
~DTTimingExtractor () | |
Destructor. More... | |
Private Member Functions | |
double | fitT0 (double &a, double &b, const std::vector< double > &xl, const std::vector< double > &yl, const std::vector< double > &xr, const std::vector< double > &yr) |
Private Attributes | |
bool | debug |
bool | doWireCorr_ |
bool | dropTheta_ |
edm::InputTag | DTSegmentTags_ |
bool | requireBothProjections_ |
double | theError_ |
unsigned int | theHitsMin_ |
MuonSegmentMatcher * | theMatcher |
double | thePruneCut_ |
std::unique_ptr< MuonServiceProxy > | theService |
double | theTimeOffset_ |
bool | useSegmentT0_ |
Extracts timing information associated to a muon track
Description: Produce timing information for a muon track using 1D DT hits from segments used to build the track
Definition at line 54 of file DTTimingExtractor.h.
DTTimingExtractor::DTTimingExtractor | ( | const edm::ParameterSet & | iConfig, |
MuonSegmentMatcher * | segMatcher | ||
) |
Constructor.
Definition at line 75 of file DTTimingExtractor.cc.
References edm::ParameterSet::getParameter(), theMatcher, and theService.
DTTimingExtractor::~DTTimingExtractor | ( | ) |
void DTTimingExtractor::fillTiming | ( | TimeMeasurementSequence & | tmSequence, |
const std::vector< const DTRecSegment4D * > & | segments, | ||
reco::TrackRef | muonTrack, | ||
const edm::Event & | iEvent, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 101 of file DTTimingExtractor.cc.
References a, b, gather_cfg::cout, debug, DTTimingExtractor::TimeMeasurement::distIP, doWireCorr_, DTTimingExtractor::TimeMeasurement::driftCell, dropTheta_, TimeMeasurementSequence::dstnc, fitT0(), TrackingRecHit::geographicalId(), edm::EventSetup::get(), mps_fire::i, GlobalTrackingGeometry::idToDet(), DTTimingExtractor::TimeMeasurement::isLeft, DTTimingExtractor::TimeMeasurement::isPhi, DTRecSegment2D::ist0Valid(), DTGeometry::layer(), DTEnums::Left, TimeMeasurementSequence::local_t0, PV3DBase< T, PVType, FrameType >::mag(), mag(), phi, DTTimingExtractor::TimeMeasurement::posInLayer, GloballyPositioned< T >::position(), GeomDet::position(), edm::ESHandle< T >::product(), Propagator::propagateWithPath(), PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, requireBothProjections_, DTRecSegment2D::specificRecHits(), mathSSE::sqrt(), DTChamberId::station(), relativeConstraints::station, DTTimingExtractor::TimeMeasurement::station, DTLayer::superLayer(), GeomDet::surface(), DTRecSegment2D::t0(), theError_, theHitsMin_, thePruneCut_, theService, theTimeOffset_, MuonServiceProxy::theTrackingGeometry, DTTimingExtractor::TimeMeasurement::timeCorr, GeomDet::toGlobal(), GeomDet::toLocal(), TimeMeasurementSequence::totalWeightInvbeta, TimeMeasurementSequence::totalWeightTimeVtx, useSegmentT0_, TimeMeasurementSequence::weightInvbeta, TimeMeasurementSequence::weightTimeVtx, PV3DBase< T, PVType, FrameType >::x(), y, and z.
Referenced by fillTiming().
void DTTimingExtractor::fillTiming | ( | TimeMeasurementSequence & | tmSequence, |
reco::TrackRef | muonTrack, | ||
const edm::Event & | iEvent, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 373 of file DTTimingExtractor.cc.
References gather_cfg::cout, debug, fillTiming(), MuonSegmentMatcher::matchDT(), and theMatcher.
|
private |
Definition at line 385 of file DTTimingExtractor.cc.
References delta, mps_fire::i, alignCSCRings::s, fftjetcommon_cfi::sx, and fftjetcommon_cfi::sy.
Referenced by fillTiming().
|
private |
Definition at line 96 of file DTTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 93 of file DTTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 94 of file DTTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 87 of file DTTimingExtractor.h.
|
private |
Definition at line 95 of file DTTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 91 of file DTTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 88 of file DTTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 99 of file DTTimingExtractor.h.
Referenced by DTTimingExtractor(), and fillTiming().
|
private |
Definition at line 89 of file DTTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 98 of file DTTimingExtractor.h.
Referenced by DTTimingExtractor(), and fillTiming().
|
private |
Definition at line 90 of file DTTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 92 of file DTTimingExtractor.h.
Referenced by fillTiming().