#include <ESDataFormatterV4.h>
Public Types | |
typedef ESDataFormatter::DetDigis | DetDigis |
typedef ESDataFormatter::Digis | Digis |
typedef ESDataFormatter::Word16 | Word16 |
typedef ESDataFormatter::Word32 | Word32 |
typedef ESDataFormatter::Word64 | Word64 |
typedef ESDataFormatter::Word8 | Word8 |
Public Types inherited from ESDataFormatter | |
typedef std::vector< ESDataFrame > | DetDigis |
typedef std::map< int, DetDigis > | Digis |
typedef uint16_t | Word16 |
typedef uint32_t | Word32 |
typedef uint64_t | Word64 |
typedef uint8_t | Word8 |
Public Member Functions | |
void | DigiToRaw (int fedId, Digis &digis, FEDRawData &fedRawData, Meta_Data const &meta_data) const override |
ESDataFormatterV4 (const edm::ParameterSet &ps) | |
~ESDataFormatterV4 () override | |
Public Member Functions inherited from ESDataFormatter | |
ESDataFormatter (const edm::ParameterSet &ps) | |
virtual | ~ESDataFormatter () |
Static Protected Attributes | |
static const int | bADC0 = 16 |
static const int | bADC1 = 16 |
static const int | bADC2 = 16 |
static const int | bDCH = 4 |
static const int | bDCOMFLAG = 8 |
static const int | bDEL = 24 |
static const int | bDERR = 8 |
static const int | bDH = 6 |
static const int | bDHEAD = 2 |
static const int | bDOPTO = 8 |
static const int | bDORBIT = 32 |
static const int | bDRUN = 24 |
static const int | bDRUNTYPE = 32 |
static const int | bDTRGTYPE = 16 |
static const int | bDVMAJOR = 8 |
static const int | bDVMINOR = 8 |
static const int | bE0 = 1 |
static const int | bE1 = 1 |
static const int | bFIBER = 6 |
static const int | bHEAD = 4 |
static const int | bKBC = 12 |
static const int | bKCE = 1 |
static const int | bKCRC = 1 |
static const int | bKEC = 8 |
static const int | bKET = 1 |
static const int | bKFLAG1 = 4 |
static const int | bKFLAG2 = 8 |
static const int | bKHEAD = 4 |
static const int | bKHEAD1 = 2 |
static const int | bKHEAD2 = 2 |
static const int | bKID = 16 |
static const int | bOEMUKEC = 8 |
static const int | bOEMUTTCBC = 16 |
static const int | bOEMUTTCEC = 32 |
static const int | bOHEAD = 4 |
static const int | bPACE = 2 |
static const int | bSTRIP = 5 |
static const int | sADC0 = 0 |
static const int | sADC1 = bADC0 + sADC0 |
static const int | sADC2 = 0 |
static const int | sDCH = 0 |
static const int | sDCOMFLAG = bDTRGTYPE + sDTRGTYPE |
static const int | sDEL = 0 |
static const int | sDERR = bDEL + sDEL |
static const int | sDH = 24 |
static const int | sDHEAD = 28 |
static const int | sDOPTO = 16 |
static const int | sDORBIT = 0 |
static const int | sDRUN = 0 |
static const int | sDRUNTYPE = 0 |
static const int | sDTRGTYPE = 0 |
static const int | sDVMAJOR = bDVMINOR + sDVMINOR |
static const int | sDVMINOR = 8 |
static const int | sE0 = bSTRIP + sSTRIP + 1 |
static const int | sE1 = bE0 + sE0 |
static const int | sFIBER = bKID + sKID + 1 |
static const int | sHEAD = 28 |
static const int | sKBC = 0 |
static const int | sKCE = bKCRC + sKCRC |
static const int | sKCRC = bKET + sKET |
static const int | sKEC = 16 |
static const int | sKET = 0 |
static const int | sKFLAG1 = 24 |
static const int | sKFLAG2 = 16 |
static const int | sKHEAD = 28 |
static const int | sKHEAD1 = bFIBER + sFIBER + 2 |
static const int | sKHEAD2 = bKHEAD1 + sKHEAD1 |
static const int | sKID = 0 |
static const int | sOEMUKEC = 16 |
static const int | sOEMUTTCBC = 0 |
static const int | sOEMUTTCEC = 0 |
static const int | sOHEAD = 28 |
static const int | sPACE = bSTRIP + sSTRIP |
static const int | sSTRIP = bADC2 + sADC2 |
Private Attributes | |
int | bundleId_ [2][2][40][40] |
int | fedId_ [2][2][40][40] |
bool | fedIdOptoRx_ [56][3] |
bool | fedIdOptoRxFiber_ [56][3][12] |
int | fiberId_ [2][2][40][40] |
int | kchipId_ [2][2][40][40] |
edm::FileInPath | lookup_ |
int | optoId_ [2][2][40][40] |
int | paceId_ [2][2][40][40] |
Additional Inherited Members | |
Protected Member Functions inherited from ESDataFormatter | |
std::string | print (const Word64 &word) const |
std::string | print (const Word16 &word) const |
Protected Attributes inherited from ESDataFormatter | |
const bool | debug_ |
int | formatMajor_ |
int | formatMinor_ |
const bool | printInHex_ |
const edm::ParameterSet | pset_ |
const int | trgtype_ |
Definition at line 21 of file ESDataFormatterV4.h.
Definition at line 23 of file ESDataFormatterV4.h.
Definition at line 24 of file ESDataFormatterV4.h.
Definition at line 27 of file ESDataFormatterV4.h.
Definition at line 28 of file ESDataFormatterV4.h.
Definition at line 29 of file ESDataFormatterV4.h.
Definition at line 26 of file ESDataFormatterV4.h.
ESDataFormatterV4::ESDataFormatterV4 | ( | const edm::ParameterSet & | ps | ) |
Definition at line 100 of file ESDataFormatterV4.cc.
References bundleId_, gather_cfg::cout, ESDataFormatter::debug_, l1tstage2_dqm_sourceclient-live_cfg::fedId, fedId_, fedIdOptoRx_, fedIdOptoRxFiber_, fiberId_, mergeVDriftHistosByStation::file, edm::FileInPath::fullPath(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, dqmiolumiharvest::j, isotrackApplyRegressor::k, kchipId_, lookup_, visualization-live-secondInstance_cfg::m, FEDNumbering::MAXPreShowerFEDID, FEDNumbering::MINPreShowerFEDID, submitDQMOfflineCAF::nLines, optoId_, and paceId_.
|
override |
Definition at line 175 of file ESDataFormatterV4.cc.
|
overridevirtual |
Implements ESDataFormatter.
Definition at line 191 of file ESDataFormatterV4.cc.
References ESSample::adc(), ESDataFormatter::Meta_Data::bx, evf::compute_crc(), gather_cfg::cout, FEDRawData::data(), data, ESDataFormatter::debug_, l1tstage2_dqm_sourceclient-live_cfg::fedId, fedIdOptoRx_, fedIdOptoRxFiber_, fiberId_, mps_fire::i, ESDataFrame::id(), gpuClustering::id, dqmiolumiharvest::j, ESDataFormatter::Meta_Data::kchip_bc, ESDataFormatter::Meta_Data::kchip_ec, kchipId_, ltstrip(), ESDataFormatter::Meta_Data::lv1, FEDNumbering::MINPreShowerFEDID, optoId_, ESDataFormatter::Meta_Data::orbit_number, paceId_, ESDetId::plane(), ESDataFormatter::print(), FEDRawData::resize(), ESDataFormatter::Meta_Data::run_number, sADC0, sADC1, sADC2, ESDataFrame::sample(), sDEL, sDERR, sDH, sDHEAD, sDOPTO, sDORBIT, sDRUN, sDVMAJOR, sDVMINOR, FEDHeader::set(), FEDTrailer::set(), sHEAD, ESDetId::six(), ESDetId::siy(), ESDataFrame::size(), sKBC, sKEC, sKFLAG1, sKFLAG2, sKHEAD, sKID, sOEMUKEC, sOEMUTTCBC, sOEMUTTCEC, sOHEAD, sPACE, sSTRIP, ESDetId::strip(), ESDataFormatter::trgtype_, w, and ESDetId::zside().
|
staticprotected |
Definition at line 58 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 58 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 58 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 50 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 49 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 49 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 49 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 49 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 49 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 50 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 49 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 49 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 49 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 49 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 50 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 50 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 58 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 58 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 54 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 58 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 54 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 54 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 54 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 54 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 54 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 54 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 54 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 56 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 54 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 54 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 54 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 61 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 61 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 61 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 61 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 58 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 58 of file ESDataFormatterV4.h.
|
private |
Definition at line 41 of file ESDataFormatterV4.h.
Referenced by ESDataFormatterV4().
|
private |
Definition at line 38 of file ESDataFormatterV4.h.
Referenced by ESDataFormatterV4().
|
private |
Definition at line 45 of file ESDataFormatterV4.h.
Referenced by DigiToRaw(), and ESDataFormatterV4().
|
private |
Definition at line 46 of file ESDataFormatterV4.h.
Referenced by DigiToRaw(), and ESDataFormatterV4().
|
private |
Definition at line 42 of file ESDataFormatterV4.h.
Referenced by DigiToRaw(), and ESDataFormatterV4().
|
private |
Definition at line 39 of file ESDataFormatterV4.h.
Referenced by DigiToRaw(), and ESDataFormatterV4().
|
private |
Definition at line 37 of file ESDataFormatterV4.h.
Referenced by ESDataFormatterV4().
|
private |
Definition at line 43 of file ESDataFormatterV4.h.
Referenced by DigiToRaw(), and ESDataFormatterV4().
|
private |
Definition at line 40 of file ESDataFormatterV4.h.
Referenced by DigiToRaw(), and ESDataFormatterV4().
|
staticprotected |
Definition at line 59 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 59 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 59 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 52 of file ESDataFormatterV4.h.
Definition at line 51 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 51 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 51 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 51 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 51 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 52 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 51 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 51 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 51 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 51 of file ESDataFormatterV4.h.
Definition at line 52 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 52 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 59 of file ESDataFormatterV4.h.
Definition at line 59 of file ESDataFormatterV4.h.
Definition at line 55 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 59 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 55 of file ESDataFormatterV4.h.
Definition at line 55 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 57 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 55 of file ESDataFormatterV4.h.
Definition at line 55 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 62 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 62 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 62 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 62 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 59 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 59 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().