#include <HBHERecHitAuxSetter.h>
Definition at line 17 of file HBHERecHitAuxSetter.h.
Definition at line 4 of file HBHERecHitAuxSetter.cc.
References printConversionInfo::aux, HBHEChannelInfo::capid(), HBHEChannelInfo::hasCapidError(), HBHEChannelInfo::hasLinkError(), HBHEChannelInfo::hasTimeInfo(), i, HBHEChannelInfo::isDropped(), MASK_CAPID, MASK_NSAMPLES, MASK_SOI, hgc_digi::nSamples, HBHEChannelInfo::nSamples(), OFF_CAPID, OFF_CAPID_ERR, OFF_DROPPED, OFF_LINK_ERR, OFF_NSAMPLES, OFF_SOI, OFF_TDC_TIME, CaloRecHit::setAux(), HBHERecHit::setAuxHBHE(), HBHERecHit::setAuxPhase1(), setBit(), CaloRecHitAuxSetter::setField(), HBHEChannelInfo::soi(), and HBHEChannelInfo::tsAdc().
Referenced by SimpleHBHEPhase1Algo::reconstruct().
7 using namespace CaloRecHitAuxSetter;
9 uint32_t
aux = 0, auxHBHE = 0, auxPhase1 = 0;
24 unsigned soi = info.
soi();
static const unsigned MASK_NSAMPLES
static const unsigned OFF_SOI
static const unsigned MASK_CAPID
static const unsigned OFF_NSAMPLES
static const unsigned OFF_DROPPED
static const unsigned OFF_CAPID
static const unsigned OFF_TDC_TIME
void setField(uint32_t *u, const unsigned mask, const unsigned offset, const unsigned value)
static const unsigned OFF_CAPID_ERR
static const unsigned OFF_LINK_ERR
static const unsigned MASK_SOI
void setAuxHBHE(const uint32_t aux)
constexpr size_t nSamples
void setBit(int &_bitArray, unsigned _iBit)
void setAux(uint32_t value)
bool hasLinkError() const
unsigned nSamples() const
uint8_t tsAdc(const unsigned ts) const
void setAuxPhase1(const uint32_t aux)
bool hasCapidError() const
const unsigned HBHERecHitAuxSetter::MASK_ADC = 0xffff |
|
static |
const unsigned HBHERecHitAuxSetter::MASK_CAPID = 0x3 |
|
static |
const unsigned HBHERecHitAuxSetter::MASK_NSAMPLES = 0xf |
|
static |
const unsigned HBHERecHitAuxSetter::MASK_SOI = 0xf |
|
static |
const unsigned HBHERecHitAuxSetter::OFF_ADC = 0 |
|
static |
const unsigned HBHERecHitAuxSetter::OFF_CAPID = 24 |
|
static |
const unsigned HBHERecHitAuxSetter::OFF_CAPID_ERR = 29 |
|
static |
const unsigned HBHERecHitAuxSetter::OFF_DROPPED = 27 |
|
static |
const unsigned HBHERecHitAuxSetter::OFF_LINK_ERR = 28 |
|
static |
const unsigned HBHERecHitAuxSetter::OFF_NSAMPLES = 16 |
|
static |
const unsigned HBHERecHitAuxSetter::OFF_SOI = 20 |
|
static |
const unsigned HBHERecHitAuxSetter::OFF_TDC_TIME = 26 |
|
static |