CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTVDriftSegment.h
Go to the documentation of this file.
1 #ifndef CalibMuon_DTCalibration_DTVDriftSegment_h
2 #define CalibMuon_DTCalibration_DTVDriftSegment_h
3 
19 
20 #include <string>
21 
22 class DTMtime;
23 class DTRecoConditions;
24 class DTResidualFitter;
25 class TH1F;
26 class TFile;
27 
28 namespace dtCalibration {
29 
31  public:
33  ~DTVDriftSegment() override;
34 
35  void setES(const edm::EventSetup& setup) override;
36  DTVDriftData compute(const DTSuperLayerId&) override;
37 
38  private:
39  TH1F* getHisto(const DTSuperLayerId&);
41 
42  unsigned int nSigmas_;
43 
44  const DTMtime* mTimeMap_; // legacy DB object
45  const DTRecoConditions* vDriftMap_; // DB object in new format
46  bool readLegacyVDriftDB; // which one to use
47  TFile* rootFile_;
49 
52  };
53 
54 } // namespace dtCalibration
55 #endif
std::string getHistoName(const DTSuperLayerId &)
edm::ESGetToken< DTMtime, DTMtimeRcd > mTimeMapToken_
void setES(const edm::EventSetup &setup) override
edm::ESGetToken< DTRecoConditions, DTRecoConditionsVdriftRcd > vDriftMapToken_
const DTRecoConditions * vDriftMap_
DTVDriftSegment(edm::ParameterSet const &, edm::ConsumesCollector)
TH1F * getHisto(const DTSuperLayerId &)
DTVDriftData compute(const DTSuperLayerId &) override