#include <RecoMuon/MuonIdentification/src/CSCTimingExtractor.cc>
Classes | |
class | TimeMeasurement |
Public Member Functions | |
CSCTimingExtractor (const edm::ParameterSet &, MuonSegmentMatcher *segMatcher, edm::ConsumesCollector &) | |
Constructor. More... | |
void | fillTiming (TimeMeasurementSequence &tmSequence, const std::vector< const CSCSegment * > &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) |
~CSCTimingExtractor () | |
Destructor. More... | |
Private Attributes | |
edm::InputTag | CSCSegmentTags_ |
bool | debug |
unsigned int | theHitsMin_ |
MuonSegmentMatcher * | theMatcher |
edm::ESGetToken< Propagator, TrackingComponentsRecord > | thePropagatorToken |
double | thePruneCut_ |
std::unique_ptr< MuonServiceProxy > | theService |
double | theStripError_ |
double | theStripTimeOffset_ |
double | theWireError_ |
double | theWireTimeOffset_ |
bool | UseStripTime |
bool | UseWireTime |
Extracts timing information associated to a muon track
Description: Produce timing information for a muon track using CSC hits from segments used to build the track
Definition at line 54 of file CSCTimingExtractor.h.
CSCTimingExtractor::CSCTimingExtractor | ( | const edm::ParameterSet & | iConfig, |
MuonSegmentMatcher * | segMatcher, | ||
edm::ConsumesCollector & | iC | ||
) |
Constructor.
Definition at line 66 of file CSCTimingExtractor.cc.
References edm::ParameterSet::getParameter(), theMatcher, and theService.
CSCTimingExtractor::~CSCTimingExtractor | ( | ) |
void CSCTimingExtractor::fillTiming | ( | TimeMeasurementSequence & | tmSequence, |
const std::vector< const CSCSegment * > & | segments, | ||
reco::TrackRef | muonTrack, | ||
const edm::Event & | iEvent, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 89 of file CSCTimingExtractor.cc.
References gather_cfg::cout, debug, CSCTimingExtractor::TimeMeasurement::distIP, TimeMeasurementSequence::dstnc, edm::EventSetup::getData(), mps_fire::i, GlobalTrackingGeometry::idToDet(), TimeMeasurementSequence::local_t0, mag(), Propagator::propagateWithPath(), mathSSE::sqrt(), GeomDet::surface(), thePropagatorToken, thePruneCut_, theService, theStripError_, theStripTimeOffset_, MuonServiceProxy::theTrackingGeometry, theWireError_, theWireTimeOffset_, CSCTimingExtractor::TimeMeasurement::timeCorr, GeomDet::toGlobal(), TimeMeasurementSequence::totalWeightInvbeta, TimeMeasurementSequence::totalWeightTimeVtx, UseStripTime, UseWireTime, TimeMeasurementSequence::weightInvbeta, CSCTimingExtractor::TimeMeasurement::weightInvbeta, TimeMeasurementSequence::weightTimeVtx, and CSCTimingExtractor::TimeMeasurement::weightTimeVtx.
Referenced by fillTiming().
void CSCTimingExtractor::fillTiming | ( | TimeMeasurementSequence & | tmSequence, |
reco::TrackRef | muonTrack, | ||
const edm::Event & | iEvent, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 248 of file CSCTimingExtractor.cc.
References gather_cfg::cout, debug, fillTiming(), MuonSegmentMatcher::matchCSC(), sistrip::SpyUtilities::range(), and theMatcher.
|
private |
Definition at line 82 of file CSCTimingExtractor.h.
|
private |
Definition at line 91 of file CSCTimingExtractor.h.
Referenced by fillTiming(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), and runTauIdMVA.TauIDEmbedder::runTauID().
|
private |
Definition at line 83 of file CSCTimingExtractor.h.
|
private |
Definition at line 94 of file CSCTimingExtractor.h.
Referenced by CSCTimingExtractor(), and fillTiming().
|
private |
Definition at line 95 of file CSCTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 84 of file CSCTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 93 of file CSCTimingExtractor.h.
Referenced by CSCTimingExtractor(), and fillTiming().
|
private |
Definition at line 87 of file CSCTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 85 of file CSCTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 88 of file CSCTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 86 of file CSCTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 90 of file CSCTimingExtractor.h.
Referenced by fillTiming().
|
private |
Definition at line 89 of file CSCTimingExtractor.h.
Referenced by fillTiming().