#include <RecoMuon/MuonIdentification/src/MuonTimingFiller.cc>
Public Member Functions | |
void | fillTiming (const reco::Muon &muon, reco::MuonTimeExtra &dtTime, reco::MuonTimeExtra &cscTime, 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 | 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_ |
CSCTimingExtractor * | theCSCTimingExtractor_ |
DTTimingExtractor * | theDTTimingExtractor_ |
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::getParameter(), theCSCTimingExtractor_, theDTTimingExtractor_, useCSC_, useDT_, and useECAL_.
MuonTimingFiller::~MuonTimingFiller | ( | ) |
Definition at line 64 of file MuonTimingFiller.cc.
References theCSCTimingExtractor_, and theDTTimingExtractor_.
|
private |
Definition at line 191 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::totalWeightVertex, TimeMeasurementSequence::weightInvbeta, and TimeMeasurementSequence::weightVertex.
Referenced by fillTiming().
|
private |
Definition at line 163 of file MuonTimingFiller.cc.
References TimeMeasurementSequence::dstnc, i, TimeMeasurementSequence::local_t0, TimeMeasurementSequence::totalWeightInvbeta, TimeMeasurementSequence::totalWeightVertex, useCSC_, useDT_, TimeMeasurementSequence::weightInvbeta, and TimeMeasurementSequence::weightVertex.
Referenced by fillTiming().
|
private |
Definition at line 115 of file MuonTimingFiller.cc.
References diffTreeTool::diff, TimeMeasurementSequence::dstnc, 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::totalWeightVertex, TimeMeasurementSequence::weightInvbeta, TimeMeasurementSequence::weightVertex, x, and detailsBasic3DVector::y.
Referenced by fillTiming().
void MuonTimingFiller::fillTiming | ( | const reco::Muon & | muon, |
reco::MuonTimeExtra & | dtTime, | ||
reco::MuonTimeExtra & | cscTime, | ||
reco::MuonTimeExtra & | combinedTime, | ||
edm::Event & | iEvent, | ||
const edm::EventSetup & | iSetup | ||
) |
Definition at line 76 of file MuonTimingFiller.cc.
References addEcalTime(), reco::Muon::combinedMuon(), combineTMSequences(), reco::MuonTimeExtra::direction(), fillTimeFromMeasurements(), CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), reco::MuonTimeExtra::freeInverseBeta(), reco::MuonTimeExtra::freeInverseBetaErr(), iEvent, reco::MuonTimeExtra::inverseBeta(), reco::MuonTimeExtra::inverseBetaErr(), edm::Ref< C, T, F >::isNull(), LogTrace, 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(), and MuonIdProducer::produce().
|
private |
Definition at line 223 of file MuonTimingFiller.cc.
References i, alignCSCRings::s, mathSSE::sqrt(), x, and detailsBasic3DVector::y.
Referenced by fillTimeFromMeasurements().
|
private |
Definition at line 60 of file MuonTimingFiller.h.
Referenced by addEcalTime(), and MuonTimingFiller().
|
private |
Definition at line 60 of file MuonTimingFiller.h.
Referenced by addEcalTime(), and MuonTimingFiller().
|
private |
Definition at line 60 of file MuonTimingFiller.h.
Referenced by addEcalTime(), and MuonTimingFiller().
|
private |
Definition at line 59 of file MuonTimingFiller.h.
Referenced by fillTiming(), MuonTimingFiller(), and ~MuonTimingFiller().
|
private |
Definition at line 58 of file MuonTimingFiller.h.
Referenced by fillTiming(), MuonTimingFiller(), and ~MuonTimingFiller().
|
private |
Definition at line 61 of file MuonTimingFiller.h.
Referenced by combineTMSequences(), and MuonTimingFiller().
|
private |
Definition at line 61 of file MuonTimingFiller.h.
Referenced by combineTMSequences(), and MuonTimingFiller().
|
private |
Definition at line 61 of file MuonTimingFiller.h.
Referenced by fillTiming(), and MuonTimingFiller().