CMS 3D CMS Logo

Enumerations | Functions | Variables
evf::evtn Namespace Reference

Enumerations

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

Functions

bool daq_board_sense (const unsigned char *p)
 
bool evm_board_sense (const unsigned char *p, size_t size)
 
void evm_board_setformat (size_t size)
 
bool evm_tcs_board_sense (const unsigned char *p)
 
unsigned int get (const unsigned char *, bool)
 
unsigned int getevtyp (const unsigned char *)
 
unsigned int getfdlbx (const unsigned char *)
 
unsigned int getfdlpsc (const unsigned char *)
 
unsigned long long getfdlta1 (const unsigned char *)
 
unsigned long long getfdlta2 (const unsigned char *)
 
unsigned long long getfdlttr (const unsigned char *)
 
unsigned int getgpshigh (const unsigned char *)
 
unsigned int getgpslow (const unsigned char *)
 
unsigned int getlbn (const unsigned char *)
 
unsigned int getorbit (const unsigned char *)
 
bool gtpe_board_sense (const unsigned char *p)
 
unsigned int gtpe_get (const unsigned char *)
 
unsigned int gtpe_getbx (const unsigned char *)
 
unsigned int gtpe_getlbn (const unsigned char *)
 
unsigned int gtpe_getorbit (const unsigned char *)
 
edm::EventAuxiliary makeEventAuxiliary (const tcds::Raw_v1 *, unsigned int runNumber, unsigned int lumiSection, const edm::EventAuxiliary::ExperimentType &, const std::string &processGUID, bool verifyLumiSection)
 
unsigned int offset (bool)
 

Variables

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

Enumeration Type Documentation

◆ EvmRecordScheme

Enumerator
BST32_3BX 
BST32_5BX 
BST52_3BX 
BST52_5BX 

Definition at line 22 of file GlobalEventNumber.h.

22  {
27  }; // EvmRecordsize

Function Documentation

◆ daq_board_sense()

bool evf::evtn::daq_board_sense ( const unsigned char *  p)

◆ evm_board_sense()

bool evf::evtn::evm_board_sense ( const unsigned char *  p,
size_t  size 
)

Definition at line 15 of file GlobalEventNumber.cc.

15  {
16  switch (size) {
17  case BST32_3BX:
18  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
19  EVM_FDL_NOBX = 3;
20  break;
21  case BST32_5BX:
22  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
23  EVM_FDL_NOBX = 5;
24  break;
25  case BST52_3BX:
26  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0011;
27  EVM_FDL_NOBX = 3;
28  break;
29  case BST52_5BX:
30  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0011;
31  EVM_FDL_NOBX = 5;
32  break;
33  default:
34  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
35  EVM_FDL_NOBX = 3;
36  }
37  return (*(const unsigned int *)(p + FEDHeader::length + EVM_BOARDID_OFFSET * SLINK_WORD_SIZE / 2) >>
39  }

References BST32_3BX, BST32_5BX, BST52_3BX, BST52_5BX, EVM_BOARDID_OFFSET, EVM_BOARDID_SHIFT, EVM_BOARDID_VALUE, EVM_GTFE_BLOCK_V0000, EVM_GTFE_BLOCK_V0011, FEDHeader::length, AlCaHLTBitMon_ParallelJobs::p, findQualityFiles::size, and SLINK_WORD_SIZE.

Referenced by FedRawDataInputSource::fillFEDRawDataCollection(), and FRDStreamSource::setRunAndEventInfo().

◆ evm_board_setformat()

void evf::evtn::evm_board_setformat ( size_t  size)

Definition at line 47 of file GlobalEventNumber.cc.

47  {
48  switch (size) {
49  case BST32_3BX:
50  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
51  EVM_FDL_NOBX = 3;
52  break;
53  case BST32_5BX:
54  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
55  EVM_FDL_NOBX = 5;
56  break;
57  case BST52_3BX:
58  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0011;
59  EVM_FDL_NOBX = 3;
60  break;
61  case BST52_5BX:
62  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0011;
63  EVM_FDL_NOBX = 5;
64  break;
65  default:
66  EVM_GTFE_BLOCK = EVM_GTFE_BLOCK_V0000;
67  EVM_FDL_NOBX = 3;
68  }
69  }

References BST32_3BX, BST32_5BX, BST52_3BX, BST52_5BX, EVM_GTFE_BLOCK_V0000, EVM_GTFE_BLOCK_V0011, and findQualityFiles::size.

◆ evm_tcs_board_sense()

bool evf::evtn::evm_tcs_board_sense ( const unsigned char *  p)

Definition at line 41 of file GlobalEventNumber.cc.

41  {
42  return (*(const unsigned int *)(p + FEDHeader::length +
43  (EVM_GTFE_BLOCK * 2 + EVM_TCS_BOARDID_OFFSET) * SLINK_WORD_SIZE / 2) >>
45  }

References EVM_TCS_BOARDID_OFFSET, EVM_TCS_BOARDID_SHIFT, EVM_TCS_BOARDID_VALUE, FEDHeader::length, AlCaHLTBitMon_ParallelJobs::p, and SLINK_WORD_SIZE.

Referenced by get().

◆ get()

unsigned int evf::evtn::get ( const unsigned char *  p,
bool  evm 
)

Definition at line 77 of file GlobalEventNumber.cc.

77  {
78  if (evm && evm_tcs_board_sense(p))
79  return *(const unsigned int *)(p + offset(true));
80  else
81  return *(const unsigned int *)(p + offset(false)); // cover case of evm but invalid tcs info
82  }

References evm_tcs_board_sense(), offset(), and AlCaHLTBitMon_ParallelJobs::p.

Referenced by FedRawDataInputSource::fillFEDRawDataCollection(), and FRDStreamSource::setRunAndEventInfo().

◆ getevtyp()

unsigned int evf::evtn::getevtyp ( const unsigned char *  p)

Definition at line 103 of file GlobalEventNumber.cc.

103  {
104  return (((*(const unsigned int *)(p + FEDHeader::length +
105  (EVM_GTFE_BLOCK * 2 + EVM_TCS_LSBLNR_OFFSET) * SLINK_WORD_SIZE / 2)) &
108  }

References EVM_TCS_EVNTYP_MASK, EVM_TCS_EVNTYP_SHIFT, EVM_TCS_LSBLNR_OFFSET, FEDHeader::length, AlCaHLTBitMon_ParallelJobs::p, and SLINK_WORD_SIZE.

◆ getfdlbx()

unsigned int evf::evtn::getfdlbx ( const unsigned char *  p)

Definition at line 112 of file GlobalEventNumber.cc.

112  {
113  return (*(const unsigned int *)(p + FEDHeader::length +
114  (EVM_GTFE_BLOCK + EVM_TCS_BLOCK + EVM_FDL_BLOCK * (EVM_FDL_NOBX / 2)) *
118  }

References EVM_FDL_BCNRIN_OFFSET, EVM_FDL_BLOCK, EVM_TCS_BCNRIN_MASK, EVM_TCS_BLOCK, FEDHeader::length, AlCaHLTBitMon_ParallelJobs::p, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.

◆ getfdlpsc()

unsigned int evf::evtn::getfdlpsc ( const unsigned char *  p)

Definition at line 122 of file GlobalEventNumber.cc.

122  {
123  return (*(const unsigned int *)(p + FEDHeader::length +
124  (EVM_GTFE_BLOCK + EVM_TCS_BLOCK + EVM_FDL_BLOCK * (EVM_FDL_NOBX / 2)) *
127  }

References EVM_FDL_BLOCK, EVM_FDL_PSCVSN_OFFSET, EVM_TCS_BLOCK, FEDHeader::length, AlCaHLTBitMon_ParallelJobs::p, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.

◆ getfdlta1()

unsigned long long evf::evtn::getfdlta1 ( const unsigned char *  p)

Definition at line 134 of file GlobalEventNumber.cc.

134  {
135  return (*(const unsigned long long *)(p + FEDHeader::length +
136  (EVM_GTFE_BLOCK + EVM_TCS_BLOCK + EVM_FDL_BLOCK * (EVM_FDL_NOBX / 2)) *
139  }

References EVM_FDL_ALGOB1_OFFSET, EVM_FDL_BLOCK, EVM_TCS_BLOCK, FEDHeader::length, AlCaHLTBitMon_ParallelJobs::p, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.

◆ getfdlta2()

unsigned long long evf::evtn::getfdlta2 ( const unsigned char *  p)

Definition at line 140 of file GlobalEventNumber.cc.

140  {
141  return (*(const unsigned long long *)(p + FEDHeader::length +
142  (EVM_GTFE_BLOCK + EVM_TCS_BLOCK + EVM_FDL_BLOCK * (EVM_FDL_NOBX / 2)) *
145  }

References EVM_FDL_ALGOB2_OFFSET, EVM_FDL_BLOCK, EVM_TCS_BLOCK, FEDHeader::length, AlCaHLTBitMon_ParallelJobs::p, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.

◆ getfdlttr()

unsigned long long evf::evtn::getfdlttr ( const unsigned char *  p)

Definition at line 128 of file GlobalEventNumber.cc.

128  {
129  return (*(const unsigned long long *)(p + FEDHeader::length +
130  (EVM_GTFE_BLOCK + EVM_TCS_BLOCK + EVM_FDL_BLOCK * (EVM_FDL_NOBX / 2)) *
133  }

References EVM_FDL_BLOCK, EVM_FDL_TECTRG_OFFSET, EVM_TCS_BLOCK, FEDHeader::length, AlCaHLTBitMon_ParallelJobs::p, SLINK_HALFWORD_SIZE, and SLINK_WORD_SIZE.

◆ getgpshigh()

unsigned int evf::evtn::getgpshigh ( const unsigned char *  p)

◆ getgpslow()

unsigned int evf::evtn::getgpslow ( const unsigned char *  p)

◆ getlbn()

unsigned int evf::evtn::getlbn ( const unsigned char *  p)

Definition at line 86 of file GlobalEventNumber.cc.

86  {
87  return (*(const unsigned int *)(p + FEDHeader::length +
88  (EVM_GTFE_BLOCK * 2 + EVM_TCS_LSBLNR_OFFSET) * SLINK_WORD_SIZE / 2)) &
90  }

References EVM_TCS_LSBLNR_MASK, EVM_TCS_LSBLNR_OFFSET, FEDHeader::length, AlCaHLTBitMon_ParallelJobs::p, and SLINK_WORD_SIZE.

◆ getorbit()

unsigned int evf::evtn::getorbit ( const unsigned char *  p)

Definition at line 99 of file GlobalEventNumber.cc.

99  {
100  return (*(const unsigned int *)(p + FEDHeader::length +
101  (EVM_GTFE_BLOCK * 2 + EVM_TCS_ORBTNR_OFFSET) * SLINK_WORD_SIZE / 2));
102  }

References EVM_TCS_ORBTNR_OFFSET, FEDHeader::length, AlCaHLTBitMon_ParallelJobs::p, and SLINK_WORD_SIZE.

◆ gtpe_board_sense()

bool evf::evtn::gtpe_board_sense ( const unsigned char *  p)

◆ gtpe_get()

unsigned int evf::evtn::gtpe_get ( const unsigned char *  p)

◆ gtpe_getbx()

unsigned int evf::evtn::gtpe_getbx ( const unsigned char *  p)

Definition at line 119 of file GlobalEventNumber.cc.

119  {
120  return (*(const unsigned int *)(p + GTPE_BCNRIN_OFFSET * SLINK_HALFWORD_SIZE)) & GTPE_BCNRIN_MASK;
121  }

References GTPE_BCNRIN_MASK, GTPE_BCNRIN_OFFSET, AlCaHLTBitMon_ParallelJobs::p, and SLINK_HALFWORD_SIZE.

◆ gtpe_getlbn()

unsigned int evf::evtn::gtpe_getlbn ( const unsigned char *  p)

Definition at line 91 of file GlobalEventNumber.cc.

91 { return gtpe_getorbit(p) / 0x00100000; }

References gtpe_getorbit(), and AlCaHLTBitMon_ParallelJobs::p.

◆ gtpe_getorbit()

unsigned int evf::evtn::gtpe_getorbit ( const unsigned char *  p)

Definition at line 109 of file GlobalEventNumber.cc.

109  {
110  return (*(const unsigned int *)(p + GTPE_ORBTNR_OFFSET * SLINK_HALFWORD_SIZE));
111  }

References GTPE_ORBTNR_OFFSET, AlCaHLTBitMon_ParallelJobs::p, and SLINK_HALFWORD_SIZE.

Referenced by gtpe_getlbn().

◆ makeEventAuxiliary()

edm::EventAuxiliary evf::evtn::makeEventAuxiliary ( const tcds::Raw_v1 tcds,
unsigned int  runNumber,
unsigned int  lumiSection,
const edm::EventAuxiliary::ExperimentType eventType,
const std::string &  processGUID,
bool  verifyLumiSection 
)

Definition at line 9 of file AuxiliaryMakers.cc.

14  {
15  edm::EventID eventId(runNumber, // check that runnumber from record is consistent
16  lumiSection,
17  tcds->header.eventNumber);
18 
20  static_cast<edm::TimeValue_t>(((uint64_t)tcds->bst.gpstimehigh << 32) | tcds->bst.gpstimelow);
21  if (time == 0) {
22  timeval stv;
23  gettimeofday(&stv, nullptr);
24  time = stv.tv_sec;
25  time = (time << 32) + stv.tv_usec;
26  }
27 
28  const uint64_t orbitnr = ((uint64_t)tcds->header.orbitHigh << 16) | tcds->header.orbitLow;
29  const uint32_t recordLumiSection = tcds->header.lumiSection;
30 
31  if (verifyLumiSection && recordLumiSection != lumiSection)
32  edm::LogWarning("AuxiliaryMakers")
33  << "Lumisection mismatch, external : " << lumiSection << ", record : " << recordLumiSection;
34  if ((orbitnr >> 18) + 1 != recordLumiSection)
35  edm::LogWarning("AuxiliaryMakers") << "Lumisection and orbit number mismatch, LS : " << lumiSection
36  << ", LS from orbit: " << ((orbitnr >> 18) + 1) << ", orbit:" << orbitnr;
37 
38  return edm::EventAuxiliary(eventId,
39  processGUID,
41  true,
42  eventType,
43  (int)tcds->header.bxid,
44  ((uint32_t)(tcds->bst.lhcFillHigh) << 16) | tcds->bst.lhcFillLow,
45  (int)(orbitnr & 0x7fffffffU)); //framework supports only 32-bit signed
46  }

References hcalcalib_dqm_sourceclient-live_cfg::eventType, convertSQLiteXML::runNumber, and ntuplemaker::time.

Referenced by FedRawDataInputSource::read().

◆ offset()

unsigned int evf::evtn::offset ( bool  evm)

Definition at line 71 of file GlobalEventNumber.cc.

71  {
72  if (evm)
73  return FEDHeader::length + (EVM_GTFE_BLOCK * 2 + EVM_TCS_TRIGNR_OFFSET) * SLINK_WORD_SIZE / 2;
74  else
76  }

References DAQ_TOTTRG_OFFSET, EVM_TCS_TRIGNR_OFFSET, FEDHeader::length, and SLINK_WORD_SIZE.

Referenced by get().

Variable Documentation

◆ DAQ_BOARDID_MASK

const unsigned int evf::evtn::DAQ_BOARDID_MASK = 0xffff0000

Definition at line 18 of file GlobalEventNumber.h.

◆ DAQ_BOARDID_OFFSET

const unsigned int evf::evtn::DAQ_BOARDID_OFFSET = 1

Definition at line 17 of file GlobalEventNumber.h.

Referenced by daq_board_sense().

◆ DAQ_BOARDID_SHIFT

const unsigned int evf::evtn::DAQ_BOARDID_SHIFT = 24

Definition at line 19 of file GlobalEventNumber.h.

Referenced by daq_board_sense().

◆ DAQ_BOARDID_VALUE

const unsigned int evf::evtn::DAQ_BOARDID_VALUE = 0x11

Definition at line 20 of file GlobalEventNumber.h.

Referenced by daq_board_sense().

◆ DAQ_TOTTRG_OFFSET

const unsigned int evf::evtn::DAQ_TOTTRG_OFFSET = 2

Definition at line 16 of file GlobalEventNumber.h.

Referenced by offset().

◆ EVM_BOARDID_MASK

const unsigned int evf::evtn::EVM_BOARDID_MASK = 0xffff0000

Definition at line 30 of file GlobalEventNumber.h.

◆ EVM_BOARDID_OFFSET

const unsigned int evf::evtn::EVM_BOARDID_OFFSET = 1

Definition at line 29 of file GlobalEventNumber.h.

Referenced by evm_board_sense(), and DaqFakeReader::fillGTPFED().

◆ EVM_BOARDID_SHIFT

const unsigned int evf::evtn::EVM_BOARDID_SHIFT = 24

Definition at line 31 of file GlobalEventNumber.h.

Referenced by evm_board_sense(), and DaqFakeReader::fillGTPFED().

◆ EVM_BOARDID_VALUE

const unsigned int evf::evtn::EVM_BOARDID_VALUE = 0x11

Definition at line 32 of file GlobalEventNumber.h.

Referenced by evm_board_sense(), and DaqFakeReader::fillGTPFED().

◆ EVM_FDL_ALGOB1_OFFSET

const unsigned int evf::evtn::EVM_FDL_ALGOB1_OFFSET = 4

Definition at line 54 of file GlobalEventNumber.h.

Referenced by getfdlta1().

◆ EVM_FDL_ALGOB2_OFFSET

const unsigned int evf::evtn::EVM_FDL_ALGOB2_OFFSET = 6

Definition at line 55 of file GlobalEventNumber.h.

Referenced by getfdlta2().

◆ EVM_FDL_BCNRIN_OFFSET

const unsigned int evf::evtn::EVM_FDL_BCNRIN_OFFSET = 1

Definition at line 52 of file GlobalEventNumber.h.

Referenced by getfdlbx().

◆ EVM_FDL_BLOCK

const unsigned int evf::evtn::EVM_FDL_BLOCK = 7

Definition at line 51 of file GlobalEventNumber.h.

Referenced by getfdlbx(), getfdlpsc(), getfdlta1(), getfdlta2(), and getfdlttr().

◆ EVM_FDL_PSCVSN_OFFSET

const unsigned int evf::evtn::EVM_FDL_PSCVSN_OFFSET = 11

Definition at line 56 of file GlobalEventNumber.h.

Referenced by getfdlpsc().

◆ EVM_FDL_TECTRG_OFFSET

const unsigned int evf::evtn::EVM_FDL_TECTRG_OFFSET = 2

Definition at line 53 of file GlobalEventNumber.h.

Referenced by getfdlttr().

◆ EVM_GTFE_BLOCK_V0000

const unsigned int evf::evtn::EVM_GTFE_BLOCK_V0000 = 6

Definition at line 34 of file GlobalEventNumber.h.

Referenced by evm_board_sense(), and evm_board_setformat().

◆ EVM_GTFE_BLOCK_V0011

const unsigned int evf::evtn::EVM_GTFE_BLOCK_V0011 = 9

Definition at line 35 of file GlobalEventNumber.h.

Referenced by evm_board_sense(), and evm_board_setformat().

◆ EVM_GTFE_BSTGPS_OFFSET

const unsigned int evf::evtn::EVM_GTFE_BSTGPS_OFFSET = 4

Definition at line 36 of file GlobalEventNumber.h.

Referenced by DaqFakeReader::fillGTPFED(), getgpshigh(), and getgpslow().

◆ EVM_TCS_BCNRIN_MASK

const unsigned int evf::evtn::EVM_TCS_BCNRIN_MASK = 0x00000fff

Definition at line 49 of file GlobalEventNumber.h.

Referenced by getfdlbx().

◆ EVM_TCS_BLOCK

const unsigned int evf::evtn::EVM_TCS_BLOCK = 5

Definition at line 39 of file GlobalEventNumber.h.

Referenced by getfdlbx(), getfdlpsc(), getfdlta1(), getfdlta2(), and getfdlttr().

◆ EVM_TCS_BOARDID_MASK

const unsigned int evf::evtn::EVM_TCS_BOARDID_MASK = 0xffff0000

Definition at line 45 of file GlobalEventNumber.h.

◆ EVM_TCS_BOARDID_OFFSET

const unsigned int evf::evtn::EVM_TCS_BOARDID_OFFSET = 1

Definition at line 42 of file GlobalEventNumber.h.

Referenced by evm_tcs_board_sense().

◆ EVM_TCS_BOARDID_SHIFT

const unsigned int evf::evtn::EVM_TCS_BOARDID_SHIFT = 16

Definition at line 46 of file GlobalEventNumber.h.

Referenced by evm_tcs_board_sense().

◆ EVM_TCS_BOARDID_VALUE

const unsigned int evf::evtn::EVM_TCS_BOARDID_VALUE = 0xcc07

Definition at line 38 of file GlobalEventNumber.h.

Referenced by evm_tcs_board_sense().

◆ EVM_TCS_EVNTYP_MASK

const unsigned int evf::evtn::EVM_TCS_EVNTYP_MASK = 0x00f00000

Definition at line 47 of file GlobalEventNumber.h.

Referenced by getevtyp().

◆ EVM_TCS_EVNTYP_SHIFT

const unsigned int evf::evtn::EVM_TCS_EVNTYP_SHIFT = 20

Definition at line 48 of file GlobalEventNumber.h.

Referenced by getevtyp().

◆ EVM_TCS_LSBLNR_MASK

const unsigned int evf::evtn::EVM_TCS_LSBLNR_MASK = 0x0000ffff

Definition at line 44 of file GlobalEventNumber.h.

Referenced by getlbn().

◆ EVM_TCS_LSBLNR_OFFSET

const unsigned int evf::evtn::EVM_TCS_LSBLNR_OFFSET = 0

Definition at line 41 of file GlobalEventNumber.h.

Referenced by getevtyp(), and getlbn().

◆ EVM_TCS_ORBTNR_OFFSET

const unsigned int evf::evtn::EVM_TCS_ORBTNR_OFFSET = 6

Definition at line 43 of file GlobalEventNumber.h.

Referenced by getorbit().

◆ EVM_TCS_TRIGNR_OFFSET

const unsigned int evf::evtn::EVM_TCS_TRIGNR_OFFSET = 5

Definition at line 40 of file GlobalEventNumber.h.

Referenced by DaqFakeReader::fillGTPFED(), and offset().

◆ FED_HEADER_SIZE

const unsigned int evf::evtn::FED_HEADER_SIZE = SLINK_WORD_SIZE

Definition at line 13 of file GlobalEventNumber.h.

◆ FED_TRAILER_SIZE

const unsigned int evf::evtn::FED_TRAILER_SIZE = SLINK_WORD_SIZE

Definition at line 14 of file GlobalEventNumber.h.

◆ GTPE_BCNRIN_MASK

const unsigned int evf::evtn::GTPE_BCNRIN_MASK = 0x00000fff

Definition at line 65 of file GlobalEventNumber.h.

Referenced by gtpe_getbx().

◆ GTPE_BCNRIN_OFFSET

const unsigned int evf::evtn::GTPE_BCNRIN_OFFSET = 3

Definition at line 64 of file GlobalEventNumber.h.

Referenced by gtpe_getbx().

◆ GTPE_BOARDID_MASK

const unsigned int evf::evtn::GTPE_BOARDID_MASK = 0x000000ff

Definition at line 59 of file GlobalEventNumber.h.

◆ GTPE_BOARDID_OFFSET

const unsigned int evf::evtn::GTPE_BOARDID_OFFSET = 16

Definition at line 58 of file GlobalEventNumber.h.

Referenced by gtpe_board_sense().

◆ GTPE_BOARDID_SHIFT

const unsigned int evf::evtn::GTPE_BOARDID_SHIFT = 0

Definition at line 60 of file GlobalEventNumber.h.

Referenced by gtpe_board_sense().

◆ GTPE_BOARDID_VALUE

const unsigned int evf::evtn::GTPE_BOARDID_VALUE = 0x1

Definition at line 61 of file GlobalEventNumber.h.

◆ GTPE_ORBTNR_OFFSET

const unsigned int evf::evtn::GTPE_ORBTNR_OFFSET = 18

Definition at line 63 of file GlobalEventNumber.h.

Referenced by gtpe_getorbit().

◆ GTPE_TRIGNR_OFFSET

const unsigned int evf::evtn::GTPE_TRIGNR_OFFSET = 14

Definition at line 62 of file GlobalEventNumber.h.

Referenced by gtpe_get().

◆ SLINK_HALFWORD_SIZE

const unsigned int evf::evtn::SLINK_HALFWORD_SIZE = 4

◆ SLINK_WORD_SIZE

const unsigned int evf::evtn::SLINK_WORD_SIZE = 8
evf::evtn::EVM_FDL_ALGOB2_OFFSET
const unsigned int EVM_FDL_ALGOB2_OFFSET
Definition: GlobalEventNumber.h:55
evf::evtn::EVM_BOARDID_OFFSET
const unsigned int EVM_BOARDID_OFFSET
Definition: GlobalEventNumber.h:29
evf::evtn::EVM_TCS_ORBTNR_OFFSET
const unsigned int EVM_TCS_ORBTNR_OFFSET
Definition: GlobalEventNumber.h:43
evf::evtn::DAQ_BOARDID_VALUE
const unsigned int DAQ_BOARDID_VALUE
Definition: GlobalEventNumber.h:20
evf::evtn::BST32_5BX
Definition: GlobalEventNumber.h:24
evf::evtn::EVM_TCS_BOARDID_SHIFT
const unsigned int EVM_TCS_BOARDID_SHIFT
Definition: GlobalEventNumber.h:46
evf::evtn::DAQ_BOARDID_OFFSET
const unsigned int DAQ_BOARDID_OFFSET
Definition: GlobalEventNumber.h:17
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
evf::evtn::EVM_GTFE_BSTGPS_OFFSET
const unsigned int EVM_GTFE_BSTGPS_OFFSET
Definition: GlobalEventNumber.h:36
evf::evtn::EVM_TCS_EVNTYP_SHIFT
const unsigned int EVM_TCS_EVNTYP_SHIFT
Definition: GlobalEventNumber.h:48
evf::evtn::EVM_TCS_BCNRIN_MASK
const unsigned int EVM_TCS_BCNRIN_MASK
Definition: GlobalEventNumber.h:49
evf::evtn::EVM_FDL_ALGOB1_OFFSET
const unsigned int EVM_FDL_ALGOB1_OFFSET
Definition: GlobalEventNumber.h:54
evf::evtn::EVM_TCS_LSBLNR_MASK
const unsigned int EVM_TCS_LSBLNR_MASK
Definition: GlobalEventNumber.h:44
evf::evtn::BST52_5BX
Definition: GlobalEventNumber.h:26
evf::evtn::EVM_TCS_BOARDID_OFFSET
const unsigned int EVM_TCS_BOARDID_OFFSET
Definition: GlobalEventNumber.h:42
convertSQLiteXML.runNumber
runNumber
Definition: convertSQLiteXML.py:91
evf::evtn::evm_tcs_board_sense
bool evm_tcs_board_sense(const unsigned char *p)
Definition: GlobalEventNumber.cc:41
evf::evtn::DAQ_BOARDID_SHIFT
const unsigned int DAQ_BOARDID_SHIFT
Definition: GlobalEventNumber.h:19
evf::evtn::GTPE_BCNRIN_OFFSET
const unsigned int GTPE_BCNRIN_OFFSET
Definition: GlobalEventNumber.h:64
evf::evtn::EVM_TCS_BOARDID_VALUE
const unsigned int EVM_TCS_BOARDID_VALUE
Definition: GlobalEventNumber.h:38
evf::evtn::GTPE_ORBTNR_OFFSET
const unsigned int GTPE_ORBTNR_OFFSET
Definition: GlobalEventNumber.h:63
edm::EventAuxiliary
Definition: EventAuxiliary.h:14
evf::evtn::gtpe_getorbit
unsigned int gtpe_getorbit(const unsigned char *)
Definition: GlobalEventNumber.cc:109
edm::LogWarning
Definition: MessageLogger.h:141
evf::evtn::EVM_FDL_PSCVSN_OFFSET
const unsigned int EVM_FDL_PSCVSN_OFFSET
Definition: GlobalEventNumber.h:56
evf::evtn::EVM_FDL_BCNRIN_OFFSET
const unsigned int EVM_FDL_BCNRIN_OFFSET
Definition: GlobalEventNumber.h:52
evf::evtn::EVM_TCS_EVNTYP_MASK
const unsigned int EVM_TCS_EVNTYP_MASK
Definition: GlobalEventNumber.h:47
evf::evtn::EVM_BOARDID_VALUE
const unsigned int EVM_BOARDID_VALUE
Definition: GlobalEventNumber.h:32
evf::evtn::EVM_TCS_LSBLNR_OFFSET
const unsigned int EVM_TCS_LSBLNR_OFFSET
Definition: GlobalEventNumber.h:41
evf::evtn::EVM_TCS_BLOCK
const unsigned int EVM_TCS_BLOCK
Definition: GlobalEventNumber.h:39
FEDHeader::length
static const uint32_t length
Definition: FEDHeader.h:54
evf::evtn::BST52_3BX
Definition: GlobalEventNumber.h:25
evf::evtn::SLINK_HALFWORD_SIZE
const unsigned int SLINK_HALFWORD_SIZE
Definition: GlobalEventNumber.h:12
evf::evtn::DAQ_TOTTRG_OFFSET
const unsigned int DAQ_TOTTRG_OFFSET
Definition: GlobalEventNumber.h:16
tcds
Definition: TCDSRaw.h:16
hcalcalib_dqm_sourceclient-live_cfg.eventType
eventType
Definition: hcalcalib_dqm_sourceclient-live_cfg.py:200
evf::evtn::EVM_GTFE_BLOCK_V0011
const unsigned int EVM_GTFE_BLOCK_V0011
Definition: GlobalEventNumber.h:35
evf::evtn::BST32_3BX
Definition: GlobalEventNumber.h:23
evf::evtn::EVM_TCS_TRIGNR_OFFSET
const unsigned int EVM_TCS_TRIGNR_OFFSET
Definition: GlobalEventNumber.h:40
evf::evtn::GTPE_BCNRIN_MASK
const unsigned int GTPE_BCNRIN_MASK
Definition: GlobalEventNumber.h:65
evf::evtn::GTPE_TRIGNR_OFFSET
const unsigned int GTPE_TRIGNR_OFFSET
Definition: GlobalEventNumber.h:62
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
evf::evtn::GTPE_BOARDID_SHIFT
const unsigned int GTPE_BOARDID_SHIFT
Definition: GlobalEventNumber.h:60
SLINK_WORD_SIZE
#define SLINK_WORD_SIZE
Definition: DTUnpackingModule.cc:34
ntuplemaker.time
time
Definition: ntuplemaker.py:310
edm::EventID
Definition: EventID.h:31
hltrates_dqm_sourceclient-live_cfg.offset
offset
Definition: hltrates_dqm_sourceclient-live_cfg.py:78
evf::evtn::GTPE_BOARDID_OFFSET
const unsigned int GTPE_BOARDID_OFFSET
Definition: GlobalEventNumber.h:58
evf::evtn::EVM_BOARDID_SHIFT
const unsigned int EVM_BOARDID_SHIFT
Definition: GlobalEventNumber.h:31
evf::evtn::EVM_FDL_BLOCK
const unsigned int EVM_FDL_BLOCK
Definition: GlobalEventNumber.h:51
evf::evtn::EVM_FDL_TECTRG_OFFSET
const unsigned int EVM_FDL_TECTRG_OFFSET
Definition: GlobalEventNumber.h:53
edm::TimeValue_t
unsigned long long TimeValue_t
Definition: Timestamp.h:28
evf::evtn::EVM_GTFE_BLOCK_V0000
const unsigned int EVM_GTFE_BLOCK_V0000
Definition: GlobalEventNumber.h:34
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
edm::Timestamp
Definition: Timestamp.h:30