CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
23  public :
24 
27 
32 
35 
36 
37  void DigiToRaw(int fedId, Digis & digis, FEDRawData& fedRawData);
38 
39 
40  private :
41 
43  int fedId_[2][2][40][40];
44  int kchipId_[2][2][40][40];
45  int paceId_[2][2][40][40];
46  int bundleId_[2][2][40][40];
47  int fiberId_[2][2][40][40];
48  int optoId_[2][2][40][40];
49 
50  bool fedIdOptoRx_[56][3];
51  bool fedIdOptoRxFiber_[56][3][12];
52 
53  protected :
54 
56  static const int bDVMINOR, bDVMAJOR, bDCH, bDOPTO;
58  static const int sDVMINOR, sDVMAJOR, sDCH, sDOPTO;
59 
62  static const int bKHEAD;
63  static const int sKHEAD;
64  static const int bHEAD, bE1, bE0, bSTRIP, bPACE, bADC2, bADC1, bADC0;
65  static const int sHEAD, sE1, sE0, sSTRIP, sPACE, sADC2, sADC1, sADC0;
66 
67  static const int bOEMUTTCEC, bOEMUTTCBC, bOEMUKEC, bOHEAD ;
68  static const int sOEMUTTCEC, sOEMUTTCBC, sOEMUKEC, sOHEAD ;
69 
70 };
71 
72 #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
void DigiToRaw(int fedId, Digis &digis, FEDRawData &fedRawData)
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
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
static const int sKHEAD
static const int sOEMUTTCEC