#include <HGCalTriggerFECodecBase.h>
Public Member Functions | |
virtual void | decode (const l1t::HGCFETriggerDigi &)=0 |
virtual void | encode (l1t::HGCFETriggerDigi &)=0 |
const unsigned char | getCodecType () const |
virtual std::vector< bool > | getDataPayload () const =0 |
HGCalTriggerFECodecBase (const edm::ParameterSet &conf) | |
const std::string & | name () const |
virtual void | print (const l1t::HGCFETriggerDigi &digi, std::ostream &out=std::cout) const =0 |
virtual void | setDataPayload (const HGCalDigiCollection &, const HGCalDigiCollection &, const HGCalDigiCollection &)=0 |
virtual void | setDataPayload (const l1t::HGCFETriggerDigi &)=0 |
void | setGeometry (const HGCalTriggerGeometryBase *const geom) |
virtual void | unSetDataPayload ()=0 |
virtual | ~HGCalTriggerFECodecBase () |
Protected Attributes | |
const HGCalTriggerGeometryBase * | geometry_ |
Private Attributes | |
unsigned char | codec_idx_ |
const std::string | name_ |
Definition at line 26 of file HGCalTriggerFECodecBase.h.
|
inline |
Definition at line 28 of file HGCalTriggerFECodecBase.h.
|
inlinevirtual |
Definition at line 33 of file HGCalTriggerFECodecBase.h.
|
pure virtual |
Implemented in HGCalTriggerFE::Codec< Impl, DATA >, HGCalTriggerFE::Codec< HGCal64BitRandomCodec, HGCal64BitRandomDataPayload >, HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload >, HGCalTriggerFE::Codec< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceDataPayload >, and HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >.
Referenced by setGeometry().
|
pure virtual |
Implemented in HGCalTriggerFE::Codec< Impl, DATA >, HGCalTriggerFE::Codec< HGCal64BitRandomCodec, HGCal64BitRandomDataPayload >, HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload >, HGCalTriggerFE::Codec< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceDataPayload >, and HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >.
Referenced by HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >::getDataPayload(), and setGeometry().
|
inline |
Definition at line 37 of file HGCalTriggerFECodecBase.h.
References codec_idx_.
Referenced by HGCalBestChoiceCodec::setDataPayloadImpl(), HGCalTriggerCellThresholdCodec::setDataPayloadImpl(), and HGCalTriggerCellBestChoiceCodec::setDataPayloadImpl().
|
pure virtual |
Implemented in HGCalTriggerFE::Codec< Impl, DATA >, HGCalTriggerFE::Codec< HGCal64BitRandomCodec, HGCal64BitRandomDataPayload >, HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload >, HGCalTriggerFE::Codec< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceDataPayload >, and HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >.
Referenced by setGeometry().
|
inline |
Definition at line 35 of file HGCalTriggerFECodecBase.h.
References name_.
Referenced by config.CFG::__str__(), HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >::decode(), validation.Sample::digest(), HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >::encode(), VIDSelectorBase.VIDSelectorBase::initialize(), HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >::setDataPayload(), HGCalBestChoiceCodec::setDataPayloadImpl(), HGCalTriggerCellThresholdCodec::setDataPayloadImpl(), and HGCalTriggerCellBestChoiceCodec::setDataPayloadImpl().
|
pure virtual |
Implemented in HGCalTriggerFE::Codec< Impl, DATA >, HGCalTriggerFE::Codec< HGCal64BitRandomCodec, HGCal64BitRandomDataPayload >, HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload >, HGCalTriggerFE::Codec< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceDataPayload >, and HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >.
Referenced by setGeometry().
|
pure virtual |
Implemented in HGCalTriggerFE::Codec< Impl, DATA >, HGCalTriggerFE::Codec< HGCal64BitRandomCodec, HGCal64BitRandomDataPayload >, HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload >, HGCalTriggerFE::Codec< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceDataPayload >, and HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >.
Referenced by setGeometry().
|
pure virtual |
Implemented in HGCalTriggerFE::Codec< Impl, DATA >, HGCalTriggerFE::Codec< HGCal64BitRandomCodec, HGCal64BitRandomDataPayload >, HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload >, HGCalTriggerFE::Codec< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceDataPayload >, and HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >.
|
inline |
Definition at line 38 of file HGCalTriggerFECodecBase.h.
References gather_cfg::cout, decode(), encode(), relativeConstraints::geom, geometry_, getDataPayload(), MillePedeFileConverter_cfg::out, print(), setDataPayload(), and unSetDataPayload().
|
pure virtual |
Implemented in HGCalTriggerFE::Codec< Impl, DATA >, HGCalTriggerFE::Codec< HGCal64BitRandomCodec, HGCal64BitRandomDataPayload >, HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload >, HGCalTriggerFE::Codec< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceDataPayload >, and HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >.
Referenced by setGeometry().
|
private |
Definition at line 62 of file HGCalTriggerFECodecBase.h.
Referenced by getCodecType().
|
protected |
Definition at line 58 of file HGCalTriggerFECodecBase.h.
Referenced by HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >::decode(), HGCalTriggerCellBestChoiceCodec::decodeImpl(), HGCalTriggerCellThresholdCodec::decodeImpl(), HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >::encode(), HGCalTriggerCellThresholdCodec::encodeImpl(), HGCalTriggerCellBestChoiceCodec::encodeImpl(), HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload >::setDataPayload(), HGCalBestChoiceCodec::setDataPayloadImpl(), HGCalTriggerCellThresholdCodec::setDataPayloadImpl(), HGCalTriggerCellBestChoiceCodec::setDataPayloadImpl(), and setGeometry().
|
private |
Definition at line 61 of file HGCalTriggerFECodecBase.h.
Referenced by name().