#include <CSCGEMData.h>
Public Member Functions | |
bool | check () const |
CSCGEMData (int ntbins=12, int gem_fibers_mask=0xf) | |
default constructor More... | |
CSCGEMData (const unsigned short *c04buf, int length, int gem_fibers_mask=0xf) | |
std::vector< GEMPadDigiCluster > | digis (int gem_chamber) const |
std::vector< GEMPadDigiCluster > | etaDigis (int gem_chamber, int eta) const |
int | gemFibersMask () const |
int | nTbins () const |
int | numGEMEnabledFibers () const |
int | numGEMs () const |
void | print () const |
int | sizeInWords () const |
Static Public Member Functions | |
static void | setDebug (bool debugValue) |
turns on the debug flag for this class More... | |
Private Member Functions | |
int | getPartitionNumber (int address, int nPads) const |
int | getPartitionStripNumber (int address, int nPads, int etaPart) const |
Private Attributes | |
int | gems_enabled_ |
int | ngems_ |
int | ntbins_ |
int | size_ |
unsigned short | theData [8 *2 *32+2] |
Static Private Attributes | |
static std::atomic< bool > | debug {false} |
Definition at line 11 of file CSCGEMData.h.
CSCGEMData::CSCGEMData | ( | int | ntbins = 12 , |
int | gem_fibers_mask = 0xf |
||
) |
default constructor
Definition at line 16 of file CSCGEMData.cc.
References gems_enabled_, ngems_, ntbins_, size_, and theData.
CSCGEMData::CSCGEMData | ( | const unsigned short * | c04buf, |
int | length, | ||
int | gem_fibers_mask = 0xf |
||
) |
Definition at line 31 of file CSCGEMData.cc.
References gems_enabled_, ngems_, ntbins_, size_, and theData.
|
inline |
std::vector< GEMPadDigiCluster > CSCGEMData::digis | ( | int | gem_chamber | ) | const |
GEM data format v2
GEM data format v1 It is not used in the production Keeping this commented code just for v1 unpacking algo reference
Definition at line 58 of file CSCGEMData.cc.
References debug, TauDecayModes::dec, PVValHelper::eta, mps_fire::i, LogTrace, beam_dqm_sourceclient-live_cfg::maxClusters, ntbins_, mps_fire::result, and theData.
std::vector< GEMPadDigiCluster > CSCGEMData::etaDigis | ( | int | gem_chamber, |
int | eta | ||
) | const |
GEM data format v2
Definition at line 136 of file CSCGEMData.cc.
References debug, TauDecayModes::dec, PVValHelper::eta, mps_fire::i, LogTrace, beam_dqm_sourceclient-live_cfg::maxClusters, ntbins_, mps_fire::result, and theData.
|
inline |
|
private |
Definition at line 52 of file CSCGEMData.cc.
|
private |
Definition at line 54 of file CSCGEMData.cc.
|
inline |
|
inline |
|
inline |
Definition at line 22 of file CSCGEMData.h.
void CSCGEMData::print | ( | void | ) | const |
Definition at line 45 of file CSCGEMData.cc.
References geometryCSVtoXML::line, LogTrace, size_, and theData.
|
inlinestatic |
turns on the debug flag for this class
Definition at line 32 of file CSCGEMData.h.
References debug.
|
inline |
Definition at line 21 of file CSCGEMData.h.
References size_.
Referenced by CSCTMBData::UnpackTMB().
|
staticprivate |
Definition at line 41 of file CSCGEMData.h.
Referenced by digis(), util.rrapi.RRApi::dprint(), rrapi.RRApi::dprint(), etaDigis(), 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 45 of file CSCGEMData.h.
Referenced by CSCGEMData(), and gemFibersMask().
|
private |
Definition at line 46 of file CSCGEMData.h.
Referenced by CSCGEMData(), and numGEMEnabledFibers().
|
private |
Definition at line 44 of file CSCGEMData.h.
Referenced by CSCGEMData(), digis(), etaDigis(), and nTbins().
|
private |
Definition at line 47 of file CSCGEMData.h.
Referenced by check(), CSCGEMData(), print(), and sizeInWords().
|
private |
Definition at line 48 of file CSCGEMData.h.
Referenced by check(), CSCGEMData(), digis(), etaDigis(), and print().