CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/CalibTracker/SiStripAPVAnalysis/interface/TkCommonModeCalculator.h

Go to the documentation of this file.
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:  
00012   virtual ~TkCommonModeCalculator() {}
00014   virtual ApvAnalysis::PedestalType doIt(const ApvAnalysis::PedestalType&) = 0 ;  
00015   virtual void setCM(TkCommonMode*) = 0;
00016   virtual void setCM(const std::vector<float>&) = 0;
00018   virtual TkCommonMode* commonMode() = 0;
00020   virtual void newEvent() {}
00022   virtual float getCMSlope() = 0;
00023 };
00024 
00025 #endif