#include <HGCalBestChoiceCodec.h>
Public Types | |
typedef HGCalBestChoiceDataPayload | data_type |
Public Member Functions | |
data_type | decodeImpl (const std::vector< bool > &) const |
std::vector< bool > | encodeImpl (const data_type &) const |
HGCalBestChoiceCodec (const edm::ParameterSet &conf) | |
void | setDataPayloadImpl (const HGCalTriggerGeometryBase &geom, const HGCEEDigiCollection &ee, const HGCHEDigiCollection &fh, const HGCHEDigiCollection &bh) |
void | setDataPayloadImpl (const HGCalTriggerGeometryBase &geom, 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) overridefinal |
HGCalBestChoiceDataPayload | decode (const std::vector< bool > &data) const |
virtual void | encode (l1t::HGCFETriggerDigi &digi) overridefinal |
std::vector< bool > | encode (const HGCalBestChoiceDataPayload &data) const |
std::vector< bool > | getDataPayload () const overridefinal |
virtual void | print (const l1t::HGCFETriggerDigi &digi, std::ostream &out=std::cout) const overridefinal |
virtual void | setDataPayload (const HGCalTriggerGeometryBase &geom, const HGCEEDigiCollection &ee, const HGCHEDigiCollection &fh, const HGCHEDigiCollection &bh) overridefinal |
virtual void | setDataPayload (const HGCalTriggerGeometryBase &geom, const l1t::HGCFETriggerDigi &digi) overridefinal |
virtual void | unSetDataPayload () overridefinal |
Public Member Functions inherited from HGCalTriggerFECodecBase | |
const unsigned char | getCodecType () const |
HGCalTriggerFECodecBase (const edm::ParameterSet &conf) | |
const std::string & | name () const |
virtual | ~HGCalTriggerFECodecBase () |
Private Attributes | |
HGCalBestChoiceCodecImpl | codecImpl_ |
Additional Inherited Members | |
Protected Attributes inherited from HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload > | |
HGCalBestChoiceDataPayload | data_ |
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 |
Definition at line 99 of file HGCalBestChoiceCodec.cc.
References data.
std::vector< bool > HGCalBestChoiceCodec::encodeImpl | ( | const data_type & | data | ) | const |
Definition at line 92 of file HGCalBestChoiceCodec.cc.
References data.
void HGCalBestChoiceCodec::setDataPayloadImpl | ( | const HGCalTriggerGeometryBase & | geom, |
const HGCEEDigiCollection & | ee, | ||
const HGCHEDigiCollection & | fh, | ||
const HGCHEDigiCollection & | bh | ||
) |
Definition at line 19 of file HGCalBestChoiceCodec.cc.
References HGCalBestChoiceCodecImpl::bestChoiceSelect(), codecImpl_, HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload >::data_, i, HGCalBestChoiceCodecImpl::linearize(), HGCalBestChoiceDataPayload::reset(), edm::SortedCollection< T, SORT >::size(), and HGCalBestChoiceCodecImpl::triggerCellSums().
void HGCalBestChoiceCodec::setDataPayloadImpl | ( | const HGCalTriggerGeometryBase & | geom, |
const l1t::HGCFETriggerDigi & | digi | ||
) |
Definition at line 60 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::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 38 of file HGCalBestChoiceCodec.h.
Referenced by setDataPayloadImpl().