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
CSCAnodeDataFormat::wireDigis
virtual std::vector< CSCWireDigi > wireDigis(int layer) const =0
input layer is from 1 to 6
CSCWireDigi.h
CSCAnodeDataFormat
Definition: CSCAnodeDataFormat.h:7
CSCAnodeDataFormat::sizeInWords
virtual unsigned short int sizeInWords() const =0
the amount of the input binary buffer read, in 16-bit words
CSCAnodeDataFormat::~CSCAnodeDataFormat
virtual ~CSCAnodeDataFormat()
Definition: CSCAnodeDataFormat.h:9
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
CSCAnodeDataFormat::add
virtual void add(const CSCWireDigi &wireDigi, int layer)=0
CSCWireDigi
Definition: CSCWireDigi.h:14
CSCAnodeDataFormat::data
virtual unsigned short * data()=0