#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 std::atomic< bool > | debug {false} |
Definition at line 12 of file CSCRPCData.h.
CSCRPCData::CSCRPCData | ( | int | ntbins = 7 | ) |
default constructor
Definition at line 25 of file CSCRPCData.cc.
References mps_fire::i, and theData.
CSCRPCData::CSCRPCData | ( | const unsigned short * | b04buf, |
int | length | ||
) |
void CSCRPCData::add | ( | const CSCRPCDigi & | ) |
Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
std::vector< int > CSCRPCData::BXN | ( | void | ) | const |
make the two pad words into one and see if it's empty
Definition at line 73 of file CSCRPCData.cc.
References mps_fire::result, size_, and theData.
|
inline |
std::vector< CSCRPCDigi > CSCRPCData::digis | ( | ) | const |
Definition at line 95 of file CSCRPCData.cc.
References debug, mps_fire::i, LogTrace, mps_fire::result, size_, and theData.
|
inline |
void CSCRPCData::Print | ( | void | ) | const |
Definition at line 50 of file CSCRPCData.cc.
References geometryCSVtoXML::line, LogTrace, size_, and theData.
Referenced by nTbins().
|
inlinestatic |
Definition at line 27 of file CSCRPCData.h.
References debug.
Referenced by CSCDCCUnpacker::CSCDCCUnpacker().
|
inline |
Definition at line 22 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 33 of file CSCRPCData.h.
Referenced by digis(), rrapi.RRApi::dprint(), util.rrapi.RRApi::dprint(), pkg.AbstractPkg::generate(), util.rrapi.RRApi::get(), rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), setDebug(), and pkg.AbstractPkg::write().
|
private |
Definition at line 35 of file CSCRPCData.h.
Referenced by CSCRPCData(), and nTbins().
|
private |
Definition at line 36 of file CSCRPCData.h.
Referenced by BXN(), check(), CSCRPCData(), digis(), Print(), and sizeInWords().
|
private |
Definition at line 37 of file CSCRPCData.h.
Referenced by BXN(), check(), CSCRPCData(), digis(), and Print().