#include <ZDCTriggerSim.h>
Definition at line 278 of file ZDCTriggerSim.h.
◆ SimStack
◆ ZDCTriggerSimModuleAmpls()
ZDCTriggerSimModuleAmpls::ZDCTriggerSimModuleAmpls |
( |
const std::array< unsigned int, 4096 > & |
sideALUT, |
|
|
const std::array< unsigned int, 4096 > & |
sideCLUT, |
|
|
const std::array< unsigned int, 256 > & |
inCombLUT |
|
) |
| |
|
inline |
◆ doSimStage()
void ZDCTriggerSimModuleAmpls::doSimStage |
( |
| ) |
|
|
overrideprotectedvirtual |
Implements ZDCTriggerSimBase.
Reimplemented in ZDCTriggerSimFADC.
Definition at line 67 of file ZDCTriggerSim.cxx.
69 if (
ptr->getNumData() != 8 ||
ptr->getNumBits() != 12)
70 throw std::logic_error(
"Invalid input data in ZDCTriggerSimModuleAmpls");
72 unsigned int sumA = 0;
73 for (
size_t i = 0;
i < 4;
i++) {
74 sumA +=
ptr->getValueTrunc(
i);
77 unsigned int sumC = 0;
78 for (
size_t i = 4;
i < 8;
i++) {
79 sumC +=
ptr->getValueTrunc(
i);
89 ->setData({sumA, sumC});
◆ dump()
void ZDCTriggerSimBase::dump |
( |
std::ostream & |
strm | ) |
const |
|
inherited |
◆ simLevel1Trig()
◆ stackBottom()
SimStack::const_iterator ZDCTriggerSimBase::stackBottom |
( |
| ) |
const |
|
inlineinherited |
◆ stackClear()
void ZDCTriggerSimBase::stackClear |
( |
| ) |
|
|
inlineprotectedinherited |
◆ stackPush()
◆ stackTop()
SimStack::const_reverse_iterator ZDCTriggerSimBase::stackTop |
( |
| ) |
const |
|
inlineinherited |
◆ stackTopData()
◆ m_combLUT
std::array<unsigned int, 256> ZDCTriggerSimCombLUT::m_combLUT {} |
|
privateinherited |
◆ m_LUTA
std::array<unsigned int, 4096> ZDCTriggerSimAllLUTs::m_LUTA {} |
|
privateinherited |
◆ m_LUTC
std::array<unsigned int, 4096> ZDCTriggerSimAllLUTs::m_LUTC {} |
|
privateinherited |
◆ m_stack
The documentation for this class was generated from the following files:
ZDCTriggerSimAllLUTs(const std::array< unsigned int, 4096 > &sideALUT, const std::array< unsigned int, 4096 > &sideCLUT, const std::array< unsigned int, 256 > &inCombLUT)