00001 #ifndef Tracker_TkCommonModeCalculator_H 00002 #define Tracker_TkCommonModeCalculator_H 00003 00004 #include "CalibTracker/SiStripAPVAnalysis/interface/ApvAnalysis.h" 00005 #include "CalibTracker/SiStripAPVAnalysis/interface/TkCommonMode.h" 00009 class TkCommonModeCalculator{ 00010 00011 public: 00013 virtual ApvAnalysis::PedestalType doIt(ApvAnalysis::PedestalType) = 0 ; 00014 virtual void setCM(TkCommonMode*) = 0; 00015 virtual void setCM(std::vector<float>) = 0; 00017 virtual TkCommonMode* commonMode() = 0; 00019 virtual void newEvent() {} 00021 virtual float getCMSlope() = 0; 00022 }; 00023 00024 #endif