#include <HGCFETriggerDigi.h>
|
template<typename CODEC , typename DATA > |
void | decode (const CODEC &codec, DATA &data) const |
|
template<typename CODEC , typename DATA > |
void | encode (const CODEC &codec, const DATA &data) |
|
template<typename IDTYPE > |
IDTYPE | getDetId () const |
|
unsigned char | getWhichCodec () const |
|
| HGCFETriggerDigi () |
|
uint32_t | id () const |
|
void | print (std::ostream &out) const |
|
template<typename CODEC > |
void | print (const CODEC &codec, std::ostream &out) const |
|
template<typename IDTYPE > |
void | setDetId (const IDTYPE &id) |
|
| ~HGCFETriggerDigi () |
|
Definition at line 40 of file HGCFETriggerDigi.h.
l1t::HGCFETriggerDigi::HGCFETriggerDigi |
( |
| ) |
|
|
inline |
l1t::HGCFETriggerDigi::~HGCFETriggerDigi |
( |
| ) |
|
|
inline |
template<typename CODEC , typename DATA >
void l1t::HGCFETriggerDigi::decode |
( |
const CODEC & |
codec, |
|
|
DATA & |
data |
|
) |
| const |
|
inline |
Definition at line 71 of file HGCFETriggerDigi.h.
References codec_, data_, TauDecayModes::dec, detid_, Exception, MillePedeFileConverter_cfg::out, and print().
Referenced by ztail.Decoder::follow(), ztail.Decoder::initial_synchronize(), HGCalBestChoiceCodec::setDataPayloadImpl(), HGCalTriggerCellBestChoiceCodec::setDataPayloadImpl(), and HGCalTriggerCellThresholdCodec::setDataPayloadImpl().
72 if(
codec_ != codec.getCodecType() ){
74 <<
"Wrong HGC codec: " << std::hex << codec.getCodecType()
75 <<
" given to data encoded with HGC codec type: "
char data[epos_bytes_allocation]
template<typename CODEC , typename DATA >
void l1t::HGCFETriggerDigi::encode |
( |
const CODEC & |
codec, |
|
|
const DATA & |
data |
|
) |
| |
|
inline |
template<typename IDTYPE >
IDTYPE l1t::HGCFETriggerDigi::getDetId |
( |
void |
| ) |
const |
|
inline |
unsigned char l1t::HGCFETriggerDigi::getWhichCodec |
( |
| ) |
const |
|
inline |
uint32_t l1t::HGCFETriggerDigi::id |
( |
| ) |
const |
|
inline |
void HGCFETriggerDigi::print |
( |
std::ostream & |
out | ) |
const |
template<typename CODEC >
void l1t::HGCFETriggerDigi::print |
( |
const CODEC & |
codec, |
|
|
std::ostream & |
out |
|
) |
| const |
Definition at line 92 of file HGCFETriggerDigi.h.
References codec_, data_, detid_, Exception, and print().
93 if(
codec_ != codec.getCodecType() ){
95 <<
"Wrong HGC codec: " << codec.getCodecType()
96 <<
" given to data encoded with HGC codec type: " 100 out << std::endl <<
" decoded from: " << std::endl;
void print(std::ostream &out) const
template<typename IDTYPE >
void l1t::HGCFETriggerDigi::setDetId |
( |
const IDTYPE & |
id | ) |
|
|
inline |
unsigned char l1t::HGCFETriggerDigi::codec_ |
|
private |
uint32_t l1t::HGCFETriggerDigi::detid_ |
|
private |