00001 #ifndef Tracker_SiDigitalConverter_H 00002 #define Tracker_SiDigitalConverter_H 00003 00004 #include "SimTracker/SiStripDigitizer/interface/SiPileUpSignals.h" 00005 #include "FWCore/Framework/interface/ESHandle.h" 00006 #include "CalibFormats/SiStripObjects/interface/SiStripGain.h" 00007 #include "DataFormats/SiStripDigi/interface/SiStripDigi.h" 00008 #include "DataFormats/SiStripDigi/interface/SiStripRawDigi.h" 00012 class SiDigitalConverter { 00013 public: 00014 typedef std::vector<SiStripDigi> DigitalVecType; 00015 typedef std::vector<SiStripRawDigi> DigitalRawVecType; 00016 00017 virtual ~SiDigitalConverter() { } 00018 virtual DigitalVecType convert(const std::vector<double> &, edm::ESHandle<SiStripGain>& ,unsigned int detid) = 0; 00019 virtual DigitalRawVecType convertRaw(const std::vector<double> &, edm::ESHandle<SiStripGain>& ,unsigned int detid) = 0; 00020 }; 00021 00022 #endif