CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
L1MuDTAddressArray.cc File Reference
#include "L1Trigger/DTTrackFinder/src/L1MuDTAddressArray.h"
#include <iostream>
#include <iomanip>
#include <vector>
#include <cassert>

Go to the source code of this file.

Functions

ostream & operator<< (ostream &s, const L1MuDTAddressArray &adrarr)
 

Function Documentation

ostream& operator<< ( ostream &  s,
const L1MuDTAddressArray adrarr 
)

Definition at line 246 of file L1MuDTAddressArray.cc.

References alignCSCRings::s, and L1MuDTAddressArray::station().

246  {
247 
248  s.setf(ios::right,ios::adjustfield);
249  for ( int stat = 1; stat <= 4; stat++ ) {
250  s << "stat " << stat << ": " << setw(2) << adrarr.station(stat) << " ";
251  }
252 
253  return s;
254 
255 }
unsigned short station(int stat) const
get address of a given station [1-4]