CMS 3D CMS Logo

DTVDriftBaseAlgo.h
Go to the documentation of this file.
1 #ifndef CalibMuon_DTCalibration_DTVDriftBaseAlgo_h
2 #define CalibMuon_DTCalibration_DTVDriftBaseAlgo_h
3 
10 namespace edm {
11  class EventSetup;
12  class ParameterSet;
13 } // namespace edm
14 
15 class DTSuperLayerId;
16 
17 namespace dtCalibration {
18 
19  struct DTVDriftData {
20  public:
21  DTVDriftData(double vdrift_mean, double vdrift_resolution) : vdrift(vdrift_mean), resolution(vdrift_resolution) {}
22 
23  double vdrift;
24  double resolution;
25  };
26 
28  public:
30  virtual ~DTVDriftBaseAlgo();
31 
32  virtual void setES(const edm::EventSetup& setup) = 0;
33  virtual DTVDriftData compute(const DTSuperLayerId&) = 0;
34  };
35 
36 } // namespace dtCalibration
37 #endif
dtCalibration::DTVDriftData::DTVDriftData
DTVDriftData(double vdrift_mean, double vdrift_resolution)
Definition: DTVDriftBaseAlgo.h:21
DTSuperLayerId
Definition: DTSuperLayerId.h:12
dtCalibration::DTVDriftBaseAlgo::setES
virtual void setES(const edm::EventSetup &setup)=0
edm
HLT enums.
Definition: AlignableModifier.h:19
dtCalibration::DTVDriftData::vdrift
double vdrift
Definition: DTVDriftBaseAlgo.h:23
dtCalibration::DTVDriftBaseAlgo::~DTVDriftBaseAlgo
virtual ~DTVDriftBaseAlgo()
Definition: DTVDriftBaseAlgo.cc:14
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
dtCalibration::DTVDriftData::resolution
double resolution
Definition: DTVDriftBaseAlgo.h:24
ParameterSet
Definition: Functions.h:16
dtCalibration::DTVDriftBaseAlgo::DTVDriftBaseAlgo
DTVDriftBaseAlgo()
Definition: DTVDriftBaseAlgo.cc:12
dtCalibration::DTVDriftBaseAlgo::compute
virtual DTVDriftData compute(const DTSuperLayerId &)=0
edm::EventSetup
Definition: EventSetup.h:57
dtCalibration
Definition: DTT0BaseCorrection.h:16
dtCalibration::DTVDriftBaseAlgo
Definition: DTVDriftBaseAlgo.h:27
EventSetup
dtCalibration::DTVDriftData
Definition: DTVDriftBaseAlgo.h:19