#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) |
ESDataFormatterV4 (const edm::ParameterSet &ps) | |
~ESDataFormatterV4 () | |
Public Member Functions inherited from ESDataFormatter | |
ESDataFormatter (const edm::ParameterSet &ps) | |
virtual void | setBX (int i) |
virtual void | setKchipBC (int i) |
virtual void | setKchipEC (int i) |
virtual void | setLV1 (int i) |
virtual void | setOrbitNumber (int i) |
virtual void | setRunNumber (int i) |
virtual void | setTriggerType (int i) |
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 | |
int | bx_ |
bool | debug_ |
int | formatMajor_ |
int | formatMinor_ |
int | kchip_bc_ |
int | kchip_ec_ |
int | lv1_ |
int | orbit_number_ |
bool | printInHex_ |
const edm::ParameterSet | pset_ |
int | run_number_ |
int | trgtype_ |
Definition at line 21 of file ESDataFormatterV4.h.
Definition at line 25 of file ESDataFormatterV4.h.
Definition at line 26 of file ESDataFormatterV4.h.
Definition at line 29 of file ESDataFormatterV4.h.
Definition at line 30 of file ESDataFormatterV4.h.
Definition at line 31 of file ESDataFormatterV4.h.
Definition at line 28 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_, fedId_, fedIdOptoRx_, fedIdOptoRxFiber_, fiberId_, mergeVDriftHistosByStation::file, edm::FileInPath::fullPath(), edm::ParameterSet::getUntrackedParameter(), i, j, gen::k, kchipId_, lookup_, m, FEDNumbering::MAXPreShowerFEDID, FEDNumbering::MINPreShowerFEDID, submitDQMOfflineCAF::nLines, optoId_, and paceId_.
ESDataFormatterV4::~ESDataFormatterV4 | ( | ) |
Definition at line 174 of file ESDataFormatterV4.cc.
|
virtual |
Implements ESDataFormatter.
Definition at line 201 of file ESDataFormatterV4.cc.
References ESSample::adc(), ESDataFormatter::bx_, evf::compute_crc(), gather_cfg::cout, FEDRawData::data(), data, ESDataFormatter::debug_, fedIdOptoRx_, fedIdOptoRxFiber_, fiberId_, i, ESDataFrame::id(), j, ESDataFormatter::kchip_bc_, ESDataFormatter::kchip_ec_, kchipId_, ESDataFormatter::lv1_, FEDNumbering::MINPreShowerFEDID, optoId_, ESDataFormatter::orbit_number_, paceId_, ESDetId::plane(), ESDataFormatter::print(), FEDRawData::resize(), ESDataFormatter::run_number_, sADC0, sADC1, sADC2, ESDataFrame::sample(), sDEL, sDERR, sDH, sDHEAD, sDOPTO, sDORBIT, sDRUN, sDVMAJOR, sDVMINOR, FEDTrailer::set(), FEDHeader::set(), sHEAD, ESDetId::six(), ESDetId::siy(), ESDataFrame::size(), sKBC, sKEC, sKFLAG1, sKFLAG2, sKHEAD, sKID, sOEMUKEC, sOEMUTTCBC, sOEMUTTCEC, sOHEAD, python.multivaluedict::sort(), sPACE, sSTRIP, ESDetId::strip(), ESDataFormatter::trgtype_, w, and ESDetId::zside().
|
staticprotected |
Definition at line 64 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 64 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 64 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 56 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 56 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 55 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 56 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 56 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 64 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 64 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 60 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 64 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 60 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 60 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 60 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 60 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 60 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 60 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 60 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 62 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 60 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 60 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 60 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 67 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 67 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 67 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 67 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 64 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 64 of file ESDataFormatterV4.h.
|
private |
Definition at line 46 of file ESDataFormatterV4.h.
Referenced by ESDataFormatterV4().
|
private |
Definition at line 43 of file ESDataFormatterV4.h.
Referenced by ESDataFormatterV4().
|
private |
Definition at line 50 of file ESDataFormatterV4.h.
Referenced by DigiToRaw(), and ESDataFormatterV4().
|
private |
Definition at line 51 of file ESDataFormatterV4.h.
Referenced by DigiToRaw(), and ESDataFormatterV4().
|
private |
Definition at line 47 of file ESDataFormatterV4.h.
Referenced by DigiToRaw(), and ESDataFormatterV4().
|
private |
Definition at line 44 of file ESDataFormatterV4.h.
Referenced by DigiToRaw(), and ESDataFormatterV4().
|
private |
Definition at line 42 of file ESDataFormatterV4.h.
Referenced by ESDataFormatterV4().
|
private |
Definition at line 48 of file ESDataFormatterV4.h.
Referenced by DigiToRaw(), and ESDataFormatterV4().
|
private |
Definition at line 45 of file ESDataFormatterV4.h.
Referenced by DigiToRaw(), and ESDataFormatterV4().
|
staticprotected |
Definition at line 65 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 65 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 65 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 58 of file ESDataFormatterV4.h.
Definition at line 57 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 57 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 57 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 57 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 57 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 58 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 57 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 57 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 57 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 57 of file ESDataFormatterV4.h.
Definition at line 58 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 58 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 65 of file ESDataFormatterV4.h.
Definition at line 65 of file ESDataFormatterV4.h.
Definition at line 61 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 65 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 61 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 61 of file ESDataFormatterV4.h.
Definition at line 61 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 61 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 61 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 61 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 61 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 63 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 61 of file ESDataFormatterV4.h.
Definition at line 61 of file ESDataFormatterV4.h.
|
staticprotected |
Definition at line 61 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 68 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 68 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 68 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 68 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 65 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().
Definition at line 65 of file ESDataFormatterV4.h.
Referenced by DigiToRaw().