CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
27 
29 
31 
35 
36 //
37 // class decleration
38 //
39 
41 public:
44  void fillTiming(const reco::Muon& muon,
45  reco::MuonTimeExtra& dtTime,
46  reco::MuonTimeExtra& cscTime,
47  reco::MuonTime& rpcTime,
48  reco::MuonTimeExtra& combinedTime,
50  const edm::EventSetup& iSetup);
51 
52 private:
54  void fillRPCTime(const reco::Muon& muon, reco::MuonTime& muTime, edm::Event& iEvent);
55  void rawFit(
56  double& a, double& da, double& b, double& db, const std::vector<double>& hitsx, const std::vector<double>& hitsy);
57  void addEcalTime(const reco::Muon& muon, TimeMeasurementSequence& cmbSeq);
58  void combineTMSequences(const reco::Muon& muon,
59  const TimeMeasurementSequence& dtSeq,
60  const TimeMeasurementSequence& cscSeq,
61  TimeMeasurementSequence& cmbSeq);
62 
63  std::unique_ptr<MuonSegmentMatcher> theMatcher_;
64  std::unique_ptr<DTTimingExtractor> theDTTimingExtractor_;
65  std::unique_ptr<CSCTimingExtractor> theCSCTimingExtractor_;
68 };
69 
70 #endif
void addEcalTime(const reco::Muon &muon, TimeMeasurementSequence &cmbSeq)
void combineTMSequences(const reco::Muon &muon, const TimeMeasurementSequence &dtSeq, const TimeMeasurementSequence &cscSeq, TimeMeasurementSequence &cmbSeq)
std::unique_ptr< DTTimingExtractor > theDTTimingExtractor_
void fillRPCTime(const reco::Muon &muon, reco::MuonTime &muTime, edm::Event &iEvent)
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)
tuple db
Definition: EcalCondDB.py:153
MuonTimingFiller(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
int iEvent
Definition: GenABIO.cc:224
void rawFit(double &a, double &da, double &b, double &db, const std::vector< double > &hitsx, const std::vector< double > &hitsy)
std::unique_ptr< MuonSegmentMatcher > theMatcher_
void fillTimeFromMeasurements(const TimeMeasurementSequence &tmSeq, reco::MuonTimeExtra &muTime)
std::unique_ptr< CSCTimingExtractor > theCSCTimingExtractor_
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119