#include "FastSimDataFormats/L1GlobalMuonTrigger/interface/SimpleL1MuGMTCand.h"
#include "SimDataFormats/Track/interface/SimTrack.h"
#include <iomanip>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &s, const SimpleL1MuGMTCand &id) |
std::ostream& operator<< | ( | std::ostream & | s, |
const SimpleL1MuGMTCand & | id | ||
) |
Definition at line 314 of file SimpleL1MuGMTCand.cc.
References SimpleL1MuGMTCand::empty(), and alignCSCRings::s.
{ using namespace std; if ( !id.empty() ) { s << setiosflags(ios::showpoint | ios::fixed) << "pt = " << setw(5) << setprecision(1) << id.ptValue() << " GeV " << "charge = " << setw(2) << id.charge() << " " << "eta = " << setw(5) << setprecision(2) << id.etaValue() << " " << "phi = " << setw(5) << setprecision(3) << id.phiValue() << " rad "; } return s; }