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()) << " bx: " << o.bxNum_ << " lnk: " << o.linkNum_;
9  out << std::hex;
10  out << " frame1: 0x" << o.frame1_;
11  if (o.frame1_ != 0)
12  out << " (" << std::bitset<16>(o.frame1_) << ")";
13  out << " frame2: 0x" << o.frame2_;
14  if (o.frame2_ != 0)
15  out << " (" << std::bitset<16>(o.frame2_) << ")";
16  out << " frame3: 0x" << o.frame3_;
17  if (o.frame3_ != 0)
18  out << " (" << std::bitset<16>(o.frame3_) << ")";
19  out << std::dec;
20  return out;
21  }
22 } // namespace omtf
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
omtf::operator<<
std::ostream & operator<<(std::ostream &out, const CscDataWord64 &o)
Definition: OmtfCscDataWord64.cc:4
OmtfRpcDataWord64.h
omtf::DataWord64::type
Type type(const T &)
omtf::RpcDataWord64
Definition: OmtfRpcDataWord64.h:9
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
omtf
Definition: OmtfCscDataWord64.h:7