EventFilter
CSCTFRawToDigi
src
CSCSPEvent.h
Go to the documentation of this file.
1
#ifndef CSCSPEvent_h
2
#define CSCSPEvent_h
3
4
#include "
EventFilter/CSCTFRawToDigi/src/CSCSPHeader.h
"
5
#include "
EventFilter/CSCTFRawToDigi/src/CSCSPCounters.h
"
6
#include "
EventFilter/CSCTFRawToDigi/src/CSCSPRecord.h
"
7
#include "
EventFilter/CSCTFRawToDigi/src/CSCSPTrailer.h
"
8
9
class
CSCSPEvent
{
10
private
:
11
CSCSPHeader
header_
;
12
CSCSPCounters
counters_
;
13
CSCSPRecord
record_
[7];
14
CSCSPTrailer
trailer_
;
15
16
public
:
17
const
CSCSPHeader
&
header
(
void
)
const
throw
() {
return
header_
; }
18
const
CSCSPCounters
&
counters
(
void
)
const
throw
() {
return
counters_
; }
19
const
CSCSPTrailer
&
trailer
(
void
)
const
throw
() {
return
trailer_
; }
20
21
const
CSCSPRecord
&
record
(
unsigned
int
tbin)
const
throw
() {
return
record_
[tbin]; }
22
23
bool
unpack
(
const
unsigned
short
*&
buf
)
throw
();
24
25
CSCSPEvent
(
void
) {}
26
};
27
28
#endif
CSCSPEvent::header
const CSCSPHeader & header(void) const
Definition:
CSCSPEvent.h:17
CSCSPTrailer
Definition:
CSCSPTrailer.h:6
CSCSPCounters.h
CSCSPEvent::record
const CSCSPRecord & record(unsigned int tbin) const
Definition:
CSCSPEvent.h:21
CSCSPEvent
Definition:
CSCSPEvent.h:9
CSCSPRecord
Definition:
CSCSPRecord.h:9
CSCSPEvent::trailer_
CSCSPTrailer trailer_
Definition:
CSCSPEvent.h:14
CSCSPEvent::unpack
bool unpack(const unsigned short *&buf)
Definition:
CSCSPEvent.cc:6
CSCSPHeader
Definition:
CSCSPHeader.h:6
CSCSPEvent::counters
const CSCSPCounters & counters(void) const
Definition:
CSCSPEvent.h:18
CSCSPEvent::record_
CSCSPRecord record_[7]
Definition:
CSCSPEvent.h:13
CSCSPEvent::CSCSPEvent
CSCSPEvent(void)
Definition:
CSCSPEvent.h:25
CSCSPTrailer.h
visDQMUpload.buf
buf
Definition:
visDQMUpload.py:154
CSCSPCounters
Definition:
CSCSPCounters.h:6
CSCSPRecord.h
CSCSPHeader.h
CSCSPEvent::counters_
CSCSPCounters counters_
Definition:
CSCSPEvent.h:12
CSCSPEvent::header_
CSCSPHeader header_
Definition:
CSCSPEvent.h:11
CSCSPEvent::trailer
const CSCSPTrailer & trailer(void) const
Definition:
CSCSPEvent.h:19
Generated for CMSSW Reference Manual by
1.8.16