CMS 3D CMS Logo

ESDataFormatterV1_1.h
Go to the documentation of this file.
1 #ifndef ESDATAFORMATTERV1_1_H
2 #define ESDATAFORMATTERV1_1_H
3 
4 #include <iostream>
5 #include <vector>
6 #include <bitset>
7 #include <sstream>
8 #include <map>
9 
15 
17 
18 class ESDigiToRaw;
19 
21 public:
24 
29 
31  ~ESDataFormatterV1_1() override;
32 
33  void DigiToRaw(int fedId, Digis& digis, FEDRawData& fedRawData, const Meta_Data& meta_data) const override;
34 
35 private:
36 protected:
38  static const int bDVMINOR, bDVMAJOR, bDCH, bDOPTO;
40  static const int sDVMINOR, sDVMAJOR, sDCH, sDOPTO;
43  static const int bHEAD, bE1, bE0, bSTRIP, bPACE, bADC2, bADC1, bADC0;
44  static const int sHEAD, sE1, sE0, sSTRIP, sPACE, sADC2, sADC1, sADC0;
45 };
46 
47 #endif
ESDataFormatterV1_1::sE1
static const int sE1
Definition: ESDataFormatterV1_1.h:44
ESDataFormatterV1_1::sDERR
static const int sDERR
Definition: ESDataFormatterV1_1.h:39
ESDataFormatterV1_1::bKCE
static const int bKCE
Definition: ESDataFormatterV1_1.h:41
ESDataFormatterV1_1::bSTRIP
static const int bSTRIP
Definition: ESDataFormatterV1_1.h:43
ESDataFormatter::Meta_Data
Definition: ESDataFormatter.h:18
ESDataFormatterV1_1::Word32
ESDataFormatter::Word32 Word32
Definition: ESDataFormatterV1_1.h:27
ESDataFormatterV1_1::sKCE
static const int sKCE
Definition: ESDataFormatterV1_1.h:42
ESDataFormatterV1_1::DetDigis
ESDataFormatter::DetDigis DetDigis
Definition: ESDataFormatterV1_1.h:22
ESDataFormatterV1_1::bDH
static const int bDH
Definition: ESDataFormatterV1_1.h:37
ESDataFormatterV1_1::sKHEAD2
static const int sKHEAD2
Definition: ESDataFormatterV1_1.h:42
ESDataFormatterV1_1::bE0
static const int bE0
Definition: ESDataFormatterV1_1.h:43
ESDataFormatterV1_1::sKID
static const int sKID
Definition: ESDataFormatterV1_1.h:42
ESDataFormatterV1_1::bDRUN
static const int bDRUN
Definition: ESDataFormatterV1_1.h:37
ESDigiToRaw
Definition: ESDigiToRaw.h:20
ESDataFormatterV1_1::~ESDataFormatterV1_1
~ESDataFormatterV1_1() override
Definition: ESDataFormatterV1_1.cc:85
ESDataFormatterV1_1::bKID
static const int bKID
Definition: ESDataFormatterV1_1.h:41
ESDataFormatterV1_1::bE1
static const int bE1
Definition: ESDataFormatterV1_1.h:43
ESDataFormatterV1_1::bDERR
static const int bDERR
Definition: ESDataFormatterV1_1.h:37
ESDataFormatterV1_1::bDEL
static const int bDEL
Definition: ESDataFormatterV1_1.h:37
ESDataFormatterV1_1::Digis
ESDataFormatter::Digis Digis
Definition: ESDataFormatterV1_1.h:23
ESDataFormatterV1_1::sDCH
static const int sDCH
Definition: ESDataFormatterV1_1.h:40
ESDataFormatterV1_1::sADC2
static const int sADC2
Definition: ESDataFormatterV1_1.h:44
ESDataFormatterV1_1::sDEL
static const int sDEL
Definition: ESDataFormatterV1_1.h:39
ESDataFormatterV1_1::sDH
static const int sDH
Definition: ESDataFormatterV1_1.h:39
ESDataFormatterV1_1::bDRUNTYPE
static const int bDRUNTYPE
Definition: ESDataFormatterV1_1.h:37
ESDataFormatterV1_1::sDOPTO
static const int sDOPTO
Definition: ESDataFormatterV1_1.h:40
ESDataFormatterV1_1::sDRUN
static const int sDRUN
Definition: ESDataFormatterV1_1.h:39
ESDataFormatterV1_1::bADC1
static const int bADC1
Definition: ESDataFormatterV1_1.h:43
FEDRawData.h
ESDataFormatterV1_1::bDORBIT
static const int bDORBIT
Definition: ESDataFormatterV1_1.h:37
ESDataFormatterV1_1::bDCOMFLAG
static const int bDCOMFLAG
Definition: ESDataFormatterV1_1.h:37
ESDataFormatter::Digis
std::map< int, DetDigis > Digis
Definition: ESDataFormatter.h:31
FEDRawData
Definition: FEDRawData.h:19
ESDataFormatter::Word64
uint64_t Word64
Definition: ESDataFormatter.h:36
ESDataFormatterV1_1::ESDataFormatterV1_1
ESDataFormatterV1_1(const edm::ParameterSet &ps)
Definition: ESDataFormatterV1_1.cc:83
ESDataFrame.h
ESDataFormatterV1_1::Word16
ESDataFormatter::Word16 Word16
Definition: ESDataFormatterV1_1.h:26
ESDataFormatterV1_1::sDVMAJOR
static const int sDVMAJOR
Definition: ESDataFormatterV1_1.h:40
ESDataFormatter::Word8
uint8_t Word8
Definition: ESDataFormatter.h:33
l1t_dqm_sourceclient-live_cfg.fedRawData
fedRawData
Definition: l1t_dqm_sourceclient-live_cfg.py:188
ESDataFormatterV1_1::bKET
static const int bKET
Definition: ESDataFormatterV1_1.h:41
ESDataFormatterV1_1::sDORBIT
static const int sDORBIT
Definition: ESDataFormatterV1_1.h:39
EcalDigiCollections.h
ESDataFormatterV1_1::sKFLAG2
static const int sKFLAG2
Definition: ESDataFormatterV1_1.h:42
ESDataFormatterV1_1::sHEAD
static const int sHEAD
Definition: ESDataFormatterV1_1.h:44
ESDataFormatterV1_1::sPACE
static const int sPACE
Definition: ESDataFormatterV1_1.h:44
ESDataFormatterV1_1::bKBC
static const int bKBC
Definition: ESDataFormatterV1_1.h:41
ESDataFormatterV1_1::sKEC
static const int sKEC
Definition: ESDataFormatterV1_1.h:42
ESDataFormatterV1_1::bKFLAG2
static const int bKFLAG2
Definition: ESDataFormatterV1_1.h:41
edm::ParameterSet
Definition: ParameterSet.h:47
ESDataFormatterV1_1::bFIBER
static const int bFIBER
Definition: ESDataFormatterV1_1.h:41
ESDataFormatterV1_1::Word64
ESDataFormatter::Word64 Word64
Definition: ESDataFormatterV1_1.h:28
ESDataFormatterV1_1::bDOPTO
static const int bDOPTO
Definition: ESDataFormatterV1_1.h:38
ESDataFormatter.h
FEDRawDataCollection.h
ESDataFormatterV1_1::sADC1
static const int sADC1
Definition: ESDataFormatterV1_1.h:44
ESDataFormatter
Definition: ESDataFormatter.h:16
l1tstage2_dqm_sourceclient-live_cfg.fedId
fedId
Definition: l1tstage2_dqm_sourceclient-live_cfg.py:89
ESDataFormatterV1_1::sE0
static const int sE0
Definition: ESDataFormatterV1_1.h:44
ESDataFormatterV1_1::bKFLAG1
static const int bKFLAG1
Definition: ESDataFormatterV1_1.h:41
ESDataFormatterV1_1::sKCRC
static const int sKCRC
Definition: ESDataFormatterV1_1.h:42
ESDataFormatterV1_1::bPACE
static const int bPACE
Definition: ESDataFormatterV1_1.h:43
ESDataFormatterV1_1::sKET
static const int sKET
Definition: ESDataFormatterV1_1.h:42
ESDataFormatterV1_1::bDCH
static const int bDCH
Definition: ESDataFormatterV1_1.h:38
ESDataFormatterV1_1::sKHEAD1
static const int sKHEAD1
Definition: ESDataFormatterV1_1.h:42
ESDataFormatter::DetDigis
std::vector< ESDataFrame > DetDigis
Definition: ESDataFormatter.h:30
ESDataFormatterV1_1::sFIBER
static const int sFIBER
Definition: ESDataFormatterV1_1.h:42
ESDataFormatterV1_1::bHEAD
static const int bHEAD
Definition: ESDataFormatterV1_1.h:43
ESDataFormatterV1_1::DigiToRaw
void DigiToRaw(int fedId, Digis &digis, FEDRawData &fedRawData, const Meta_Data &meta_data) const override
Definition: ESDataFormatterV1_1.cc:124
ESDataFormatterV1_1::bKHEAD1
static const int bKHEAD1
Definition: ESDataFormatterV1_1.h:41
ESDataFormatter::Word32
uint32_t Word32
Definition: ESDataFormatter.h:35
ESDataFormatterV1_1::sADC0
static const int sADC0
Definition: ESDataFormatterV1_1.h:44
ESDataFormatterV1_1::sKBC
static const int sKBC
Definition: ESDataFormatterV1_1.h:42
ESDataFormatterV1_1::bKEC
static const int bKEC
Definition: ESDataFormatterV1_1.h:41
ESDataFormatterV1_1::bDVMAJOR
static const int bDVMAJOR
Definition: ESDataFormatterV1_1.h:38
ESDataFormatterV1_1::sDCOMFLAG
static const int sDCOMFLAG
Definition: ESDataFormatterV1_1.h:39
ESDataFormatterV1_1::bDVMINOR
static const int bDVMINOR
Definition: ESDataFormatterV1_1.h:38
ESDataFormatterV1_1::bADC2
static const int bADC2
Definition: ESDataFormatterV1_1.h:43
ESDataFormatter::Word16
uint16_t Word16
Definition: ESDataFormatter.h:34
ParameterSet.h
ESDataFormatterV1_1::sKFLAG1
static const int sKFLAG1
Definition: ESDataFormatterV1_1.h:42
ESDataFormatterV1_1::bADC0
static const int bADC0
Definition: ESDataFormatterV1_1.h:43
ESDataFormatterV1_1
Definition: ESDataFormatterV1_1.h:20
ESDataFormatterV1_1::Word8
ESDataFormatter::Word8 Word8
Definition: ESDataFormatterV1_1.h:25
ESDataFormatterV1_1::sSTRIP
static const int sSTRIP
Definition: ESDataFormatterV1_1.h:44
ESDataFormatterV1_1::sDVMINOR
static const int sDVMINOR
Definition: ESDataFormatterV1_1.h:40
ESDataFormatterV1_1::bKCRC
static const int bKCRC
Definition: ESDataFormatterV1_1.h:41
ESDataFormatterV1_1::bDHEAD
static const int bDHEAD
Definition: ESDataFormatterV1_1.h:37
ESDataFormatterV1_1::bDTRGTYPE
static const int bDTRGTYPE
Definition: ESDataFormatterV1_1.h:37
ESDataFormatterV1_1::sDRUNTYPE
static const int sDRUNTYPE
Definition: ESDataFormatterV1_1.h:39
ESDataFormatterV1_1::sDHEAD
static const int sDHEAD
Definition: ESDataFormatterV1_1.h:39
ESDataFormatterV1_1::bKHEAD2
static const int bKHEAD2
Definition: ESDataFormatterV1_1.h:41
ESDataFormatterV1_1::sDTRGTYPE
static const int sDTRGTYPE
Definition: ESDataFormatterV1_1.h:39