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 namespace dtCalibration {
20 
21 struct DTVDriftData {
22 public:
23  DTVDriftData(double vdrift_mean, double vdrift_resolution):
24  vdrift(vdrift_mean),
25  resolution(vdrift_resolution) {}
26 
27  double vdrift;
28  double resolution;
29 };
30 
32 public:
34  virtual ~DTVDriftBaseAlgo();
35 
36  virtual void setES(const edm::EventSetup& setup) = 0;
37  virtual DTVDriftData compute(const DTSuperLayerId&) = 0;
38 };
39 
40 } // namespace
41 #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="")