Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
EventFilter
FEDInterface
interface
FEDHeader.h
Go to the documentation of this file.
1
#ifndef EventFilter_FEDInterface_FEDHeader_h
2
#define EventFilter_FEDInterface_FEDHeader_h
3
12
#include "interface/shared/fed_header.h"
13
14
class
FEDHeader
{
15
public
:
17
FEDHeader
(
const
unsigned
char
*
header
);
18
20
~FEDHeader
();
21
23
int
triggerType
();
24
26
int
lvl1ID
();
27
29
int
bxID
();
30
32
int
sourceID
();
33
35
int
version
();
36
40
bool
moreHeaders
();
41
43
bool
check
();
44
46
static
void
set
(
unsigned
char
*
header
,
47
int
evt_ty,
48
int
lvl1_ID,
49
int
bx_ID,
50
int
source_ID,
51
int
version
=0,
52
bool
H=
false
);
53
54
private
:
55
const
fedh_t
*
theHeader
;
56
};
57
#endif
58
FEDHeader::version
int version()
Version identifier of the FED data format.
Definition:
FEDHeader.cc:34
FEDHeader::theHeader
const fedh_t * theHeader
Definition:
FEDHeader.h:55
FEDHeader::FEDHeader
FEDHeader(const unsigned char *header)
Constructor.
Definition:
FEDHeader.cc:11
FEDHeader::sourceID
int sourceID()
Identifier of the FED.
Definition:
FEDHeader.cc:30
FEDHeader::moreHeaders
bool moreHeaders()
Definition:
FEDHeader.cc:38
FEDHeader::set
static void set(unsigned char *header, int evt_ty, int lvl1_ID, int bx_ID, int source_ID, int version=0, bool H=false)
Set all fields in the header.
Definition:
FEDHeader.cc:42
FEDHeader::check
bool check()
Check that the header is OK.
Definition:
FEDHeader.cc:66
FEDHeader::bxID
int bxID()
The bunch crossing number.
Definition:
FEDHeader.cc:26
fedh_struct
Definition:
fed_header.h:31
errorMatrix2Lands.header
tuple header
Definition:
errorMatrix2Lands.py:19
FEDHeader
Definition:
FEDHeader.h:15
FEDHeader::lvl1ID
int lvl1ID()
Level-1 event number generated by the TTC system.
Definition:
FEDHeader.cc:22
FEDHeader::triggerType
int triggerType()
Event Trigger type identifier.
Definition:
FEDHeader.cc:18
FEDHeader::~FEDHeader
~FEDHeader()
Destructor.
Definition:
FEDHeader.cc:15
Generated for CMSSW Reference Manual by
1.8.5