CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes | Private Attributes
HGCalTriggerFECodecBase Class Referenceabstract

#include <HGCalTriggerFECodecBase.h>

Inheritance diagram for HGCalTriggerFECodecBase:
HGCalTriggerFE::Codec< Impl, DATA >

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 HGCalTriggerGeometryBasegeometry_
 

Private Attributes

unsigned char codec_idx_
 
const std::string name_
 

Detailed Description

Definition at line 26 of file HGCalTriggerFECodecBase.h.

Constructor & Destructor Documentation

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

Definition at line 28 of file HGCalTriggerFECodecBase.h.

29  : geometry_(nullptr),
30  name_(conf.getParameter<std::string>("CodecName")),
31  codec_idx_(static_cast<unsigned char>(conf.getParameter<uint32_t>("CodecIndex"))) {}
T getParameter(std::string const &) const
const HGCalTriggerGeometryBase * geometry_
virtual HGCalTriggerFECodecBase::~HGCalTriggerFECodecBase ( )
inlinevirtual

Definition at line 32 of file HGCalTriggerFECodecBase.h.

32 {}

Member Function Documentation

virtual void HGCalTriggerFECodecBase::decode ( const l1t::HGCFETriggerDigi )
pure virtual

Implemented in HGCalTriggerFE::Codec< Impl, DATA >.

Referenced by setGeometry().

virtual void HGCalTriggerFECodecBase::encode ( l1t::HGCFETriggerDigi )
pure virtual
const unsigned char HGCalTriggerFECodecBase::getCodecType ( ) const
inline

Definition at line 36 of file HGCalTriggerFECodecBase.h.

References codec_idx_.

36 { return codec_idx_; }
virtual std::vector<bool> HGCalTriggerFECodecBase::getDataPayload ( ) const
pure virtual

Implemented in HGCalTriggerFE::Codec< Impl, DATA >.

Referenced by setGeometry().

const std::string& HGCalTriggerFECodecBase::name ( void  ) const
inline
virtual void HGCalTriggerFECodecBase::print ( const l1t::HGCFETriggerDigi digi,
std::ostream &  out = std::cout 
) const
pure virtual

Implemented in HGCalTriggerFE::Codec< Impl, DATA >.

Referenced by setGeometry().

virtual void HGCalTriggerFECodecBase::setDataPayload ( const HGCalDigiCollection ,
const HGCalDigiCollection ,
const HGCalDigiCollection  
)
pure virtual

Implemented in HGCalTriggerFE::Codec< Impl, DATA >.

Referenced by setGeometry().

virtual void HGCalTriggerFECodecBase::setDataPayload ( const l1t::HGCFETriggerDigi )
pure virtual
void HGCalTriggerFECodecBase::setGeometry ( const HGCalTriggerGeometryBase *const  geom)
inline
virtual void HGCalTriggerFECodecBase::unSetDataPayload ( )
pure virtual

Implemented in HGCalTriggerFE::Codec< Impl, DATA >.

Referenced by setGeometry().

Member Data Documentation

unsigned char HGCalTriggerFECodecBase::codec_idx_
private

Definition at line 58 of file HGCalTriggerFECodecBase.h.

Referenced by getCodecType().

const HGCalTriggerGeometryBase* HGCalTriggerFECodecBase::geometry_
protected
const std::string HGCalTriggerFECodecBase::name_
private

Definition at line 57 of file HGCalTriggerFECodecBase.h.

Referenced by name().