CMS 3D CMS Logo

HGCal64BitRandomCodec.h
Go to the documentation of this file.
1 #ifndef __L1Trigger_L1THGCal_HGCal64BitRandomCodec_h__
2 #define __L1Trigger_L1THGCal_HGCal64BitRandomCodec_h__
3 
6 #include <limits>
7 
8 
9 inline std::ostream& operator<<(std::ostream& o,
11  o << std::hex << data.payload << std::dec;
12  return o;
13 }
14 
15 class HGCal64BitRandomCodec : public HGCalTriggerFE::Codec<HGCal64BitRandomCodec,HGCal64BitRandomDataPayload> {
16 public:
18 
20  Codec(conf),
21  codecImpl_(conf) {
23  }
24 
26  const HGCHEDigiCollection& fh,
27  const HGCBHDigiCollection& bh );
28 
29  void setDataPayloadImpl(const l1t::HGCFETriggerDigi& digi);
30 
31  std::vector<bool> encodeImpl(const data_type&) const ;
32  data_type decodeImpl(const std::vector<bool>&, const uint32_t) const;
33 
34 private:
36 };
37 
38 #endif
void setDataPayloadImpl(const HGCEEDigiCollection &ee, const HGCHEDigiCollection &fh, const HGCBHDigiCollection &bh)
std::ostream & operator<<(std::ostream &o, const HGCal64BitRandomDataPayload &data)
HGCal64BitRandomCodecImpl codecImpl_
HGCal64BitRandomCodec(const edm::ParameterSet &conf)
HGCal64BitRandomDataPayload data_type
std::vector< bool > encodeImpl(const data_type &) const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
data_type decodeImpl(const std::vector< bool > &, const uint32_t) const