CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Protected Attributes
ESDataFormatterV1_1 Class Reference

#include <ESDataFormatterV1_1.h>

Inheritance diagram for ESDataFormatterV1_1:
ESDataFormatter

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< ESDataFrameDetDigis
 
typedef std::map< int, DetDigisDigis
 
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_
 

Detailed Description

Definition at line 20 of file ESDataFormatterV1_1.h.

Member Typedef Documentation

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

void ESDataFormatterV1_1::DigiToRaw ( int  fedId,
Digis digis,
FEDRawData fedRawData 
)
virtual

Implements ESDataFormatter.

Definition at line 128 of file ESDataFormatterV1_1.cc.

Member Data Documentation

const int ESDataFormatterV1_1::bADC0 = 16
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bADC1 = 16
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bADC2 = 16
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDCH = 4
staticprotected

Definition at line 45 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDCOMFLAG = 8
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDEL = 24
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDERR = 8
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDH = 6
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDHEAD = 2
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDOPTO = 8
staticprotected

Definition at line 45 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDORBIT = 32
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDRUN = 24
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDRUNTYPE = 32
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDTRGTYPE = 16
staticprotected

Definition at line 44 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDVMAJOR = 8
staticprotected

Definition at line 45 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bDVMINOR = 8
staticprotected

Definition at line 45 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bE0 = 1
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bE1 = 1
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bFIBER = 6
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bHEAD = 2
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKBC = 12
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKCE = 1
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKCRC = 1
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKEC = 8
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKET = 1
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKFLAG1 = 4
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKFLAG2 = 8
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKHEAD1 = 2
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKHEAD2 = 2
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bKID = 11
staticprotected

Definition at line 48 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bPACE = 2
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::bSTRIP = 5
staticprotected

Definition at line 50 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sADC0 = 0
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sADC1 = bADC0 + sADC0
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sADC2 = 0
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDCH = 0
staticprotected

Definition at line 47 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDCOMFLAG = bDTRGTYPE + sDTRGTYPE
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDEL = 0
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDERR = bDEL + sDEL
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDH = 24
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDHEAD = 26
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDOPTO = 16
staticprotected

Definition at line 47 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDORBIT = 0
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDRUN = 0
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDRUNTYPE = 0
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDTRGTYPE = 0
staticprotected

Definition at line 46 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDVMAJOR = bDVMINOR + sDVMINOR
staticprotected

Definition at line 47 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sDVMINOR = 8
staticprotected

Definition at line 47 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sE0 = bSTRIP + sSTRIP + 1
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sE1 = bE0 + sE0
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sFIBER = bKID + sKID + 1
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sHEAD = bE1 + sE1 + 4
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sKBC = bKFLAG2 + sKFLAG2
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sKCE = bKCRC + sKCRC
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sKCRC = bKET + sKET
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sKEC = 0
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sKET = 0
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sKFLAG1 = bKBC + sKBC
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sKFLAG2 = bKEC + sKEC
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sKHEAD1 = bFIBER + sFIBER + 2
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sKHEAD2 = bKHEAD1 + sKHEAD1
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sKID = bKCE + sKCE + 5
staticprotected

Definition at line 49 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sPACE = bADC2 + sADC2
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.

const int ESDataFormatterV1_1::sSTRIP = bPACE + sPACE
staticprotected

Definition at line 51 of file ESDataFormatterV1_1.h.