CMS 3D CMS Logo

MuonTimingFiller.h
Go to the documentation of this file.
1 #ifndef MuonIdentification_MuonTimingFiller_h
2 #define MuonIdentification_MuonTimingFiller_h 1
3 
4 // -*- C++ -*-
5 //
6 // Package: MuonTimingFiller
7 // Class: MuonTimingFiller
8 //
16 //
17 // Original Author: Piotr Traczyk, CERN
18 // Created: Mon Mar 16 12:27:22 CET 2009
19 //
20 //
21 
22 // system include files
23 #include <memory>
24 
25 // user include files
28 
31 
33 
37 
38 //
39 // class decleration
40 //
41 
43 public:
46  void fillTiming(const reco::Muon& muon,
47  reco::MuonTimeExtra& dtTime,
48  reco::MuonTimeExtra& cscTime,
49  reco::MuonTime& rpcTime,
50  reco::MuonTimeExtra& combinedTime,
52  const edm::EventSetup& iSetup);
53 
54 private:
57  void rawFit(
58  double& a, double& da, double& b, double& db, const std::vector<double>& hitsx, const std::vector<double>& hitsy);
59  void addEcalTime(const reco::Muon& muon, TimeMeasurementSequence& cmbSeq);
61  const TimeMeasurementSequence& dtSeq,
62  const TimeMeasurementSequence& cscSeq,
63  TimeMeasurementSequence& cmbSeq);
64 
65  std::unique_ptr<MuonSegmentMatcher> theMatcher_;
66  std::unique_ptr<DTTimingExtractor> theDTTimingExtractor_;
67  std::unique_ptr<CSCTimingExtractor> theCSCTimingExtractor_;
70 };
71 
72 #endif
MuonTimingFiller::MuonTimingFiller
MuonTimingFiller(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
Definition: MuonTimingFiller.cc:43
MuonTimingFiller::errorEE_
double errorEE_
Definition: MuonTimingFiller.h:68
MuonTimingFiller::theDTTimingExtractor_
std::unique_ptr< DTTimingExtractor > theDTTimingExtractor_
Definition: MuonTimingFiller.h:66
EDProducer.h
muon
Definition: MuonCocktails.h:17
MuonTimingFiller::addEcalTime
void addEcalTime(const reco::Muon &muon, TimeMeasurementSequence &cmbSeq)
Definition: MuonTimingFiller.cc:253
MuonTimingFiller::fillTiming
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)
Definition: MuonTimingFiller.cc:76
Calorimetry_cff.da
da
Definition: Calorimetry_cff.py:155
MuonTimingFiller::ecalEcut_
double ecalEcut_
Definition: MuonTimingFiller.h:68
MuonTimingFiller::combineTMSequences
void combineTMSequences(const reco::Muon &muon, const TimeMeasurementSequence &dtSeq, const TimeMeasurementSequence &cscSeq, TimeMeasurementSequence &cmbSeq)
Definition: MuonTimingFiller.cc:226
reco::Muon
Definition: Muon.h:27
reco::MuonTime
Definition: MuonTime.h:5
dqmiodatasetharvest.db
db
Definition: dqmiodatasetharvest.py:119
MakerMacros.h
reco::MuonTimeExtra
Definition: MuonTimeExtra.h:15
MuonTimeExtra.h
DTTimingExtractor.h
MuonTimingFiller::theMatcher_
std::unique_ptr< MuonSegmentMatcher > theMatcher_
Definition: MuonTimingFiller.h:65
MuonTimingFiller::fillTimeFromMeasurements
void fillTimeFromMeasurements(const TimeMeasurementSequence &tmSeq, reco::MuonTimeExtra &muTime)
Definition: MuonTimingFiller.cc:146
b
double b
Definition: hdecay.h:118
edm::ParameterSet
Definition: ParameterSet.h:47
a
double a
Definition: hdecay.h:119
Event.h
MuonTimingFiller::useECAL_
bool useECAL_
Definition: MuonTimingFiller.h:69
iEvent
int iEvent
Definition: GenABIO.cc:224
MuonTimingFiller::errorEB_
double errorEB_
Definition: MuonTimingFiller.h:68
MuonTimingFiller::rawFit
void rawFit(double &a, double &da, double &b, double &db, const std::vector< double > &hitsx, const std::vector< double > &hitsy)
Definition: MuonTimingFiller.cc:282
edm::EventSetup
Definition: EventSetup.h:58
MuonTimingFiller::useCSC_
bool useCSC_
Definition: MuonTimingFiller.h:69
CSCTimingExtractor.h
Frameworkfwd.h
MuonTimingFiller
Definition: MuonTimingFiller.h:42
MuonTimingFiller::useDT_
bool useDT_
Definition: MuonTimingFiller.h:69
MuonTimingFiller::theCSCTimingExtractor_
std::unique_ptr< CSCTimingExtractor > theCSCTimingExtractor_
Definition: MuonTimingFiller.h:67
ParameterSet.h
edm::Event
Definition: Event.h:73
MuonTimingFiller::fillRPCTime
void fillRPCTime(const reco::Muon &muon, reco::MuonTime &muTime, edm::Event &iEvent)
Definition: MuonTimingFiller.cc:195
MuonTimingFiller::~MuonTimingFiller
~MuonTimingFiller()
Definition: MuonTimingFiller.cc:70
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
TimeMeasurementSequence
Definition: TimeMeasurementSequence.h:15