![]() |
![]() |
00001 #ifndef CalibMuon_DTTTrigBaseCorrection_H 00002 #define CalibMuon_DTTTrigBaseCorrection_H 00003 00012 namespace edm { 00013 class EventSetup; 00014 class ParameterSet; 00015 } 00016 00017 class DTSuperLayerId; 00018 00019 struct DTTTrigData { 00020 public: 00021 // Constructor 00022 DTTTrigData(double ttrig_mean, double ttrig_sigma, double kFact) : mean(ttrig_mean), 00023 sigma(ttrig_sigma), 00024 kFactor(kFact) {} 00025 00026 double mean; 00027 double sigma; 00028 double kFactor; 00029 }; 00030 00031 class DTTTrigBaseCorrection { 00032 public: 00033 // Constructor 00034 DTTTrigBaseCorrection(); 00035 // Destructor 00036 virtual ~DTTTrigBaseCorrection(); 00037 00038 virtual void setES(const edm::EventSetup& setup) = 0; 00039 virtual DTTTrigData correction(const DTSuperLayerId&) = 0; 00040 }; 00041 00042 #endif