Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
FEDRawData
interface
FEDTrailer.h
Go to the documentation of this file.
1
#ifndef FEDRawData_FEDTrailer_h
2
#define FEDRawData_FEDTrailer_h
3
13
struct
fedt_struct
;
14
15
class
FEDTrailer
{
16
public
:
18
FEDTrailer
(
const
unsigned
char
* trailer);
19
21
virtual
~FEDTrailer
();
22
24
int
lenght
();
25
27
int
crc
();
28
30
int
evtStatus
();
31
33
int
ttsBits
();
34
38
bool
moreTrailers
();
39
40
// Check that the trailer is OK
41
bool
check
();
42
44
static
void
set
(
unsigned
char
* trailer,
45
int
evt_lgth,
46
int
crc,
47
int
evt_stat,
48
int
tts,
49
bool
T
=
false
);
50
51
private
:
52
const
fedt_struct
*
theTrailer
;
53
54
};
55
#endif
56
FEDTrailer::check
bool check()
Definition:
FEDTrailer.cc:66
FEDTrailer
Definition:
FEDTrailer.h:15
FEDTrailer::evtStatus
int evtStatus()
Event fragment status information.
Definition:
FEDTrailer.cc:29
FEDTrailer::~FEDTrailer
virtual ~FEDTrailer()
Destructor.
Definition:
FEDTrailer.cc:15
FEDTrailer::moreTrailers
bool moreTrailers()
Definition:
FEDTrailer.cc:39
FEDTrailer::theTrailer
const fedt_struct * theTrailer
Definition:
FEDTrailer.h:52
FEDTrailer::set
static void set(unsigned char *trailer, int evt_lgth, int crc, int evt_stat, int tts, bool T=false)
Set all fields in the trailer.
Definition:
FEDTrailer.cc:44
FEDTrailer::ttsBits
int ttsBits()
Current value of the Trigger Throttling System bitsAQ).
Definition:
FEDTrailer.cc:34
FEDTrailer::lenght
int lenght()
The length of the event fragment counted in 64-bit words including header and trailer.
Definition:
FEDTrailer.cc:19
fedt_struct
Definition:
fed_trailer.h:31
FEDTrailer::crc
int crc()
Cyclic Redundancy Code of the event fragment including header and trailer.
Definition:
FEDTrailer.cc:24
FEDTrailer::FEDTrailer
FEDTrailer(const unsigned char *trailer)
Constructor.
Definition:
FEDTrailer.cc:11
T
long double T
Definition:
Basic3DVectorLD.h:59
Generated for CMSSW Reference Manual by
1.8.5