CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/CalibMuon/DTCalibration/plugins/DTVDriftSegment.h

Go to the documentation of this file.
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 namespace dtCalibration {
00023 
00024 class DTVDriftSegment: public DTVDriftBaseAlgo {
00025 public:
00026    DTVDriftSegment(edm::ParameterSet const&);
00027    virtual ~DTVDriftSegment();
00028 
00029    virtual void setES(const edm::EventSetup& setup);
00030    virtual DTVDriftData compute(const DTSuperLayerId&);
00031 private:
00032    TH1F* getHisto(const DTSuperLayerId&);
00033    std::string getHistoName(const DTSuperLayerId&);
00034 
00035    unsigned int nSigmas_;
00036 
00037    const DTMtime* mTimeMap_;
00038    TFile* rootFile_;
00039    DTResidualFitter* fitter_;
00040 };
00041 
00042 } // namespace
00043 #endif