test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCChamberDataItr.h
Go to the documentation of this file.
1 #ifndef CSCChamberDataItr_h
2 #define CSCChamberDataItr_h
3 
10 class CSCDCCEventData;
11 class CSCDDUEventData;
12 class CSCEventData;
13 #include<vector>
14 
16 public:
19  CSCChamberDataItr(const char * buf);
21 
22  bool next();
23 
24  const CSCEventData & operator*();
25 
26 private:
28  void constructFromDCC(const CSCDCCEventData &);
30  void constructFromDDU(const CSCDDUEventData &);
31 
33  void initDDU();
34 
37  // or if there's no DCC, it will
41  unsigned theCurrentDDU;
42  unsigned theNumberOfDDUs;
43 };
44 
45 #endif
46 
01/20/05 A.Tumanov
const CSCDCCEventData * theDCCData
make a new vector of DDUs (length 1).
const CSCEventData & operator*()
CSCDDUDataItr * theDDUItr
CSCChamberDataItr(const char *buf)
void constructFromDCC(const CSCDCCEventData &)
for DCC data.
void constructFromDDU(const CSCDDUEventData &)
for DDU-only data
void initDDU()
sets theDDU &amp; theNumberOfCSCs