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 {
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::ostream & operator<<(std::ostream &s, const TotemVFATStatus &st)
std::bitset< 8 > status
the status bits