CMS 3D CMS Logo

OmtfRpcDataWord64.h
Go to the documentation of this file.
1 #ifndef EventFilter_L1TRawToDigi_Omtf_RpcDataWord64_H
2 #define EventFilter_L1TRawToDigi_Omtf_RpcDataWord64_H
3 
4 #include<iostream>
6 
7 namespace omtf {
8 
9 class RpcDataWord64 {
10 public:
12  RpcDataWord64() : rawData(Word64(DataWord64::rpc)<<60) {}
13  unsigned int frame1() const { return frame1_;}
14  unsigned int frame2() const { return frame2_;}
15  unsigned int frame3() const { return frame3_;}
16  unsigned int empty() const { return empty_;}
17  unsigned int linkNum() const { return linkNum_;}
18  unsigned int bxNum() const { return bxNum_; }
19  unsigned int type() const { return type_;}
20  friend class OmtfPacker;
21  friend class RpcPacker;
22  friend std::ostream & operator<< (std::ostream &out, const RpcDataWord64 &o);
23 
24 private:
25  union {
27  struct {
35  };
36  };
37 };
38 
39 } //namespace omtf
40 
41 #endif
unsigned int frame3() const
unsigned int linkNum() const
unsigned int frame2() const
friend std::ostream & operator<<(std::ostream &out, const RpcDataWord64 &o)
unsigned int empty() const
RpcDataWord64(Word64 data)
uint64_t Word64
unsigned long long uint64_t
Definition: Time.h:15
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
unsigned int frame1() const
unsigned int bxNum() const
unsigned int type() const