CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
OmtfDataWord64.cc
Go to the documentation of this file.
2 
3 namespace omtf {
4  std::ostream &DataWord64::operator<<(std::ostream &out, const DataWord64::Type &o) {
5  switch (o) {
6  case (csc):
7  out << "csc ";
8  break;
9  case (rpc):
10  out << "rpc ";
11  break;
12  case (dt):
13  out << "dt ";
14  break;
15  case (omtf):
16  out << "omtf";
17  break;
18  default:
19  out << "unkn";
20  break;
21  }
22  out << "(0x" << std::hex << static_cast<int>(o) << std::dec << ")";
23  return out;
24  }
25 } // namespace omtf
float dt
Definition: AMPTWrapper.h:136
std::ostream & operator<<(std::ostream &out, const Type &o)