#include <HGCalBestChoiceCodec.h>
Public Types | |
typedef HGCalBestChoiceDataPayload | data_type |
Public Member Functions | |
data_type | decodeImpl (const std::vector< bool > &, const uint32_t) const |
std::vector< bool > | encodeImpl (const data_type &) const |
HGCalBestChoiceCodec (const edm::ParameterSet &conf) | |
void | setDataPayloadImpl (const HGCEEDigiCollection &ee, const HGCHEDigiCollection &fh, const HGCBHDigiCollection &bh) |
void | setDataPayloadImpl (const l1t::HGCFETriggerDigi &digi) |
Public Member Functions inherited from HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload > | |
Codec (const edm::ParameterSet &conf) | |
virtual void | decode (const l1t::HGCFETriggerDigi &digi) override final |
HGCalBestChoiceDataPayload | decode (const std::vector< bool > &data, const uint32_t module=0) const |
virtual void | encode (l1t::HGCFETriggerDigi &digi) override final |
std::vector< bool > | encode (const HGCalBestChoiceDataPayload &data) const |
std::vector< bool > | getDataPayload () const override final |
virtual void | print (const l1t::HGCFETriggerDigi &digi, std::ostream &out=std::cout) const override final |
virtual void | setDataPayload (const HGCEEDigiCollection &ee, const HGCHEDigiCollection &fh, const HGCBHDigiCollection &bh) override final |
virtual void | setDataPayload (const l1t::HGCFETriggerDigi &digi) override final |
virtual void | unSetDataPayload () override final |
Public Member Functions inherited from HGCalTriggerFECodecBase | |
const unsigned char | getCodecType () const |
HGCalTriggerFECodecBase (const edm::ParameterSet &conf) | |
const std::string & | name () const |
void | setGeometry (const HGCalTriggerGeometryBase *const geom) |
virtual | ~HGCalTriggerFECodecBase () |
Private Attributes | |
HGCalBestChoiceCodecImpl | codecImpl_ |
Additional Inherited Members | |
Protected Attributes inherited from HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload > | |
HGCalBestChoiceDataPayload | data_ |
Protected Attributes inherited from HGCalTriggerFECodecBase | |
const HGCalTriggerGeometryBase * | geometry_ |
Definition at line 19 of file HGCalBestChoiceCodec.h.
Definition at line 22 of file HGCalBestChoiceCodec.h.
HGCalBestChoiceCodec::HGCalBestChoiceCodec | ( | const edm::ParameterSet & | conf | ) |
Definition at line 11 of file HGCalBestChoiceCodec.cc.
HGCalBestChoiceCodec::data_type HGCalBestChoiceCodec::decodeImpl | ( | const std::vector< bool > & | data, |
const uint32_t | |||
) | const |
Definition at line 98 of file HGCalBestChoiceCodec.cc.
References codecImpl_, and HGCalBestChoiceCodecImpl::decode().
std::vector< bool > HGCalBestChoiceCodec::encodeImpl | ( | const data_type & | data | ) | const |
Definition at line 91 of file HGCalBestChoiceCodec.cc.
References codecImpl_, data, and HGCalBestChoiceCodecImpl::encode().
void HGCalBestChoiceCodec::setDataPayloadImpl | ( | const HGCEEDigiCollection & | ee, |
const HGCHEDigiCollection & | fh, | ||
const HGCBHDigiCollection & | bh | ||
) |
Definition at line 19 of file HGCalBestChoiceCodec.cc.
References HGCalBestChoiceCodecImpl::bestChoiceSelect(), codecImpl_, HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload >::data_, HGCalTriggerFECodecBase::geometry_, mps_fire::i, HGCalBestChoiceCodecImpl::linearize(), HGCalBestChoiceDataPayload::reset(), edm::SortedCollection< T, SORT >::size(), and HGCalBestChoiceCodecImpl::triggerCellSums().
void HGCalBestChoiceCodec::setDataPayloadImpl | ( | const l1t::HGCFETriggerDigi & | digi | ) |
Definition at line 59 of file HGCalBestChoiceCodec.cc.
References HGCalBestChoiceCodecImpl::adcnBits(), HGCalBestChoiceCodecImpl::adcsaturation(), edm::ParameterSet::addParameter(), HGCalBestChoiceCodecImpl::bestChoiceSelect(), codecImpl_, HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload >::data_, HGCalBestChoiceCodecImpl::dataLength(), l1t::HGCFETriggerDigi::decode(), HGCalTriggerFECodecBase::geometry_, HGCalTriggerFECodecBase::getCodecType(), HGCalBestChoiceCodecImpl::linLSB(), HGCalTriggerFECodecBase::name(), HGCalBestChoiceDataPayload::reset(), HGCalBestChoiceDataPayload::size, AlCaHLTBitMon_QueryRunRegistry::string, HGCalBestChoiceCodecImpl::tdcnBits(), HGCalBestChoiceCodecImpl::tdcOnsetfC(), HGCalBestChoiceCodecImpl::tdcsaturation(), and HGCalBestChoiceCodecImpl::triggerCellTruncationBits().
|
private |
Definition at line 36 of file HGCalBestChoiceCodec.h.
Referenced by decodeImpl(), encodeImpl(), and setDataPayloadImpl().