#include <RawDigitAdder_35t.h>
Definition at line 35 of file RawDigitAdder_35t.h.
RawDigitAdder_35t::RawDigitAdder_35t |
( |
bool |
t = true | ) |
|
Definition at line 10 of file RawDigitAdder_35t.cxx.
bool _forceStuckBitRetention
RawDigitAdder(bool t=true)
Default constructor.
void RawDigitAdder_35t::AddRawDigit |
( |
short const & |
d1, |
|
|
short const & |
d2, |
|
|
short & |
d_out |
|
) |
| |
|
privatevirtual |
Reimplemented from mix::RawDigitAdder.
Definition at line 27 of file RawDigitAdder_35t.cxx.
33 else d_out = (short)(std::round((
float)d1 *
_scale1)) + (short)(std::round((
float)d2 *
_scale2));
bool _forceStuckBitRetention
bool hasStickyBits(AdcCount sig)
void FixOverflow(short &)
void mix::RawDigitAdder_35t::SetScaleFirstInput |
( |
float |
f1 | ) |
|
|
inline |
void RawDigitAdder_35t::SetScaleInput |
( |
float |
f, |
|
|
float & |
_scale |
|
) |
| |
|
private |
Definition at line 17 of file RawDigitAdder_35t.cxx.
21 throw std::runtime_error(
"Error in RawDigitAdder_35t::SetScaleInput : scale < 0");
void mix::RawDigitAdder_35t::SetScaleInputs |
( |
float |
f1, |
|
|
float |
f2 |
|
) |
| |
|
inline |
Definition at line 47 of file RawDigitAdder_35t.h.
void SetScaleSecondInput(float f2)
void SetScaleFirstInput(float f1)
void mix::RawDigitAdder_35t::SetScaleSecondInput |
( |
float |
f2 | ) |
|
|
inline |
void mix::RawDigitAdder_35t::SetStuckBitRetentionMethod |
( |
bool |
s | ) |
|
|
inline |
bool mix::RawDigitAdder_35t::_forceStuckBitRetention |
|
private |
float mix::RawDigitAdder_35t::_scale1 |
|
private |
float mix::RawDigitAdder_35t::_scale2 |
|
private |
The documentation for this class was generated from the following files: