CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
HGCal64BitRandomCodec Class Reference

#include <HGCal64BitRandomCodec.h>

Inheritance diagram for HGCal64BitRandomCodec:
HGCalTriggerFE::Codec< HGCal64BitRandomCodec, HGCal64BitRandomDataPayload > HGCalTriggerFECodecBase

Public Types

typedef HGCal64BitRandomDataPayload data_type
 

Public Member Functions

data_type decodeImpl (const std::vector< bool > &, const uint32_t) const
 
std::vector< bool > encodeImpl (const data_type &) const
 
 HGCal64BitRandomCodec (const edm::ParameterSet &conf)
 
void setDataPayloadImpl (const HGCEEDigiCollection &ee, const HGCHEDigiCollection &fh, const HGCHEDigiCollection &bh)
 
void setDataPayloadImpl (const l1t::HGCFETriggerDigi &digi)
 
- Public Member Functions inherited from HGCalTriggerFE::Codec< HGCal64BitRandomCodec, HGCal64BitRandomDataPayload >
 Codec (const edm::ParameterSet &conf)
 
virtual void decode (const l1t::HGCFETriggerDigi &digi) override final
 
HGCal64BitRandomDataPayload 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 HGCal64BitRandomDataPayload &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 HGCHEDigiCollection &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

HGCal64BitRandomCodecImpl codecImpl_
 

Additional Inherited Members

- Protected Attributes inherited from HGCalTriggerFE::Codec< HGCal64BitRandomCodec, HGCal64BitRandomDataPayload >
HGCal64BitRandomDataPayload data_
 
- Protected Attributes inherited from HGCalTriggerFECodecBase
const HGCalTriggerGeometryBasegeometry_
 

Detailed Description

Definition at line 15 of file HGCal64BitRandomCodec.h.

Member Typedef Documentation

Definition at line 17 of file HGCal64BitRandomCodec.h.

Constructor & Destructor Documentation

HGCal64BitRandomCodec::HGCal64BitRandomCodec ( const edm::ParameterSet conf)
inline

Member Function Documentation

HGCal64BitRandomCodec::data_type HGCal64BitRandomCodec::decodeImpl ( const std::vector< bool > &  data,
const uint32_t   
) const

Definition at line 29 of file HGCal64BitRandomCodec.cc.

Referenced by encodeImpl(), and HGCal64BitRandomCodec().

29  {
30  return codecImpl_.decode(data);
31 }
HGCal64BitRandomCodecImpl codecImpl_
data_type decode(const std::vector< bool > &) const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::vector< bool > HGCal64BitRandomCodec::encodeImpl ( const data_type data) const

Definition at line 23 of file HGCal64BitRandomCodec.cc.

References decodeImpl().

Referenced by HGCal64BitRandomCodec(), and setDataPayloadImpl().

23  {
24  return codecImpl_.encode(data);
25 }
std::vector< bool > encode(const data_type &) const
HGCal64BitRandomCodecImpl codecImpl_
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
void HGCal64BitRandomCodec::setDataPayloadImpl ( const HGCEEDigiCollection ee,
const HGCHEDigiCollection fh,
const HGCHEDigiCollection bh 
)
void HGCal64BitRandomCodec::setDataPayloadImpl ( const l1t::HGCFETriggerDigi digi)

Definition at line 17 of file HGCal64BitRandomCodec.cc.

References encodeImpl().

Member Data Documentation

HGCal64BitRandomCodecImpl HGCal64BitRandomCodec::codecImpl_
private

Definition at line 35 of file HGCal64BitRandomCodec.h.