Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-10-19 10:28:05

0001 #ifndef CalibMuon_DTCalibration_DTVDriftMeanTimer_h
0002 #define CalibMuon_DTCalibration_DTVDriftMeanTimer_h
0003 
0004 /** \class DTVDriftMeanTimer
0005  *  Concrete implementation of a DTVDriftBaseAlgo.
0006  *  Computes vDrift using the Mean Timer algorithm.
0007  *
0008  *  \author A. Vilela Pereira
0009  */
0010 
0011 #include "CalibMuon/DTCalibration/interface/DTVDriftBaseAlgo.h"
0012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0013 #include "FWCore/Framework/interface/ConsumesCollector.h"
0014 
0015 class TFile;
0016 class DTMeanTimerFitter;
0017 
0018 namespace dtCalibration {
0019 
0020   class DTVDriftMeanTimer : public DTVDriftBaseAlgo {
0021   public:
0022     DTVDriftMeanTimer(edm::ParameterSet const&, edm::ConsumesCollector);
0023     ~DTVDriftMeanTimer() override;
0024 
0025     void setES(const edm::EventSetup& setup) override;
0026     DTVDriftData compute(const DTSuperLayerId&) override;
0027 
0028   private:
0029     TFile* rootFile_;
0030     DTMeanTimerFitter* fitter_;
0031   };
0032 
0033 }  // namespace dtCalibration
0034 #endif