#include <HGCal64BitRandomCodecImpl.h>
Public Types | |
typedef HGCal64BitRandomDataPayload | data_type |
Public Member Functions | |
data_type | decode (const std::vector< bool > &) const |
std::vector< bool > | encode (const data_type &) const |
HGCal64BitRandomCodecImpl (const edm::ParameterSet &conf) | |
void | setDataPayload (data_type &) |
Private Attributes | |
TRandom3 | rand_ |
Definition at line 13 of file HGCal64BitRandomCodecImpl.h.
Definition at line 15 of file HGCal64BitRandomCodecImpl.h.
|
inline |
Definition at line 17 of file HGCal64BitRandomCodecImpl.h.
References edm::decode(), and alcaDQMUpload::encode().
HGCal64BitRandomCodecImpl::data_type HGCal64BitRandomCodecImpl::decode | ( | const std::vector< bool > & | data | ) | const |
Definition at line 29 of file HGCal64BitRandomCodecImpl.cc.
References mps_fire::i, HGCal64BitRandomDataPayload::payload, and mps_fire::result.
Referenced by encode().
std::vector< bool > HGCal64BitRandomCodecImpl::encode | ( | const data_type & | data | ) | const |
Definition at line 18 of file HGCal64BitRandomCodecImpl.cc.
References decode(), mps_fire::i, HGCal64BitRandomDataPayload::payload, mps_fire::result, and globals_cff::x1.
Referenced by setDataPayload().
void HGCal64BitRandomCodecImpl::setDataPayload | ( | data_type & | data | ) |
Definition at line 9 of file HGCal64BitRandomCodecImpl.cc.
References encode(), mps_fire::i, HGCal64BitRandomDataPayload::payload, and rand_.
|
private |
Definition at line 26 of file HGCal64BitRandomCodecImpl.h.
Referenced by setDataPayload().