#include <ESDataFormatterV1_1.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, const Meta_Data &meta_data) const override |
ESDataFormatterV1_1 (const edm::ParameterSet &ps) | |
~ESDataFormatterV1_1 () 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 = 2 |
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 | bKHEAD1 = 2 |
static const int | bKHEAD2 = 2 |
static const int | bKID = 11 |
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 = 26 |
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 = bE1 + sE1 + 4 |
static const int | sKBC = bKFLAG2 + sKFLAG2 |
static const int | sKCE = bKCRC + sKCRC |
static const int | sKCRC = bKET + sKET |
static const int | sKEC = 0 |
static const int | sKET = 0 |
static const int | sKFLAG1 = bKBC + sKBC |
static const int | sKFLAG2 = bKEC + sKEC |
static const int | sKHEAD1 = bFIBER + sFIBER + 2 |
static const int | sKHEAD2 = bKHEAD1 + sKHEAD1 |
static const int | sKID = bKCE + sKCE + 5 |
static const int | sPACE = bADC2 + sADC2 |
static const int | sSTRIP = bPACE + sPACE |
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 20 of file ESDataFormatterV1_1.h.
Definition at line 22 of file ESDataFormatterV1_1.h.
Definition at line 23 of file ESDataFormatterV1_1.h.
Definition at line 26 of file ESDataFormatterV1_1.h.
Definition at line 27 of file ESDataFormatterV1_1.h.
Definition at line 28 of file ESDataFormatterV1_1.h.
Definition at line 25 of file ESDataFormatterV1_1.h.
ESDataFormatterV1_1::ESDataFormatterV1_1 | ( | const edm::ParameterSet & | ps | ) |
Definition at line 83 of file ESDataFormatterV1_1.cc.
|
override |
Definition at line 85 of file ESDataFormatterV1_1.cc.
|
overridevirtual |
Implements ESDataFormatter.
Definition at line 124 of file ESDataFormatterV1_1.cc.
References ESSample::adc(), ESDataFormatter::Meta_Data::bx, evf::compute_crc(), gather_cfg::cout, data, ESDataFormatter::debug_, hcalRecHitTable_cff::detId, l1tstage2_dqm_sourceclient-live_cfg::fedId, l1t_dqm_sourceclient-live_cfg::fedRawData, mps_fire::i, ESDataFrame::id(), l1ctLayer2EG_cff::id, ESDataFormatter::Meta_Data::lv1, ESDataFormatter::Meta_Data::orbit_number, ESDataFormatter::print(), ESDataFormatter::Meta_Data::run_number, sADC0, sADC1, sADC2, ESDataFrame::sample(), sDEL, sDH, sDHEAD, sDORBIT, sDRUN, sDVMAJOR, sDVMINOR, sE0, sE1, FEDHeader::set(), FEDTrailer::set(), sFIBER, sHEAD, ESDataFrame::size(), sKBC, sKCE, sKCRC, sKEC, sKET, sKFLAG1, sKFLAG2, sKHEAD1, sKHEAD2, sKID, sPACE, sSTRIP, ESDataFormatter::trgtype_, and w().
|
staticprotected |
Definition at line 43 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 43 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 43 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 38 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 37 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 37 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 37 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 37 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 37 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 38 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 37 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 37 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 37 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 37 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 38 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 38 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 43 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 43 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 41 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 43 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 41 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 41 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 41 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 41 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 41 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 41 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 41 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 41 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 41 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 41 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 43 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 43 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 44 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 44 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 44 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 40 of file ESDataFormatterV1_1.h.
Definition at line 39 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 39 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 39 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 39 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 39 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 40 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 39 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 39 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 39 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 39 of file ESDataFormatterV1_1.h.
Definition at line 40 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 40 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 44 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 44 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 42 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 44 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 42 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 42 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 42 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 42 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 42 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 42 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 42 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 42 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 42 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 42 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 44 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 44 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().