#include <RecoMuon/MuonIdentification/src/MuonTimingFiller.cc>
Public Member Functions | |
void | fillTiming (const reco::Muon &muon, reco::MuonTimeExtra &dtTime, reco::MuonTimeExtra &cscTime, reco::MuonTime &rpcTime, reco::MuonTimeExtra &combinedTime, edm::Event &iEvent, const edm::EventSetup &iSetup) |
MuonTimingFiller (const edm::ParameterSet &, edm::ConsumesCollector &&iC) | |
~MuonTimingFiller () | |
Private Member Functions | |
void | addEcalTime (const reco::Muon &muon, TimeMeasurementSequence &cmbSeq) |
void | combineTMSequences (const reco::Muon &muon, const TimeMeasurementSequence &dtSeq, const TimeMeasurementSequence &cscSeq, TimeMeasurementSequence &cmbSeq) |
void | fillRPCTime (const reco::Muon &muon, reco::MuonTime &muTime, edm::Event &iEvent) |
void | fillTimeFromMeasurements (const TimeMeasurementSequence &tmSeq, reco::MuonTimeExtra &muTime) |
void | rawFit (double &a, double &da, double &b, double &db, const std::vector< double > &hitsx, const std::vector< double > &hitsy) |
Private Attributes | |
double | ecalEcut_ |
double | errorEB_ |
double | errorEE_ |
std::unique_ptr< CSCTimingExtractor > | theCSCTimingExtractor_ |
std::unique_ptr< DTTimingExtractor > | theDTTimingExtractor_ |
std::unique_ptr< MuonSegmentMatcher > | theMatcher_ |
bool | useCSC_ |
bool | useDT_ |
bool | useECAL_ |
Description: Class filling the DT, CSC and Combined MuonTimeExtra objects
Implementation: <Notes on="" implementation>="">
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 42 of file MuonTimingFiller.h.
MuonTimingFiller::MuonTimingFiller | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 44 of file MuonTimingFiller.cc.
References ecalEcut_, errorEB_, errorEE_, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), theCSCTimingExtractor_, theDTTimingExtractor_, theMatcher_, useCSC_, useDT_, and useECAL_.
MuonTimingFiller::~MuonTimingFiller | ( | ) |
Definition at line 74 of file MuonTimingFiller.cc.
|
private |
Definition at line 262 of file MuonTimingFiller.cc.
References reco::Muon::calEnergy(), TimeMeasurementSequence::dstnc, reco::MuonEnergy::ecal_id, reco::MuonEnergy::ecal_position, reco::MuonEnergy::ecal_time, EcalBarrel, ecalEcut_, reco::MuonEnergy::emMax, errorEB_, errorEE_, reco::Muon::isEnergyValid(), TimeMeasurementSequence::local_t0, DetId::subdetId(), TimeMeasurementSequence::totalWeightInvbeta, TimeMeasurementSequence::totalWeightTimeVtx, TimeMeasurementSequence::weightInvbeta, and TimeMeasurementSequence::weightTimeVtx.
Referenced by fillTiming().
|
private |
Definition at line 234 of file MuonTimingFiller.cc.
References TimeMeasurementSequence::dstnc, mps_fire::i, TimeMeasurementSequence::local_t0, TimeMeasurementSequence::totalWeightInvbeta, TimeMeasurementSequence::totalWeightTimeVtx, useCSC_, useDT_, TimeMeasurementSequence::weightInvbeta, and TimeMeasurementSequence::weightTimeVtx.
Referenced by fillTiming().
|
private |
Definition at line 202 of file MuonTimingFiller.cc.
References edm::Ref< C, T, F >::isNull(), SiStripPI::max, reco::MuonTime::nDof, mathSSE::sqrt(), reco::Muon::standAloneMuon(), theMatcher_, protons_cff::time, reco::MuonTime::timeAtIpInOut, reco::MuonTime::timeAtIpInOutErr, reco::MuonTime::timeAtIpOutIn, and reco::MuonTime::timeAtIpOutInErr.
Referenced by fillTiming().
|
private |
Definition at line 154 of file MuonTimingFiller.cc.
References diffTreeTool::diff, TimeMeasurementSequence::dstnc, mps_fire::i, TimeMeasurementSequence::local_t0, rawFit(), reco::MuonTimeExtra::setFreeInverseBeta(), reco::MuonTimeExtra::setFreeInverseBetaErr(), reco::MuonTimeExtra::setInverseBeta(), reco::MuonTimeExtra::setInverseBetaErr(), reco::MuonTimeExtra::setNDof(), reco::MuonTimeExtra::setTimeAtIpInOut(), reco::MuonTimeExtra::setTimeAtIpInOutErr(), reco::MuonTimeExtra::setTimeAtIpOutIn(), reco::MuonTimeExtra::setTimeAtIpOutInErr(), mathSSE::sqrt(), TimeMeasurementSequence::totalWeightInvbeta, TimeMeasurementSequence::totalWeightTimeVtx, TimeMeasurementSequence::weightInvbeta, TimeMeasurementSequence::weightTimeVtx, x, and y.
Referenced by fillTiming().
void MuonTimingFiller::fillTiming | ( | const reco::Muon & | muon, |
reco::MuonTimeExtra & | dtTime, | ||
reco::MuonTimeExtra & | cscTime, | ||
reco::MuonTime & | rpcTime, | ||
reco::MuonTimeExtra & | combinedTime, | ||
edm::Event & | iEvent, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 84 of file MuonTimingFiller.cc.
References addEcalTime(), reco::MuonSegmentMatch::BelongsToTrackByDR, reco::MuonSegmentMatch::BestInStationByDR, relativeConstraints::chamber, reco::Muon::combinedMuon(), combineTMSequences(), cscSegments_cfi::cscSegments, reco::MuonTimeExtra::direction(), fillRPCTime(), fillTimeFromMeasurements(), reco::MuonTimeExtra::freeInverseBeta(), reco::MuonTimeExtra::freeInverseBetaErr(), iEvent, reco::Muon::innerTrack(), reco::MuonTimeExtra::inverseBeta(), reco::MuonTimeExtra::inverseBetaErr(), edm::Ref< C, T, F >::isNull(), reco::Muon::isTrackerMuon(), LogTrace, reco::Muon::matches(), reco::MuonTimeExtra::nDof(), reco::Muon::standAloneMuon(), theCSCTimingExtractor_, theDTTimingExtractor_, reco::MuonTimeExtra::timeAtIpInOut(), reco::MuonTimeExtra::timeAtIpInOutErr(), reco::MuonTimeExtra::timeAtIpOutIn(), reco::MuonTimeExtra::timeAtIpOutInErr(), and useECAL_.
Referenced by MuonTimingProducer::produce().
|
private |
Definition at line 294 of file MuonTimingFiller.cc.
References edmIntegrityCheck::d, mps_fire::i, alignCSCRings::s, mathSSE::sqrt(), fftjetcommon_cfi::sx, fftjetcommon_cfi::sy, x, and y.
Referenced by fillTimeFromMeasurements().
|
private |
Definition at line 63 of file MuonTimingFiller.h.
Referenced by addEcalTime(), and MuonTimingFiller().
|
private |
Definition at line 63 of file MuonTimingFiller.h.
Referenced by addEcalTime(), and MuonTimingFiller().
|
private |
Definition at line 63 of file MuonTimingFiller.h.
Referenced by addEcalTime(), and MuonTimingFiller().
|
private |
Definition at line 62 of file MuonTimingFiller.h.
Referenced by fillTiming(), and MuonTimingFiller().
|
private |
Definition at line 61 of file MuonTimingFiller.h.
Referenced by fillTiming(), and MuonTimingFiller().
|
private |
Definition at line 60 of file MuonTimingFiller.h.
Referenced by fillRPCTime(), and MuonTimingFiller().
|
private |
Definition at line 64 of file MuonTimingFiller.h.
Referenced by combineTMSequences(), and MuonTimingFiller().
|
private |
Definition at line 64 of file MuonTimingFiller.h.
Referenced by combineTMSequences(), and MuonTimingFiller().
|
private |
Definition at line 64 of file MuonTimingFiller.h.
Referenced by fillTiming(), and MuonTimingFiller().