CMS 3D CMS Logo

CSCAnodeDataFormat.h
Go to the documentation of this file.
1 #ifndef EventFilter_CSCRawToDigi_CSCAnodeDataFormat_h
2 #define EventFilter_CSCRawToDigi_CSCAnodeDataFormat_h
3 
5 #include <vector>
6 
8 public:
9  virtual ~CSCAnodeDataFormat() {}
10  virtual unsigned short* data() = 0;
12  virtual unsigned short int sizeInWords() const = 0;
13 
15  virtual std::vector<CSCWireDigi> wireDigis(int layer) const = 0;
16 
17  virtual void add(const CSCWireDigi& wireDigi, int layer) = 0;
18 };
19 
20 #endif
virtual unsigned short int sizeInWords() const =0
the amount of the input binary buffer read, in 16-bit words
virtual std::vector< CSCWireDigi > wireDigis(int layer) const =0
input layer is from 1 to 6
constexpr std::array< uint8_t, layerIndexSize > layer
virtual unsigned short * data()=0
virtual void add(const CSCWireDigi &wireDigi, int layer)=0
virtual ~CSCAnodeDataFormat()