#include <GEMRawToDigi.h>
- Author
- J. Lee, Yechan Kang - UoS
Definition at line 9 of file GEMRawToDigi.h.
◆ amcError()
bool GEMRawToDigi::amcError |
( |
| ) |
const |
|
inline |
◆ convertWordToAMC13Event()
std::unique_ptr< AMC13Event > GEMRawToDigi::convertWordToAMC13Event |
( |
const uint64_t * |
word | ) |
|
Definition at line 8 of file GEMRawToDigi.cc.
12 auto amc13Event = std::make_unique<AMC13Event>();
14 amc13Event->setCDFHeader(*
word);
15 amc13Event->setAMC13Header(*(++
word));
18 for (uint8_t
i = 0;
i < amc13Event->nAMC(); ++
i)
19 amc13Event->addAMCheader(*(++
word));
22 for (uint8_t
i = 0;
i < amc13Event->nAMC(); ++
i) {
24 amcData.setAMCheader1(*(++
word));
25 amcData.setAMCheader2(*(++
word));
26 amcData.setGEMeventHeader(*(++
word));
29 for (uint8_t
j = 0;
j < amcData.davCnt(); ++
j) {
31 gebData.setChamberHeader(*(++
word));
34 for (uint16_t
k = 0;
k < gebData.vfatWordCnt() / 3;
k++) {
36 vfatData.read_fw(*(++
word));
37 vfatData.read_sw(*(++
word));
38 vfatData.read_tw(*(++
word));
39 gebData.addVFAT(vfatData);
43 gebData.setChamberTrailer(*(++
word));
44 amcData.addGEB(gebData);
48 amcData.setGEMeventTrailer(*(++
word));
49 amcData.setAMCTrailer(*(++
word));
50 amc13Event->addAMCpayload(amcData);
54 amc13Event->setAMC13Trailer(*(++
word));
55 amc13Event->setCDFTrailer(*(++
word));
References mps_fire::i, dqmiolumiharvest::j, and dqmdumpme::k.
◆ vfatError()
bool GEMRawToDigi::vfatError |
( |
| ) |
const |
|
inline |
◆ amcError_
bool GEMRawToDigi::amcError_ |
|
private |
◆ vfatError_
bool GEMRawToDigi::vfatError_ |
|
private |