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 00014 public: 00015 typedef std::vector<SiStripDigi> DigitalVecType; 00016 typedef std::vector<SiStripRawDigi> DigitalRawVecType; 00017 00018 virtual ~SiDigitalConverter() { } 00019 // virtual DigitalVecType convert(DigitalVecType& vic, const signal_map_type &, edm::ESHandle<SiStripGain>& ,unsigned int detid) = 0; 00020 virtual DigitalVecType convert(const std::vector<double> &, edm::ESHandle<SiStripGain>& ,unsigned int detid) = 0; 00021 virtual DigitalRawVecType convertRaw(const std::vector<double> &, edm::ESHandle<SiStripGain>& ,unsigned int detid) = 0; 00022 }; 00023 00024 #endif