Main Page
Namespaces
Classes
Package Documentation
EventFilter
GEMRawToDigi
src
AMCdata.cc
Go to the documentation of this file.
1
#include <cstdint>
2
#include "
EventFilter/GEMRawToDigi/interface/AMCdata.h
"
3
4
using namespace
gem
;
5
6
void
AMCdata::setAMCheader1
(uint32_t dataLength, uint16_t bxID, uint32_t l1AID, uint8_t AMCnum)
7
{
8
AMCheader1
u;
9
u.
dataLength
=
dataLength
;
10
u.
bxID
= bxID;
11
u.
l1AID
= l1AID;
12
u.
AMCnum
= AMCnum;
13
amch1_
= u.
word
;
14
}
15
16
void
AMCdata::setAMCheader2
(uint16_t boardID, uint16_t
orbitNum
, uint8_t
runType
)
17
{
18
AMCheader2
u;
19
u.
boardID
= boardID;
20
u.
orbitNum
=
orbitNum
;
21
u.
runType
=
runType
;
22
amch2_
= u.
word
;
23
}
24
25
void
AMCdata::setGEMeventHeader
(uint8_t
davCnt
, uint32_t
davList
)
26
{
27
EventHeader
u;
28
u.
davCnt
=
davCnt
;
29
u.
davList
=
davList
;
30
eh_
= u.
word
;
31
}
gem::AMCheader1::bxID
uint64_t bxID
Definition:
AMCdata.h:12
gem::AMCdata::orbitNum
uint16_t orbitNum() const
Definition:
AMCdata.h:86
gem::AMCheader1
Definition:
AMCdata.h:8
gem::AMCdata::dataLength
uint32_t dataLength() const
Definition:
AMCdata.h:80
gem::AMCheader2::word
uint64_t word
Definition:
AMCdata.h:19
gem::EventHeader::davList
uint64_t davList
Definition:
AMCdata.h:44
gem::AMCdata::amch2_
uint64_t amch2_
Definition:
AMCdata.h:109
gem
Definition:
AMC13Event.h:6
gem::AMCheader2
Definition:
AMCdata.h:18
gem::AMCdata::runType
uint8_t runType() const
Definition:
AMCdata.h:90
gem::AMCdata::setAMCheader1
void setAMCheader1(uint64_t word)
Definition:
AMCdata.h:62
gem::AMCdata::setGEMeventHeader
void setGEMeventHeader(uint64_t word)
Definition:
AMCdata.h:73
gem::AMCdata::eh_
uint64_t eh_
Definition:
AMCdata.h:111
gem::AMCdata::amch1_
uint64_t amch1_
Definition:
AMCdata.h:108
gem::AMCheader1::dataLength
uint64_t dataLength
Definition:
AMCdata.h:11
gem::AMCdata::davList
uint32_t davList() const
Definition:
AMCdata.h:96
gem::AMCheader2::runType
uint64_t runType
Definition:
AMCdata.h:26
gem::AMCheader2::orbitNum
uint64_t orbitNum
Definition:
AMCdata.h:22
gem::EventHeader
Definition:
AMCdata.h:38
gem::AMCdata::davCnt
uint8_t davCnt() const
Definition:
AMCdata.h:94
gem::EventHeader::davCnt
uint64_t davCnt
Definition:
AMCdata.h:42
gem::AMCheader1::word
uint64_t word
Definition:
AMCdata.h:9
gem::AMCheader2::boardID
uint64_t boardID
Definition:
AMCdata.h:21
gem::AMCheader1::l1AID
uint64_t l1AID
Definition:
AMCdata.h:13
gem::AMCdata::setAMCheader2
void setAMCheader2(uint64_t word)
Definition:
AMCdata.h:66
gem::EventHeader::word
uint64_t word
Definition:
AMCdata.h:39
AMCdata.h
gem::AMCheader1::AMCnum
uint64_t AMCnum
Definition:
AMCdata.h:14
Generated for CMSSW Reference Manual by
1.8.11