CMS 3D CMS Logo

Functions
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

◆ operator<<()

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

Definition at line 306 of file SimpleL1MuGMTCand.cc.

306  {
307  using namespace std;
308 
309  if (!id.empty()) {
310  s << setiosflags(ios::showpoint | ios::fixed) << "pt = " << setw(5) << setprecision(1) << id.ptValue() << " GeV "
311  << "charge = " << setw(2) << id.charge() << " "
312  << "eta = " << setw(5) << setprecision(2) << id.etaValue() << " "
313  << "phi = " << setw(5) << setprecision(3) << id.phiValue() << " rad ";
314  }
315  return s;
316 }

References SimpleL1MuGMTCand::empty(), alignBH_cfg::fixed, and alignCSCRings::s.

alignBH_cfg.fixed
fixed
Definition: alignBH_cfg.py:54
alignCSCRings.s
s
Definition: alignCSCRings.py:92
std
Definition: JetResolutionObject.h:76
relativeConstraints.empty
bool empty
Definition: relativeConstraints.py:46