#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 11 of file CSCRPCData.h.
CSCRPCData::CSCRPCData | ( | int | ntbins = 7 | ) |
default constructor
Definition at line 25 of file CSCRPCData.cc.
References mps_fire::i, omtf::DataWord64::rpc, 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 68 of file CSCRPCData.cc.
References mps_fire::result, omtf::DataWord64::rpc, size_, and theData.
|
inline |
std::vector< CSCRPCDigi > CSCRPCData::digis | ( | ) | const |
Definition at line 88 of file CSCRPCData.cc.
References debug, mps_fire::i, LogTrace, mps_fire::result, omtf::DataWord64::rpc, size_, and theData.
|
inline |
void CSCRPCData::Print | ( | void | ) | const |
Definition at line 46 of file CSCRPCData.cc.
References geometryCSVtoXML::line, LogTrace, omtf::DataWord64::rpc, size_, and theData.
|
inlinestatic |
Definition at line 26 of file CSCRPCData.h.
References debug.
Referenced by CSCDCCUnpacker::CSCDCCUnpacker().
|
inline |
Definition at line 21 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 32 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(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), runTauIdMVA.TauIDEmbedder::runTauID(), setDebug(), and pkg.AbstractPkg::write().
|
private |
Definition at line 34 of file CSCRPCData.h.
Referenced by CSCRPCData(), and nTbins().
|
private |
Definition at line 35 of file CSCRPCData.h.
Referenced by BXN(), check(), CSCRPCData(), digis(), Print(), and sizeInWords().
|
private |
Definition at line 36 of file CSCRPCData.h.
Referenced by BXN(), check(), CSCRPCData(), digis(), and Print().