#include <CSCRPCData.h>
Public Member Functions | |
void | add (const CSCRPCDigi &) |
std::vector< int > | BXN () const |
bool | check () const |
CSCRPCData (int ntbins=7) | |
default constructor More... | |
CSCRPCData (const unsigned short *b04buf, int length) | |
std::vector< CSCRPCDigi > | digis () const |
int | nTbins () |
void | Print () const |
int | sizeInWords () |
Static Public Member Functions | |
static void | setDebug (bool debugValue) |
Private Attributes | |
int | ntbins_ |
int | size_ |
unsigned short | theData [2 *4 *32+2] |
Static Private Attributes | |
static bool | debug = false |
Definition at line 9 of file CSCRPCData.h.
CSCRPCData::CSCRPCData | ( | int | ntbins = 7 | ) |
CSCRPCData::CSCRPCData | ( | const unsigned short * | b04buf, |
int | length | ||
) |
void CSCRPCData::add | ( | const CSCRPCDigi & | ) |
std::vector< int > CSCRPCData::BXN | ( | void | ) | const |
make the two pad words into one and see if it's empty
Definition at line 69 of file CSCRPCData.cc.
References query::result, size_, and theData.
|
inline |
std::vector< CSCRPCDigi > CSCRPCData::digis | ( | ) | const |
Definition at line 91 of file CSCRPCData.cc.
References debug, i, LogTrace, query::result, size_, and theData.
|
inline |
void CSCRPCData::Print | ( | void | ) | const |
Definition at line 46 of file CSCRPCData.cc.
References geometryCSVtoXML::line, LogTrace, size_, and theData.
|
inlinestatic |
Definition at line 24 of file CSCRPCData.h.
References debug.
Referenced by CSCDCCUnpacker::CSCDCCUnpacker().
|
inline |
Definition at line 19 of file CSCRPCData.h.
References size_.
Referenced by CSCTMBData::UnpackTMB().
|
staticprivate |
data format is
RPC0 Tbin 0 Pads[7:0] RPC0 BXN Pads[15:8] RPC0 Tbin 1 Pads[7:0] ... RPC0 Tbin 6 Pads[7:0] RPC3 BXN Pads[15:8]
Definition at line 27 of file CSCRPCData.h.
Referenced by digis(), rrapi.RRApi::dprint(), pkg.AbstractPkg::generate(), rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), setDebug(), and pkg.AbstractPkg::write().
|
private |
Definition at line 28 of file CSCRPCData.h.
Referenced by CSCRPCData(), and nTbins().
|
private |
Definition at line 29 of file CSCRPCData.h.
Referenced by BXN(), check(), CSCRPCData(), digis(), Print(), and sizeInWords().
|
private |
Definition at line 30 of file CSCRPCData.h.
Referenced by BXN(), check(), CSCRPCData(), digis(), and Print().