CMS 3D CMS Logo

DTVDriftSegment.h
Go to the documentation of this file.
1 #ifndef CalibMuon_DTCalibration_DTVDriftSegment_h
2 #define CalibMuon_DTCalibration_DTVDriftSegment_h
3 
13 
14 #include <string>
15 
16 class DTMtime;
17 class DTRecoConditions;
18 class DTResidualFitter;
19 class TH1F;
20 class TFile;
21 
22 namespace dtCalibration {
23 
25  public:
27  ~DTVDriftSegment() override;
28 
29  void setES(const edm::EventSetup& setup) override;
30  DTVDriftData compute(const DTSuperLayerId&) override;
31 
32  private:
33  TH1F* getHisto(const DTSuperLayerId&);
35 
36  unsigned int nSigmas_;
37 
38  const DTMtime* mTimeMap_; // legacy DB object
39  const DTRecoConditions* vDriftMap_; // DB object in new format
40  bool readLegacyVDriftDB; // which one to use
41  TFile* rootFile_;
43  };
44 
45 } // namespace dtCalibration
46 #endif
DTSuperLayerId
Definition: DTSuperLayerId.h:12
dtCalibration::DTVDriftSegment::compute
DTVDriftData compute(const DTSuperLayerId &) override
Definition: DTVDriftSegment.cc:73
DTMtime
Definition: DTMtime.h:68
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
dtCalibration::DTVDriftSegment::vDriftMap_
const DTRecoConditions * vDriftMap_
Definition: DTVDriftSegment.h:39
dtCalibration::DTVDriftSegment::readLegacyVDriftDB
bool readLegacyVDriftDB
Definition: DTVDriftSegment.h:40
dtCalibration::DTVDriftSegment::nSigmas_
unsigned int nSigmas_
Definition: DTVDriftSegment.h:36
dtCalibration::DTVDriftSegment
Definition: DTVDriftSegment.h:24
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
dtCalibration::DTVDriftSegment::mTimeMap_
const DTMtime * mTimeMap_
Definition: DTVDriftSegment.h:38
edm::ParameterSet
Definition: ParameterSet.h:47
dtCalibration::DTVDriftSegment::getHistoName
std::string getHistoName(const DTSuperLayerId &)
Definition: DTVDriftSegment.cc:121
dtCalibration::DTVDriftSegment::DTVDriftSegment
DTVDriftSegment(edm::ParameterSet const &)
Definition: DTVDriftSegment.cc:36
dtCalibration::DTVDriftSegment::~DTVDriftSegment
~DTVDriftSegment() override
Definition: DTVDriftSegment.cc:50
edm::EventSetup
Definition: EventSetup.h:58
dtCalibration::DTVDriftSegment::fitter_
DTResidualFitter * fitter_
Definition: DTVDriftSegment.h:42
dtCalibration::DTVDriftSegment::setES
void setES(const edm::EventSetup &setup) override
Definition: DTVDriftSegment.cc:55
DTResidualFitter
Definition: DTResidualFitter.h:21
dtCalibration
Definition: DTT0BaseCorrection.h:16
DTVDriftBaseAlgo.h
dtCalibration::DTVDriftSegment::rootFile_
TFile * rootFile_
Definition: DTVDriftSegment.h:41
DTRecoConditions
Definition: DTRecoConditions.h:28
dtCalibration::DTVDriftBaseAlgo
Definition: DTVDriftBaseAlgo.h:27
ParameterSet.h
dtCalibration::DTVDriftSegment::getHisto
TH1F * getHisto(const DTSuperLayerId &)
Definition: DTVDriftSegment.cc:113
dtCalibration::DTVDriftData
Definition: DTVDriftBaseAlgo.h:19