CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTVDriftBaseAlgo.h
Go to the documentation of this file.
1 #ifndef CalibMuon_DTCalibration_DTVDriftBaseAlgo_h
2 #define CalibMuon_DTCalibration_DTVDriftBaseAlgo_h
3 
12 namespace edm {
13  class EventSetup;
14  class ParameterSet;
15 }
16 
17 class DTSuperLayerId;
18 
19 struct DTVDriftData {
20 public:
21  DTVDriftData(double vdrift_mean, double vdrift_resolution):
22  vdrift(vdrift_mean),
23  resolution(vdrift_resolution) {}
24 
25  double vdrift;
26  double resolution;
27 };
28 
30 public:
32  virtual ~DTVDriftBaseAlgo();
33 
34  virtual void setES(const edm::EventSetup& setup) = 0;
35  virtual DTVDriftData compute(const DTSuperLayerId&) = 0;
36 };
37 #endif
virtual ~DTVDriftBaseAlgo()
virtual void setES(const edm::EventSetup &setup)=0
virtual DTVDriftData compute(const DTSuperLayerId &)=0
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
DTVDriftData(double vdrift_mean, double vdrift_resolution)