CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Macros
EvffedFillerRB.h File Reference
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include "EventFilter/FEDInterface/interface/fed_header.h"
#include "EventFilter/FEDInterface/interface/fed_trailer.h"
#include "EventFilter/FEDInterface/interface/FED1023.h"
#include "FWCore/Utilities/interface/CRC16.h"

Go to the source code of this file.

Classes

class  evf::EvffedFillerRB
 
union  evf::EvffedFillerRB::Payload
 

Namespaces

 evf
 

Macros

#define FED_BXID_INSERT(a)   ( ( (a) & FED_BXID_WIDTH ) << FED_BXID_SHIFT )
 
#define FED_CRCS_INSERT(a)   ( ( (a) & FED_CRCS_WIDTH ) << FED_CRCS_SHIFT )
 
#define FED_EVSZ_INSERT(a)   ( ( (a) & FED_EVSZ_WIDTH ) << FED_EVSZ_SHIFT )
 
#define FED_EVTY_INSERT(a)   ( ( (a) & FED_EVTY_WIDTH ) << FED_EVTY_SHIFT )
 
#define FED_HCTRLID_INSERT   ( ( (FED_SLINK_START_MARKER) & FED_HCTRLID_WIDTH )<< FED_HCTRLID_SHIFT)
 
#define FED_LVL1_INSERT(a)   ( ( (a) & FED_LVL1_WIDTH ) << FED_LVL1_SHIFT )
 
#define FED_MORE_HEADERS_INSERT(a)   ( ( (a) & FED_MORE_HEADERS_WIDTH ) << FED_MORE_HEADERS_SHIFT )
 
#define FED_MORE_TRAILERS_INSERT(a)   ( ( (a) & FED_MORE_TRAILERS_WIDTH ) << FED_MORE_TRAILERS_SHIFT )
 
#define FED_SOID_INSERT(a)   ( ( (a) & FED_SOID_WIDTH ) << FED_SOID_SHIFT )
 
#define FED_STAT_INSERT(a)   ( ( (a) & FED_STAT_WIDTH ) << FED_STAT_SHIFT )
 
#define FED_TCTRLID_INSERT   ( ( (FED_SLINK_END_MARKER) & FED_TCTRLID_WIDTH ) << FED_TCTRLID_SHIFT )
 
#define FED_TTSI_INSERT(a)   ( ( (a) & FED_TTSI_WIDTH ) << FED_TTSI_SHIFT )
 
#define FED_VERSION_INSERT(a)   ( ( (a) & FED_VERSION_WIDTH ) << FED_VERSION_SHIFT )
 

Macro Definition Documentation

#define FED_BXID_INSERT (   a)    ( ( (a) & FED_BXID_WIDTH ) << FED_BXID_SHIFT )

Definition at line 13 of file EvffedFillerRB.h.

Referenced by evf::EvffedFillerRB::putHeader().

#define FED_CRCS_INSERT (   a)    ( ( (a) & FED_CRCS_WIDTH ) << FED_CRCS_SHIFT )

Definition at line 21 of file EvffedFillerRB.h.

Referenced by evf::EvffedFillerRB::putTrailer().

#define FED_EVSZ_INSERT (   a)    ( ( (a) & FED_EVSZ_WIDTH ) << FED_EVSZ_SHIFT )

Definition at line 20 of file EvffedFillerRB.h.

Referenced by evf::EvffedFillerRB::putTrailer().

#define FED_EVTY_INSERT (   a)    ( ( (a) & FED_EVTY_WIDTH ) << FED_EVTY_SHIFT )

Definition at line 11 of file EvffedFillerRB.h.

Referenced by evf::EvffedFillerRB::putHeader().

#define FED_HCTRLID_INSERT   ( ( (FED_SLINK_START_MARKER) & FED_HCTRLID_WIDTH )<< FED_HCTRLID_SHIFT)

Definition at line 10 of file EvffedFillerRB.h.

Referenced by evf::EvffedFillerRB::putHeader().

#define FED_LVL1_INSERT (   a)    ( ( (a) & FED_LVL1_WIDTH ) << FED_LVL1_SHIFT )

Definition at line 12 of file EvffedFillerRB.h.

Referenced by evf::EvffedFillerRB::putHeader().

#define FED_MORE_HEADERS_INSERT (   a)    ( ( (a) & FED_MORE_HEADERS_WIDTH ) << FED_MORE_HEADERS_SHIFT )

Definition at line 16 of file EvffedFillerRB.h.

#define FED_MORE_TRAILERS_INSERT (   a)    ( ( (a) & FED_MORE_TRAILERS_WIDTH ) << FED_MORE_TRAILERS_SHIFT )

Definition at line 24 of file EvffedFillerRB.h.

#define FED_SOID_INSERT (   a)    ( ( (a) & FED_SOID_WIDTH ) << FED_SOID_SHIFT )

Definition at line 14 of file EvffedFillerRB.h.

Referenced by evf::EvffedFillerRB::putHeader().

#define FED_STAT_INSERT (   a)    ( ( (a) & FED_STAT_WIDTH ) << FED_STAT_SHIFT )

Definition at line 22 of file EvffedFillerRB.h.

#define FED_TCTRLID_INSERT   ( ( (FED_SLINK_END_MARKER) & FED_TCTRLID_WIDTH ) << FED_TCTRLID_SHIFT )

Definition at line 19 of file EvffedFillerRB.h.

Referenced by evf::EvffedFillerRB::putTrailer().

#define FED_TTSI_INSERT (   a)    ( ( (a) & FED_TTSI_WIDTH ) << FED_TTSI_SHIFT )

Definition at line 23 of file EvffedFillerRB.h.

#define FED_VERSION_INSERT (   a)    ( ( (a) & FED_VERSION_WIDTH ) << FED_VERSION_SHIFT )

Definition at line 15 of file EvffedFillerRB.h.

Referenced by evf::EvffedFillerRB::putHeader().