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
10
#include "
EventFilter/FEDInterface/interface/fed_header.h
"
11
12
class
FEDHeader
{
13
public
:
15
FEDHeader
(
const
unsigned
char
* header);
16
18
~FEDHeader
();
19
21
int
triggerType
();
22
24
int
lvl1ID
();
25
27
int
bxID
();
28
30
int
sourceID
();
31
33
int
version
();
34
38
bool
moreHeaders
();
39
41
bool
check
();
42
44
static
void
set
(
unsigned
char
* header,
45
int
evt_ty,
46
int
lvl1_ID,
47
int
bx_ID,
48
int
source_ID,
49
int
version
=0,
50
bool
H
=
false
);
51
52
private
:
53
const
fedh_t
*
theHeader
;
54
};
55
#endif
56
fed_header.h
FEDHeader::version
int version()
Version identifier of the FED data format.
Definition:
FEDHeader.cc:32
FEDHeader::theHeader
const fedh_t * theHeader
Definition:
FEDHeader.h:53
FEDHeader::FEDHeader
FEDHeader(const unsigned char *header)
Constructor.
Definition:
FEDHeader.cc:9
FEDHeader::sourceID
int sourceID()
Identifier of the FED.
Definition:
FEDHeader.cc:28
FEDHeader::moreHeaders
bool moreHeaders()
Definition:
FEDHeader.cc:36
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:40
FEDHeader::check
bool check()
Check that the header is OK.
Definition:
FEDHeader.cc:64
FEDHeader::bxID
int bxID()
The bunch crossing number.
Definition:
FEDHeader.cc:24
fedh_struct
Definition:
fed_header.h:31
class-composition.H
tuple H
Definition:
class-composition.py:30
FEDHeader
Definition:
FEDHeader.h:13
FEDHeader::lvl1ID
int lvl1ID()
Level-1 event number generated by the TTC system.
Definition:
FEDHeader.cc:20
FEDHeader::triggerType
int triggerType()
Event Trigger type identifier.
Definition:
FEDHeader.cc:16
FEDHeader::~FEDHeader
~FEDHeader()
Destructor.
Definition:
FEDHeader.cc:13
Generated for CMSSW Reference Manual by
1.8.5