CMS 3D CMS Logo

Functions
AlgoMuon.cc File Reference
#include "L1Trigger/L1TMuonOverlapPhase1/interface/Omtf/AlgoMuon.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <bitset>
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const AlgoMuon &o)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const AlgoMuon o 
)

Definition at line 26 of file AlgoMuon.cc.

References EcalTangentSkim_cfg::o, MillePedeFileConverter_cfg::out, and to_string().

26  {
27  out << "AlgoMuon: ";
28  out << " pt: " << o.getPt() << ", phi: " << o.getPhi() << ", eta: " << o.getEtaHw()
29  << ", hits: " << std::bitset<18>(o.getFiredLayerBits()).to_string() << ", q: " << o.getQ()
30  << ", bx: " << o.getBx() << ", charge: " << o.getCharge() << ", disc: " << o.getDisc()
31  << " refLayer: " << o.getRefLayer() << " m_patNumb: " << o.getPatternNumber();
32 
33  return out;
34 }
static std::string to_string(const XMLCh *ch)