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
omtf::RpcDataWord64::type_
uint64_t type_
Definition: OmtfRpcDataWord64.h:34
omtf::RpcDataWord64::RpcDataWord64
RpcDataWord64()
Definition: OmtfRpcDataWord64.h:12
omtf::RpcDataWord64::bxNum
unsigned int bxNum() const
Definition: OmtfRpcDataWord64.h:18
omtf::RpcDataWord64::operator<<
friend std::ostream & operator<<(std::ostream &out, const RpcDataWord64 &o)
Definition: OmtfRpcDataWrod64.cc:6
omtf::RpcDataWord64::RpcDataWord64
RpcDataWord64(Word64 data)
Definition: OmtfRpcDataWord64.h:11
omtf::RpcDataWord64::frame3
unsigned int frame3() const
Definition: OmtfRpcDataWord64.h:15
omtf::RpcDataWord64::rawData
uint64_t rawData
Definition: OmtfRpcDataWord64.h:26
omtf::RpcDataWord64::empty
unsigned int empty() const
Definition: OmtfRpcDataWord64.h:16
omtf::Word64
uint64_t Word64
Definition: OmtfDataWord64.h:11
omtf::RpcDataWord64::linkNum
unsigned int linkNum() const
Definition: OmtfRpcDataWord64.h:17
omtf::RpcPacker
Definition: OmtfRpcPacker.h:17
omtf::RpcDataWord64::linkNum_
uint64_t linkNum_
Definition: OmtfRpcDataWord64.h:32
omtf::RpcDataWord64::empty_
uint64_t empty_
Definition: OmtfRpcDataWord64.h:31
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
omtf::RpcDataWord64::frame1_
uint64_t frame1_
Definition: OmtfRpcDataWord64.h:30
omtf::OmtfPacker
Definition: OmtfPacker.cc:46
omtf::RpcDataWord64::frame2
unsigned int frame2() const
Definition: OmtfRpcDataWord64.h:14
omtf::RpcDataWord64::frame1
unsigned int frame1() const
Definition: OmtfRpcDataWord64.h:13
omtf::RpcDataWord64
Definition: OmtfRpcDataWord64.h:9
omtf::RpcDataWord64::bxNum_
uint64_t bxNum_
Definition: OmtfRpcDataWord64.h:33
omtf::RpcDataWord64::type
unsigned int type() const
Definition: OmtfRpcDataWord64.h:19
OmtfDataWord64.h
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
omtf::RpcDataWord64::frame2_
uint64_t frame2_
Definition: OmtfRpcDataWord64.h:29
omtf::DataWord64::rpc
Definition: OmtfDataWord64.h:16
omtf
Definition: OmtfCscDataWord64.h:7
omtf::RpcDataWord64::frame3_
uint64_t frame3_
Definition: OmtfRpcDataWord64.h:28