test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HGCalTriggerFECodecBase Class Referenceabstract

#include <HGCalTriggerFECodecBase.h>

Inheritance diagram for HGCalTriggerFECodecBase:
HGCalTriggerFE::Codec< HGCal64BitRandomCodec, HGCal64BitRandomDataPayload > HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload > HGCalTriggerFE::Codec< Impl, DATA > HGCal64BitRandomCodec HGCalBestChoiceCodec

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 HGCalTriggerGeometryBase &, const HGCEEDigiCollection &, const HGCHEDigiCollection &, const HGCHEDigiCollection &)=0
 
virtual void setDataPayload (const HGCalTriggerGeometryBase &, const l1t::HGCFETriggerDigi &)=0
 
virtual void unSetDataPayload ()=0
 
virtual ~HGCalTriggerFECodecBase ()
 

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.

28  :
29  name_(conf.getParameter<std::string>("CodecName")),
30  codec_idx_(static_cast<unsigned char>(conf.getParameter<uint32_t>("CodecIndex")))
31  {}
T getParameter(std::string const &) const
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
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_.

Referenced by HGCalBestChoiceCodec::setDataPayloadImpl().

36 { return codec_idx_; }
virtual std::vector<bool> HGCalTriggerFECodecBase::getDataPayload ( ) const
pure virtual
const std::string& HGCalTriggerFECodecBase::name ( void  ) const
inline
virtual void HGCalTriggerFECodecBase::print ( const l1t::HGCFETriggerDigi digi,
std::ostream &  out = std::cout 
) const
pure virtual
virtual void HGCalTriggerFECodecBase::setDataPayload ( const HGCalTriggerGeometryBase ,
const HGCEEDigiCollection ,
const HGCHEDigiCollection ,
const HGCHEDigiCollection  
)
pure virtual
virtual void HGCalTriggerFECodecBase::setDataPayload ( const HGCalTriggerGeometryBase ,
const l1t::HGCFETriggerDigi  
)
pure virtual
virtual void HGCalTriggerFECodecBase::unSetDataPayload ( )
pure virtual

Member Data Documentation

unsigned char HGCalTriggerFECodecBase::codec_idx_
private

Definition at line 59 of file HGCalTriggerFECodecBase.h.

Referenced by getCodecType().

const std::string HGCalTriggerFECodecBase::name_
private

Definition at line 58 of file HGCalTriggerFECodecBase.h.

Referenced by name().