File indexing completed on 2024-04-06 12:10:54
0001 #include "DataFormats/L1TMuon/interface/OMTF/OmtfDataWord64.h"
0002
0003 namespace omtf {
0004 std::ostream &DataWord64::operator<<(std::ostream &out, const DataWord64::Type &o) {
0005 switch (o) {
0006 case (csc):
0007 out << "csc ";
0008 break;
0009 case (rpc):
0010 out << "rpc ";
0011 break;
0012 case (dt):
0013 out << "dt ";
0014 break;
0015 case (omtf):
0016 out << "omtf";
0017 break;
0018 default:
0019 out << "unkn";
0020 break;
0021 }
0022 out << "(0x" << std::hex << static_cast<int>(o) << std::dec << ")";
0023 return out;
0024 }
0025 }