Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-21 02:53:02

0001 #ifndef EventFilter_CSCRawToDigi_CSCAnodeDataFormat_h
0002 #define EventFilter_CSCRawToDigi_CSCAnodeDataFormat_h
0003 
0004 #include "DataFormats/CSCDigi/interface/CSCWireDigi.h"
0005 #include <vector>
0006 
0007 class CSCAnodeDataFormat {
0008 public:
0009   virtual ~CSCAnodeDataFormat() {}
0010   virtual unsigned short* data() = 0;
0011   /// the amount of the input binary buffer read, in 16-bit words
0012   virtual unsigned short int sizeInWords() const = 0;
0013 
0014   /// input layer is from 1 to 6
0015   virtual std::vector<CSCWireDigi> wireDigis(int layer) const = 0;
0016 
0017   virtual void add(const CSCWireDigi& wireDigi, int layer) = 0;
0018 };
0019 
0020 #endif