CMS 3D CMS Logo

TotemVFATStatus.cc
Go to the documentation of this file.
1 /****************************************************************************
2 *
3 * This is a part of TOTEM offline software.
4 * Authors:
5 * Maciej Wróbel (wroblisko@gmail.com)
6 * Jan Kašpar (jan.kaspar@gmail.com)
7 *
8 ****************************************************************************/
9 
11 
12 #include <ostream>
13 
14 std::ostream& operator<<(std::ostream& s, const TotemVFATStatus& st) {
15  return s << "miss=" << st.status[0] << ",ID=" << st.status[1] << ",foot=" << st.status[2] << ",CRC=" << st.status[3]
16  << ",EC=" << st.status[4] << ",BC=" << st.status[5] << ",fm=" << st.status[6] << ",pm=" << st.status[7];
17 }
std::ostream & operator<<(std::ostream &s, const TotemVFATStatus &st)
std::bitset< 8 > status
the status bits