#include <EventFilter/CSCTFRawToDigi/src/CSCSPCounters.h>
Public Member Functions | |
bool | check (void) const throw () |
CSCSPCounters (void) | |
int | orbit_counter (void) const throw () |
int | track_counter (void) const throw () |
bool | unpack (const unsigned short *&buf) throw () |
Private Attributes | |
unsigned | orbit_counter_high: 15 |
unsigned | orbit_counter_low: 15 |
unsigned | track_counter_high: 15 |
unsigned | track_counter_low: 15 |
unsigned | zero_1: 1 |
unsigned | zero_2: 1 |
unsigned | zero_3: 1 |
unsigned | zero_4: 1 |
Friends | |
class | CSCTFPacker |
Definition at line 4 of file CSCSPCounters.h.
CSCSPCounters::CSCSPCounters | ( | void | ) | [inline] |
Definition at line 30 of file CSCSPCounters.h.
References orbit_counter_high, and orbit_counter_low.
Referenced by CSCTFUnpacker::produce().
00030 { return (orbit_counter_high<<15) | orbit_counter_low; }
Definition at line 29 of file CSCSPCounters.h.
References track_counter_high, and track_counter_low.
Referenced by CSCTFUnpacker::produce().
00029 { return (track_counter_high<<15) | track_counter_low; }
bool CSCSPCounters::unpack | ( | const unsigned short *& | buf | ) | throw () [inline] |
Definition at line 27 of file CSCSPCounters.h.
References check().
00027 { memcpy((void*)this,buf,4*sizeof(short)); buf+=4; return check(); }
friend class CSCTFPacker [friend] |
Definition at line 20 of file CSCSPCounters.h.
unsigned CSCSPCounters::orbit_counter_high [private] |
unsigned CSCSPCounters::orbit_counter_low [private] |
unsigned CSCSPCounters::track_counter_high [private] |
unsigned CSCSPCounters::track_counter_low [private] |
unsigned CSCSPCounters::zero_1 [private] |
unsigned CSCSPCounters::zero_2 [private] |
unsigned CSCSPCounters::zero_3 [private] |
unsigned CSCSPCounters::zero_4 [private] |