CMS 3D CMS Logo

Functions
L1MuBMAddressArray.cc File Reference
#include "L1Trigger/L1TMuonBarrel/src/L1MuBMAddressArray.h"
#include <iostream>
#include <iomanip>
#include <vector>
#include <cassert>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 244 of file L1MuBMAddressArray.cc.

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

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