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< HGCal64BitRandomCodec, HGCal64BitRandomDataPayload > HGCalTriggerFE::Codec< HGCalBestChoiceCodec, HGCalBestChoiceDataPayload > HGCalTriggerFE::Codec< HGCalTriggerCellBestChoiceCodec, HGCalTriggerCellBestChoiceDataPayload > HGCalTriggerFE::Codec< HGCalTriggerCellThresholdCodec, HGCalTriggerCellThresholdDataPayload > HGCalTriggerFE::Codec< Impl, DATA > HGCal64BitRandomCodec HGCalBestChoiceCodec HGCalTriggerCellBestChoiceCodec HGCalTriggerCellThresholdCodec

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 HGCEEDigiCollection &, const HGCHEDigiCollection &, const HGCHEDigiCollection &)=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.

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

Definition at line 33 of file HGCalTriggerFECodecBase.h.

33 {}

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
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 HGCEEDigiCollection ,
const HGCHEDigiCollection ,
const HGCHEDigiCollection  
)
pure virtual
virtual void HGCalTriggerFECodecBase::setDataPayload ( const l1t::HGCFETriggerDigi )
pure virtual
void HGCalTriggerFECodecBase::setGeometry ( const HGCalTriggerGeometryBase *const  geom)
inline
virtual void HGCalTriggerFECodecBase::unSetDataPayload ( )
pure virtual

Member Data Documentation

unsigned char HGCalTriggerFECodecBase::codec_idx_
private

Definition at line 62 of file HGCalTriggerFECodecBase.h.

Referenced by getCodecType().

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

Definition at line 61 of file HGCalTriggerFECodecBase.h.

Referenced by name().