CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
CSCSPEvent Class Reference

#include <CSCSPEvent.h>

Public Member Functions

const CSCSPCounterscounters (void) const throw ()
 
 CSCSPEvent (void)
 
const CSCSPHeaderheader (void) const throw ()
 
const CSCSPRecordrecord (unsigned int tbin) const throw ()
 
const CSCSPTrailertrailer (void) const throw ()
 
bool unpack (const unsigned short *&buf) throw ()
 

Private Attributes

CSCSPCounters counters_
 
CSCSPHeader header_
 
CSCSPRecord record_ [7]
 
CSCSPTrailer trailer_
 

Detailed Description

Definition at line 9 of file CSCSPEvent.h.

Constructor & Destructor Documentation

CSCSPEvent::CSCSPEvent ( void  )
inline

Definition at line 25 of file CSCSPEvent.h.

25 {}

Member Function Documentation

const CSCSPCounters& CSCSPEvent::counters ( void  ) const
throw (
)
inline

Definition at line 18 of file CSCSPEvent.h.

References counters_.

18 { return counters_; }
CSCSPCounters counters_
Definition: CSCSPEvent.h:12
const CSCSPHeader& CSCSPEvent::header ( void  ) const
throw (
)
inline

Definition at line 17 of file CSCSPEvent.h.

References header_.

17 { return header_; }
CSCSPHeader header_
Definition: CSCSPEvent.h:11
const CSCSPRecord& CSCSPEvent::record ( unsigned int  tbin) const
throw (
)
inline

Definition at line 21 of file CSCSPEvent.h.

References record_.

21 { return record_[tbin]; }
CSCSPRecord record_[7]
Definition: CSCSPEvent.h:13
const CSCSPTrailer& CSCSPEvent::trailer ( void  ) const
throw (
)
inline

Definition at line 19 of file CSCSPEvent.h.

References trailer_.

19 { return trailer_; }
CSCSPTrailer trailer_
Definition: CSCSPEvent.h:14
bool CSCSPEvent::unpack ( const unsigned short *&  buf)
throw (
)

if( track.ME1_tbin()>2 ) unpackError |= true; // because bxaDepth<=2

if( track.ME2_tbin()>2 ) unpackError |= true; // because bxaDepth<=2

if( track.ME3_tbin()>2 ) unpackError |= true; // because bxaDepth<=2

if( track.ME4_tbin()>2 ) unpackError |= true; // because bxaDepth<=2

if( track.MB_tbin()>2 ) unpackError |= true; // because bxaDepth<=2

Definition at line 6 of file CSCSPEvent.cc.

Member Data Documentation

CSCSPCounters CSCSPEvent::counters_
private

Definition at line 12 of file CSCSPEvent.h.

Referenced by counters().

CSCSPHeader CSCSPEvent::header_
private

Definition at line 11 of file CSCSPEvent.h.

Referenced by header().

CSCSPRecord CSCSPEvent::record_[7]
private

Definition at line 13 of file CSCSPEvent.h.

Referenced by record().

CSCSPTrailer CSCSPEvent::trailer_
private

Definition at line 14 of file CSCSPEvent.h.

Referenced by trailer().