test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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
28 
31 
33 
37 
38 //
39 // class decleration
40 //
41 
43  public:
46  void fillTiming( const reco::Muon& muon, reco::MuonTimeExtra& dtTime,
47  reco::MuonTimeExtra& cscTime, reco::MuonTime& rpcTime,
48  reco::MuonTimeExtra& combinedTime,
49  edm::Event& iEvent, const edm::EventSetup& iSetup );
50 
51  private:
53  void fillRPCTime( const reco::Muon& muon, reco::MuonTime &muTime, edm::Event& iEvent );
54  void rawFit(double &a, double &da, double &b, double &db,
55  const std::vector<double>& hitsx, const std::vector<double>& hitsy);
56  void addEcalTime( const reco::Muon& muon, TimeMeasurementSequence &cmbSeq );
57  void combineTMSequences( const reco::Muon& muon, const TimeMeasurementSequence& dtSeq,
58  const TimeMeasurementSequence& cscSeq, TimeMeasurementSequence &cmbSeq );
59 
60  std::unique_ptr<MuonSegmentMatcher> theMatcher_;
61  std::unique_ptr<DTTimingExtractor> theDTTimingExtractor_;
62  std::unique_ptr<CSCTimingExtractor> theCSCTimingExtractor_;
65 
66 };
67 
68 #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:151
MuonTimingFiller(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
int iEvent
Definition: GenABIO.cc:230
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:120
double a
Definition: hdecay.h:121