Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:54

0001 #include "EventFilter/L1TRawToDigi/interface/OmtfRpcDataWord64.h"
0002 
0003 #include <bitset>
0004 
0005 namespace omtf {
0006   std::ostream &operator<<(std::ostream &out, const RpcDataWord64 &o) {
0007     out << "RpcDataWord64: "
0008         << " type: " << DataWord64::type(o.type()) << " bx: " << o.bxNum_ << " lnk: " << o.linkNum_;
0009     out << std::hex;
0010     out << " frame1: 0x" << o.frame1_;
0011     if (o.frame1_ != 0)
0012       out << " (" << std::bitset<16>(o.frame1_) << ")";
0013     out << " frame2: 0x" << o.frame2_;
0014     if (o.frame2_ != 0)
0015       out << " (" << std::bitset<16>(o.frame2_) << ")";
0016     out << " frame3: 0x" << o.frame3_;
0017     if (o.frame3_ != 0)
0018       out << " (" << std::bitset<16>(o.frame3_) << ")";
0019     out << std::dec;
0020     return out;
0021   }
0022 }  // namespace omtf