#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 43 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 70 of file MuonTimingFiller.cc.
|
private |
Definition at line 253 of file MuonTimingFiller.cc.
References TimeMeasurementSequence::dstnc, reco::MuonEnergy::ecal_id, reco::MuonEnergy::ecal_position, reco::MuonEnergy::ecal_time, EcalBarrel, ecalEcut_, reco::MuonEnergy::emMax, errorEB_, errorEE_, TimeMeasurementSequence::local_t0, DetId::subdetId(), TimeMeasurementSequence::totalWeightInvbeta, TimeMeasurementSequence::totalWeightTimeVtx, TimeMeasurementSequence::weightInvbeta, and TimeMeasurementSequence::weightTimeVtx.
Referenced by fillTiming().
|
private |
Definition at line 226 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 195 of file MuonTimingFiller.cc.
References iEvent, edm::Ref< C, T, F >::isNull(), SiStripPI::max, reco::MuonTime::nDof, mathSSE::sqrt(), theMatcher_, protons_cff::time, reco::MuonTime::timeAtIpInOut, reco::MuonTime::timeAtIpInOutErr, reco::MuonTime::timeAtIpOutIn, and reco::MuonTime::timeAtIpOutInErr.
Referenced by fillTiming().
|
private |
Definition at line 146 of file MuonTimingFiller.cc.
References change_name::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 76 of file MuonTimingFiller.cc.
References addEcalTime(), reco::MuonSegmentMatch::BelongsToTrackByDR, reco::MuonSegmentMatch::BestInStationByDR, relativeConstraints::chamber, combineTMSequences(), dtChamberEfficiency_cfi::cscSegments, reco::MuonTimeExtra::direction(), fillRPCTime(), fillTimeFromMeasurements(), reco::MuonTimeExtra::freeInverseBeta(), reco::MuonTimeExtra::freeInverseBetaErr(), iEvent, reco::MuonTimeExtra::inverseBeta(), reco::MuonTimeExtra::inverseBetaErr(), LogTrace, reco::MuonTimeExtra::nDof(), theCSCTimingExtractor_, theDTTimingExtractor_, reco::MuonTimeExtra::timeAtIpInOut(), reco::MuonTimeExtra::timeAtIpInOutErr(), reco::MuonTimeExtra::timeAtIpOutIn(), reco::MuonTimeExtra::timeAtIpOutInErr(), and useECAL_.
Referenced by MuonTimingProducer::produce().
|
private |
Definition at line 282 of file MuonTimingFiller.cc.
References ztail::d, mps_fire::i, alignCSCRings::s, mathSSE::sqrt(), fftjetcommon_cfi::sx, fftjetcommon_cfi::sy, x, and y.
Referenced by fillTimeFromMeasurements().
|
private |
Definition at line 68 of file MuonTimingFiller.h.
Referenced by addEcalTime(), and MuonTimingFiller().
|
private |
Definition at line 68 of file MuonTimingFiller.h.
Referenced by addEcalTime(), and MuonTimingFiller().
|
private |
Definition at line 68 of file MuonTimingFiller.h.
Referenced by addEcalTime(), and MuonTimingFiller().
|
private |
Definition at line 67 of file MuonTimingFiller.h.
Referenced by fillTiming(), and MuonTimingFiller().
|
private |
Definition at line 66 of file MuonTimingFiller.h.
Referenced by fillTiming(), and MuonTimingFiller().
|
private |
Definition at line 65 of file MuonTimingFiller.h.
Referenced by fillRPCTime(), and MuonTimingFiller().
|
private |
Definition at line 69 of file MuonTimingFiller.h.
Referenced by combineTMSequences(), and MuonTimingFiller().
|
private |
Definition at line 69 of file MuonTimingFiller.h.
Referenced by combineTMSequences(), and MuonTimingFiller().
|
private |
Definition at line 69 of file MuonTimingFiller.h.
Referenced by fillTiming(), and MuonTimingFiller().