CMS 3D CMS Logo

OmtfRpcDataWrod64.cc
Go to the documentation of this file.
2 
3 #include <bitset>
4 
5 namespace omtf {
6  std::ostream & operator<< (std::ostream &out, const RpcDataWord64 &o) {
7  out << "RpcDataWord64: "
8  <<" type: "<< DataWord64::type(o.type())
9  << " bx: "<<o.bxNum_
10  << " lnk: "<< o.linkNum_;
11  out << std::hex;
12  out << " frame1: 0x"<< o.frame1_; if (o.frame1_ != 0) out <<" ("<< std::bitset<16>(o.frame1_)<<")";
13  out << " frame2: 0x"<< o.frame2_; if (o.frame2_ != 0) out <<" ("<< std::bitset<16>(o.frame2_)<<")";
14  out << " frame3: 0x"<< o.frame3_; if (o.frame3_ != 0) out <<" ("<< std::bitset<16>(o.frame3_)<<")";
15  out << std::dec;
16  return out;
17  }
18 }
19 
Type type(const T &)
std::ostream & operator<<(std::ostream &out, const CscDataWord64 &o)
unsigned int type() const