File indexing completed on 2024-04-06 12:30:58
0001 #ifndef Tracker_SiDigitalConverter_H
0002 #define Tracker_SiDigitalConverter_H
0003
0004 #include "SiPileUpSignals.h"
0005 #include "CalibFormats/SiStripObjects/interface/SiStripGain.h"
0006 #include "DataFormats/SiStripDigi/interface/SiStripDigi.h"
0007 #include "DataFormats/SiStripDigi/interface/SiStripRawDigi.h"
0008
0009
0010
0011 class SiDigitalConverter {
0012 public:
0013 typedef std::vector<SiStripDigi> DigitalVecType;
0014 typedef std::vector<SiStripRawDigi> DigitalRawVecType;
0015
0016 virtual ~SiDigitalConverter() {}
0017 virtual DigitalVecType const& convert(const std::vector<float>&, const SiStripGain*, unsigned int detid) = 0;
0018 virtual DigitalRawVecType const& convertRaw(const std::vector<float>&, const SiStripGain*, unsigned int detid) = 0;
0019 };
0020
0021 #endif