CMS 3D CMS Logo

Namespaces | Enumerations | Functions | Variables
GlobalEventNumber.h File Reference
#include <stddef.h>
#include "EventFilter/FEDInterface/interface/fed_header.h"
#include "EventFilter/FEDInterface/interface/FEDConstants.h"

Go to the source code of this file.

Namespaces

 evf
 
 evf::evtn
 

Enumerations

enum  evf::evtn::EvmRecordScheme { evf::evtn::BST32_3BX = 34 * SLINK_WORD_SIZE, evf::evtn::BST32_5BX = 48 * SLINK_WORD_SIZE, evf::evtn::BST52_3BX = 37 * SLINK_WORD_SIZE, evf::evtn::BST52_5BX = 51 * SLINK_WORD_SIZE }
 

Functions

bool evf::evtn::daq_board_sense (const unsigned char *p)
 
bool evf::evtn::evm_board_sense (const unsigned char *p, size_t size)
 
void evf::evtn::evm_board_setformat (size_t size)
 
bool evf::evtn::evm_tcs_board_sense (const unsigned char *p)
 
unsigned int evf::evtn::get (const unsigned char *, bool)
 
unsigned int evf::evtn::getevtyp (const unsigned char *)
 
unsigned int evf::evtn::getfdlbx (const unsigned char *)
 
unsigned int evf::evtn::getfdlpsc (const unsigned char *)
 
unsigned long long evf::evtn::getfdlta1 (const unsigned char *)
 
unsigned long long evf::evtn::getfdlta2 (const unsigned char *)
 
unsigned long long evf::evtn::getfdlttr (const unsigned char *)
 
unsigned int evf::evtn::getgpshigh (const unsigned char *)
 
unsigned int evf::evtn::getgpslow (const unsigned char *)
 
unsigned int evf::evtn::getlbn (const unsigned char *)
 
unsigned int evf::evtn::getorbit (const unsigned char *)
 
bool evf::evtn::gtpe_board_sense (const unsigned char *p)
 
unsigned int evf::evtn::gtpe_get (const unsigned char *)
 
unsigned int evf::evtn::gtpe_getbx (const unsigned char *)
 
unsigned int evf::evtn::gtpe_getlbn (const unsigned char *)
 
unsigned int evf::evtn::gtpe_getorbit (const unsigned char *)
 
unsigned int evf::evtn::offset (bool)
 

Variables

const unsigned int evf::evtn::DAQ_BOARDID_MASK = 0xffff0000
 
const unsigned int evf::evtn::DAQ_BOARDID_OFFSET = 1
 
const unsigned int evf::evtn::DAQ_BOARDID_SHIFT = 24
 
const unsigned int evf::evtn::DAQ_BOARDID_VALUE = 0x11
 
const unsigned int evf::evtn::DAQ_TOTTRG_OFFSET = 2
 
const unsigned int evf::evtn::EVM_BOARDID_MASK = 0xffff0000
 
const unsigned int evf::evtn::EVM_BOARDID_OFFSET = 1
 
const unsigned int evf::evtn::EVM_BOARDID_SHIFT = 24
 
const unsigned int evf::evtn::EVM_BOARDID_VALUE = 0x11
 
const unsigned int evf::evtn::EVM_FDL_ALGOB1_OFFSET = 4
 
const unsigned int evf::evtn::EVM_FDL_ALGOB2_OFFSET = 6
 
const unsigned int evf::evtn::EVM_FDL_BCNRIN_OFFSET = 1
 
const unsigned int evf::evtn::EVM_FDL_BLOCK = 7
 
const unsigned int evf::evtn::EVM_FDL_PSCVSN_OFFSET = 11
 
const unsigned int evf::evtn::EVM_FDL_TECTRG_OFFSET = 2
 
const unsigned int evf::evtn::EVM_GTFE_BLOCK_V0000 = 6
 
const unsigned int evf::evtn::EVM_GTFE_BLOCK_V0011 = 9
 
const unsigned int evf::evtn::EVM_GTFE_BSTGPS_OFFSET = 4
 
const unsigned int evf::evtn::EVM_TCS_BCNRIN_MASK = 0x00000fff
 
const unsigned int evf::evtn::EVM_TCS_BLOCK = 5
 
const unsigned int evf::evtn::EVM_TCS_BOARDID_MASK = 0xffff0000
 
const unsigned int evf::evtn::EVM_TCS_BOARDID_OFFSET = 1
 
const unsigned int evf::evtn::EVM_TCS_BOARDID_SHIFT = 16
 
const unsigned int evf::evtn::EVM_TCS_BOARDID_VALUE = 0xcc07
 
const unsigned int evf::evtn::EVM_TCS_EVNTYP_MASK = 0x00f00000
 
const unsigned int evf::evtn::EVM_TCS_EVNTYP_SHIFT = 20
 
const unsigned int evf::evtn::EVM_TCS_LSBLNR_MASK = 0x0000ffff
 
const unsigned int evf::evtn::EVM_TCS_LSBLNR_OFFSET = 0
 
const unsigned int evf::evtn::EVM_TCS_ORBTNR_OFFSET = 6
 
const unsigned int evf::evtn::EVM_TCS_TRIGNR_OFFSET = 5
 
const unsigned int evf::evtn::GTPE_BCNRIN_MASK = 0x00000fff
 
const unsigned int evf::evtn::GTPE_BCNRIN_OFFSET = 3
 
const unsigned int evf::evtn::GTPE_BOARDID_MASK = 0x000000ff
 
const unsigned int evf::evtn::GTPE_BOARDID_OFFSET = 16
 
const unsigned int evf::evtn::GTPE_BOARDID_SHIFT = 0
 
const unsigned int evf::evtn::GTPE_BOARDID_VALUE = 0x1
 
const unsigned int evf::evtn::GTPE_ORBTNR_OFFSET = 18
 
const unsigned int evf::evtn::GTPE_TRIGNR_OFFSET = 14