CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ESDataFormatterV4.h
Go to the documentation of this file.
1 #ifndef ESDATAFORMATTERV4_H
2 #define ESDATAFORMATTERV4_H
3 
4 #include <iostream>
5 #include <vector>
6 #include <bitset>
7 #include <sstream>
8 #include <map>
9 #include <fstream>
10 
18 
19 class ESDigiToRaw;
20 
22 public:
25 
30 
32  ~ESDataFormatterV4() override;
33 
34  void DigiToRaw(int fedId, Digis& digis, FEDRawData& fedRawData, Meta_Data const& meta_data) const override;
35 
36 private:
38  int fedId_[2][2][40][40];
39  int kchipId_[2][2][40][40];
40  int paceId_[2][2][40][40];
41  int bundleId_[2][2][40][40];
42  int fiberId_[2][2][40][40];
43  int optoId_[2][2][40][40];
44 
45  bool fedIdOptoRx_[56][3];
46  bool fedIdOptoRxFiber_[56][3][12];
47 
48 protected:
50  static const int bDVMINOR, bDVMAJOR, bDCH, bDOPTO;
52  static const int sDVMINOR, sDVMAJOR, sDCH, sDOPTO;
53 
56  static const int bKHEAD;
57  static const int sKHEAD;
58  static const int bHEAD, bE1, bE0, bSTRIP, bPACE, bADC2, bADC1, bADC0;
59  static const int sHEAD, sE1, sE0, sSTRIP, sPACE, sADC2, sADC1, sADC0;
60 
61  static const int bOEMUTTCEC, bOEMUTTCBC, bOEMUKEC, bOHEAD;
62  static const int sOEMUTTCEC, sOEMUTTCBC, sOEMUKEC, sOHEAD;
63 };
64 
65 #endif
static const int sOHEAD
int bundleId_[2][2][40][40]
int fiberId_[2][2][40][40]
static const int sHEAD
static const int bE0
static const int bHEAD
static const int bDHEAD
static const int sSTRIP
static const int sPACE
static const int sDH
static const int bPACE
static const int bKBC
static const int bKHEAD
static const int bKEC
static const int bDVMAJOR
static const int bDRUNTYPE
bool fedIdOptoRxFiber_[56][3][12]
static const int sDVMINOR
static const int bFIBER
ESDataFormatter::Word16 Word16
static const int sKEC
static const int bOHEAD
static const int bDOPTO
ESDataFormatter::Word8 Word8
static const int sKET
static const int bDORBIT
static const int bADC2
std::map< int, DetDigis > Digis
static const int sDTRGTYPE
static const int sDERR
static const int bADC0
ESDataFormatter::Word32 Word32
static const int sKFLAG2
static const int sDRUN
ESDataFormatter::Word64 Word64
static const int sDRUNTYPE
static const int sOEMUTTCBC
static const int bDCH
static const int bOEMUKEC
static const int sADC2
static const int bKID
ESDataFormatter::DetDigis DetDigis
static const int bKHEAD1
edm::FileInPath lookup_
static const int bDVMINOR
static const int bE1
static const int bDH
static const int sKHEAD1
~ESDataFormatterV4() override
static const int sE0
static const int sOEMUKEC
static const int sDCH
int kchipId_[2][2][40][40]
bool fedIdOptoRx_[56][3]
static const int sDEL
static const int sKFLAG1
static const int sADC0
static const int sDOPTO
int fedId_[2][2][40][40]
static const int bKCE
static const int sKBC
static const int bKFLAG1
static const int bDTRGTYPE
static const int sKHEAD2
static const int sDORBIT
static const int bKHEAD2
static const int sADC1
static const int bDRUN
static const int sKCE
static const int sDVMAJOR
static const int bADC1
static const int sDCOMFLAG
static const int bKCRC
static const int sKID
static const int sDHEAD
static const int bSTRIP
static const int bKFLAG2
int paceId_[2][2][40][40]
ESDataFormatter::Digis Digis
static const int bOEMUTTCEC
ESDataFormatterV4(const edm::ParameterSet &ps)
static const int sE1
static const int bDERR
static const int sKCRC
static const int bDEL
static const int bDCOMFLAG
static const int bKET
int optoId_[2][2][40][40]
static const int sFIBER
static const int bOEMUTTCBC
std::vector< ESDataFrame > DetDigis
void DigiToRaw(int fedId, Digis &digis, FEDRawData &fedRawData, Meta_Data const &meta_data) const override
static const int sKHEAD
static const int sOEMUTTCEC