CMS 3D CMS Logo

SimpleL1MuGMTCand.cc File Reference

#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)


Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const SimpleL1MuGMTCand id 
)

Definition at line 314 of file SimpleL1MuGMTCand.cc.

References SimpleL1MuGMTCand::empty(), and std.

00314                                                                    {
00315 
00316   using namespace std;
00317 
00318   if ( !id.empty() ) {
00319     s << setiosflags(ios::showpoint | ios::fixed) 
00320       << "pt = "  << setw(5) << setprecision(1) << id.ptValue() << " GeV  "
00321       << "charge = " << setw(2) << id.charge() << " " 
00322       << "eta = " << setw(5) << setprecision(2) << id.etaValue() << "  " 
00323       << "phi = " << setw(5) << setprecision(3) << id.phiValue() << " rad  ";
00324       
00325   }
00326   return s;
00327 
00328 }


Generated on Tue Jun 9 17:52:53 2009 for CMSSW by  doxygen 1.5.4