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 
10 namespace edm {
11  class EventSetup;
12  class ParameterSet;
13 }
14 
15 class DTSuperLayerId;
16 
17 namespace dtCalibration {
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 
38 } // namespace
39 #endif
virtual DTVDriftData compute(const DTSuperLayerId &)=0
DTVDriftData(double vdrift_mean, double vdrift_resolution)
virtual void setES(const edm::EventSetup &setup)=0
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")