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