File indexing completed on 2024-04-06 12:10:21
0001 #ifndef EventFilter_CSCRawToDigi_CSCChamberDataItr_h
0002 #define EventFilter_CSCRawToDigi_CSCChamberDataItr_h
0003
0004
0005
0006
0007
0008
0009 #include "EventFilter/CSCRawToDigi/interface/CSCDDUDataItr.h"
0010 class CSCDCCEventData;
0011 class CSCDDUEventData;
0012 class CSCEventData;
0013 #include <vector>
0014
0015 class CSCChamberDataItr {
0016 public:
0017
0018
0019 CSCChamberDataItr(const char *buf);
0020 ~CSCChamberDataItr();
0021
0022 bool next();
0023
0024 const CSCEventData &operator*();
0025
0026 private:
0027
0028 void constructFromDCC(const CSCDCCEventData &);
0029
0030 void constructFromDDU(const CSCDDUEventData &);
0031
0032
0033 void initDDU();
0034
0035
0036
0037
0038
0039 const CSCDCCEventData *theDCCData;
0040 CSCDDUDataItr *theDDUItr;
0041 unsigned theCurrentDDU;
0042 unsigned theNumberOfDDUs;
0043 };
0044
0045 #endif