#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 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(), i, HGCal64BitRandomDataPayload::payload, and mps_fire::result.
Referenced by setDataPayload().
void HGCal64BitRandomCodecImpl::setDataPayload | ( | data_type & | data | ) |
Definition at line 9 of file HGCal64BitRandomCodecImpl.cc.
References encode(), i, HGCal64BitRandomDataPayload::payload, and rand_.
|
private |
Definition at line 26 of file HGCal64BitRandomCodecImpl.h.
Referenced by setDataPayload().