#include <HGCalTriggerCellBestChoiceCodec.h>
Public Types | |
typedef HGCalTriggerCellBestChoiceDataPayload | data_type |
Public Member Functions | |
data_type | decodeImpl (const std::vector< bool > &, const uint32_t) const |
std::vector< bool > | encodeImpl (const data_type &) const |
HGCalTriggerCellBestChoiceCodec (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< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceDataPayload > | |
Codec (const edm::ParameterSet &conf) | |
virtual void | decode (const l1t::HGCFETriggerDigi &digi) override final |
HGCalTriggerCellBestChoiceDataPayload | 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 HGCalTriggerCellBestChoiceDataPayload &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 | |
HGCalTriggerCellBestChoiceCodecImpl | codecImpl_ |
Additional Inherited Members | |
Protected Attributes inherited from HGCalTriggerFE::Codec< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceDataPayload > | |
HGCalTriggerCellBestChoiceDataPayload | data_ |
Protected Attributes inherited from HGCalTriggerFECodecBase | |
const HGCalTriggerGeometryBase * | geometry_ |
Definition at line 20 of file HGCalTriggerCellBestChoiceCodec.h.
Definition at line 23 of file HGCalTriggerCellBestChoiceCodec.h.
HGCalTriggerCellBestChoiceCodec::HGCalTriggerCellBestChoiceCodec | ( | const edm::ParameterSet & | conf | ) |
Definition at line 11 of file HGCalTriggerCellBestChoiceCodec.cc.
References setDataPayloadImpl().
HGCalTriggerCellBestChoiceCodec::data_type HGCalTriggerCellBestChoiceCodec::decodeImpl | ( | const std::vector< bool > & | data, |
const uint32_t | module | ||
) | const |
Definition at line 101 of file HGCalTriggerCellBestChoiceCodec.cc.
References codecImpl_, HGCalTriggerCellBestChoiceCodecImpl::decode(), and HGCalTriggerFECodecBase::geometry_.
Referenced by encodeImpl().
std::vector< bool > HGCalTriggerCellBestChoiceCodec::encodeImpl | ( | const data_type & | data | ) | const |
Definition at line 94 of file HGCalTriggerCellBestChoiceCodec.cc.
References codecImpl_, decodeImpl(), HGCalTriggerCellBestChoiceCodecImpl::encode(), and HGCalTriggerFECodecBase::geometry_.
Referenced by setDataPayloadImpl().
void HGCalTriggerCellBestChoiceCodec::setDataPayloadImpl | ( | const HGCEEDigiCollection & | ee, |
const HGCHEDigiCollection & | fh, | ||
const HGCBHDigiCollection & | bh | ||
) |
Definition at line 19 of file HGCalTriggerCellBestChoiceCodec.cc.
References HGCalTriggerCellBestChoiceCodecImpl::bestChoiceSelect(), codecImpl_, HGCalTriggerFE::Codec< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceDataPayload >::data_, HGCalTriggerFECodecBase::geometry_, mps_fire::i, HGCalTriggerCellBestChoiceCodecImpl::linearize(), HGCalTriggerCellBestChoiceDataPayload::reset(), edm::SortedCollection< T, SORT >::size(), and HGCalTriggerCellBestChoiceCodecImpl::triggerCellSums().
Referenced by HGCalTriggerCellBestChoiceCodec().
void HGCalTriggerCellBestChoiceCodec::setDataPayloadImpl | ( | const l1t::HGCFETriggerDigi & | digi | ) |
Definition at line 59 of file HGCalTriggerCellBestChoiceCodec.cc.
References HGCalTriggerCellBestChoiceCodecImpl::adcnBits(), HGCalTriggerCellBestChoiceCodecImpl::adcsaturation(), edm::ParameterSet::addParameter(), HGCalTriggerCellBestChoiceCodecImpl::bestChoiceSelect(), codecImpl_, HGCalTriggerFE::Codec< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceDataPayload >::data_, HGCalTriggerCellBestChoiceCodecImpl::dataLength(), l1t::HGCFETriggerDigi::decode(), encodeImpl(), HGCalTriggerFECodecBase::geometry_, HGCalTriggerFECodecBase::getCodecType(), HGCalTriggerCellBestChoiceCodecImpl::linLSB(), HGCalTriggerCellBestChoiceCodecImpl::linnBits(), HGCalTriggerFECodecBase::name(), HGCalTriggerCellBestChoiceCodecImpl::nCellsInModule(), HGCalTriggerCellBestChoiceDataPayload::reset(), AlCaHLTBitMon_QueryRunRegistry::string, HGCalTriggerCellBestChoiceCodecImpl::tdcnBits(), HGCalTriggerCellBestChoiceCodecImpl::tdcOnsetfC(), HGCalTriggerCellBestChoiceCodecImpl::tdcsaturation(), HGCalTriggerCellBestChoiceCodecImpl::ThicknessCorrections(), and HGCalTriggerCellBestChoiceCodecImpl::triggerCellTruncationBits().
|
private |
Definition at line 37 of file HGCalTriggerCellBestChoiceCodec.h.
Referenced by decodeImpl(), encodeImpl(), and setDataPayloadImpl().