00001 #ifndef CalibMuon_DTCalibration_DTVDriftSegment_h 00002 #define CalibMuon_DTCalibration_DTVDriftSegment_h 00003 00012 #include "CalibMuon/DTCalibration/interface/DTVDriftBaseAlgo.h" 00013 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00014 00015 #include <string> 00016 00017 class DTMtime; 00018 class DTResidualFitter; 00019 class TH1F; 00020 class TFile; 00021 00022 class DTVDriftSegment: public DTVDriftBaseAlgo { 00023 public: 00024 DTVDriftSegment(edm::ParameterSet const&); 00025 virtual ~DTVDriftSegment(); 00026 00027 virtual void setES(const edm::EventSetup& setup); 00028 virtual DTVDriftData compute(const DTSuperLayerId&); 00029 private: 00030 TH1F* getHisto(const DTSuperLayerId&); 00031 std::string getHistoName(const DTSuperLayerId&); 00032 00033 unsigned int nSigmas_; 00034 00035 const DTMtime* mTimeMap_; 00036 TFile* rootFile_; 00037 DTResidualFitter* fitter_; 00038 }; 00039 #endif