#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) |
ESDataFormatterV1_1 (const edm::ParameterSet &ps) | |
~ESDataFormatterV1_1 () | |
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 = 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 | |
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 20 of file ESDataFormatterV1_1.h.
Definition at line 24 of file ESDataFormatterV1_1.h.
Definition at line 25 of file ESDataFormatterV1_1.h.
Definition at line 28 of file ESDataFormatterV1_1.h.
Definition at line 29 of file ESDataFormatterV1_1.h.
Definition at line 30 of file ESDataFormatterV1_1.h.
Definition at line 27 of file ESDataFormatterV1_1.h.
ESDataFormatterV1_1::ESDataFormatterV1_1 | ( | const edm::ParameterSet & | ps | ) |
Definition at line 84 of file ESDataFormatterV1_1.cc.
ESDataFormatterV1_1::~ESDataFormatterV1_1 | ( | ) |
Definition at line 88 of file ESDataFormatterV1_1.cc.
|
virtual |
Implements ESDataFormatter.
Definition at line 128 of file ESDataFormatterV1_1.cc.
References ESSample::adc(), ESDataFormatter::bx_, evf::compute_crc(), gather_cfg::cout, FEDRawData::data(), data, ESDataFormatter::debug_, i, hcalTTPDigis_cfi::id, ESDataFrame::id(), ESDataFormatter::lv1_, ESDataFormatter::orbit_number_, ESDetId::plane(), ESDataFormatter::print(), FEDRawData::resize(), ESDataFormatter::run_number_, sADC0, sADC1, sADC2, ESDataFrame::sample(), sDEL, sDH, sDHEAD, sDORBIT, sDRUN, sDVMAJOR, sDVMINOR, sE0, sE1, FEDTrailer::set(), FEDHeader::set(), sFIBER, sHEAD, ESDetId::six(), ESDetId::siy(), ESDataFrame::size(), sKBC, sKCE, sKCRC, sKEC, sKET, sKFLAG1, sKFLAG2, sKHEAD1, sKHEAD2, sKID, sPACE, sSTRIP, ESDetId::strip(), ESDataFormatter::trgtype_, w, and ESDetId::zside().
|
staticprotected |
Definition at line 50 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 50 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 50 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 45 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 44 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 44 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 44 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 44 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 44 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 45 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 44 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 44 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 44 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 44 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 45 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 45 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 50 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 50 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 48 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 50 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 48 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 48 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 48 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 48 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 48 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 48 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 48 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 48 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 48 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 48 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 50 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 50 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 51 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 51 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 51 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 47 of file ESDataFormatterV1_1.h.
Definition at line 46 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 46 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 46 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 46 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 46 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 47 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 46 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 46 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 46 of file ESDataFormatterV1_1.h.
|
staticprotected |
Definition at line 46 of file ESDataFormatterV1_1.h.
Definition at line 47 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 47 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 51 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 51 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 49 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 51 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 49 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 49 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 49 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 49 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
|
staticprotected |
Definition at line 49 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 49 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 49 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 49 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 49 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 49 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 51 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().
Definition at line 51 of file ESDataFormatterV1_1.h.
Referenced by DigiToRaw().