test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
TotemVFATStatus.cc File Reference
#include "DataFormats/CTPPSDigi/interface/TotemVFATStatus.h"
#include <ostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const TotemVFATStatus &st)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const TotemVFATStatus st 
)

Definition at line 14 of file TotemVFATStatus.cc.

References TotemVFATStatus::status.

15 {
16  return s
17  << "miss=" << st.status[0]
18  << ",ID=" << st.status[1]
19  << ",foot=" << st.status[2]
20  << ",CRC=" << st.status[3]
21  << ",EC=" << st.status[4]
22  << ",BC=" << st.status[5]
23  << ",fm=" << st.status[6]
24  << ",pm=" << st.status[7];
25 }
std::bitset< 8 > status
the status bits