EventFilter
CSCRawToDigi
interface
CSCChamberDataItr.h
Go to the documentation of this file.
1
#ifndef EventFilter_CSCRawToDigi_CSCChamberDataItr_h
2
#define EventFilter_CSCRawToDigi_CSCChamberDataItr_h
3
9
#include "
EventFilter/CSCRawToDigi/interface/CSCDDUDataItr.h
"
10
class
CSCDCCEventData
;
11
class
CSCDDUEventData
;
12
class
CSCEventData
;
13
#include <vector>
14
15
class
CSCChamberDataItr
{
16
public
:
19
CSCChamberDataItr
(
const
char
*
buf
);
20
~CSCChamberDataItr
();
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
39
const
CSCDCCEventData
*
theDCCData
;
40
CSCDDUDataItr
*
theDDUItr
;
41
unsigned
theCurrentDDU
;
42
unsigned
theNumberOfDDUs
;
43
};
44
45
#endif
CSCEventData
Definition:
CSCEventData.h:29
CSCChamberDataItr::operator*
const CSCEventData & operator*()
Definition:
CSCChamberDataItr.cc:38
CSCDCCEventData
01/20/05 A.Tumanov
Definition:
CSCDCCEventData.h:13
CSCChamberDataItr::theDDUItr
CSCDDUDataItr * theDDUItr
Definition:
CSCChamberDataItr.h:40
CSCChamberDataItr::next
bool next()
Definition:
CSCChamberDataItr.cc:23
CSCChamberDataItr::theDCCData
const CSCDCCEventData * theDCCData
make a new vector of DDUs (length 1).
Definition:
CSCChamberDataItr.h:39
CSCDDUDataItr
Definition:
CSCDDUDataItr.h:13
CSCChamberDataItr::CSCChamberDataItr
CSCChamberDataItr(const char *buf)
Definition:
CSCChamberDataItr.cc:4
CSCChamberDataItr::~CSCChamberDataItr
~CSCChamberDataItr()
Definition:
CSCChamberDataItr.cc:18
CSCChamberDataItr::constructFromDDU
void constructFromDDU(const CSCDDUEventData &)
for DDU-only data
CSCChamberDataItr::theNumberOfDDUs
unsigned theNumberOfDDUs
Definition:
CSCChamberDataItr.h:42
CSCChamberDataItr::initDDU
void initDDU()
sets theDDU & theNumberOfCSCs
visDQMUpload.buf
buf
Definition:
visDQMUpload.py:154
CSCChamberDataItr::theCurrentDDU
unsigned theCurrentDDU
Definition:
CSCChamberDataItr.h:41
CSCDDUEventData
Definition:
CSCDDUEventData.h:19
CSCChamberDataItr::constructFromDCC
void constructFromDCC(const CSCDCCEventData &)
for DCC data.
CSCDDUDataItr.h
CSCChamberDataItr
Definition:
CSCChamberDataItr.h:15
Generated for CMSSW Reference Manual by
1.8.16