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:
56  void fillRPCTime(const reco::Muon& muon, reco::MuonTime& muTime, edm::Event& iEvent);
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);
60  void combineTMSequences(const reco::Muon& muon,
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
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)
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