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
4 #include <vector>
6 public:
7  virtual ~CSCAnodeDataFormat() {}
8  virtual unsigned short* data() = 0;
10  virtual unsigned short int sizeInWords() const = 0;
11 
13  virtual std::vector<CSCWireDigi> wireDigis(int layer) const = 0;
14 
15  virtual void add(const CSCWireDigi& wireDigi, int layer) = 0;
16 };
17 
18 #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:5
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:7
CSCAnodeDataFormat::add
virtual void add(const CSCWireDigi &wireDigi, int layer)=0
CSCWireDigi
Definition: CSCWireDigi.h:14
CSCAnodeDataFormat::data
virtual unsigned short * data()=0