CMS 3D CMS Logo

Functions
L1MuBMAddressArray.cc File Reference
#include "DataFormats/L1TMuon/interface/BMTF/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

◆ operator<<()

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

Definition at line 260 of file L1MuBMAddressArray.cc.

260  {
261  s.setf(ios::right, ios::adjustfield);
262  for (int stat = 1; stat <= 4; stat++) {
263  s << "stat " << stat << ": " << setw(2) << adrarr.station(stat) << " ";
264  }
265 
266  return s;
267 }

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

L1MuBMAddressArray::station
unsigned short station(int stat) const
get address of a given station [1-4]
Definition: L1MuBMAddressArray.h:80
alignCSCRings.s
s
Definition: alignCSCRings.py:92
hgcalPlots.stat
stat
Definition: hgcalPlots.py:1119