CMS 3D CMS Logo

CSCSPEvent.h
Go to the documentation of this file.
1 #ifndef CSCSPEvent_h
2 #define CSCSPEvent_h
3 
8 
9 class CSCSPEvent {
10 private:
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
const CSCSPCounters & counters(void) const
Definition: CSCSPEvent.h:18
CSCSPTrailer trailer_
Definition: CSCSPEvent.h:14
bool unpack(const unsigned short *&buf)
Definition: CSCSPEvent.cc:6
CSCSPRecord record_[7]
Definition: CSCSPEvent.h:13
CSCSPCounters counters_
Definition: CSCSPEvent.h:12
CSCSPEvent(void)
Definition: CSCSPEvent.h:25
CSCSPHeader header_
Definition: CSCSPEvent.h:11
const CSCSPTrailer & trailer(void) const
Definition: CSCSPEvent.h:19
const CSCSPRecord & record(unsigned int tbin) const
Definition: CSCSPEvent.h:21
const CSCSPHeader & header(void) const
Definition: CSCSPEvent.h:17