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 8 of file AlgoMuon.cc.

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

8  {
9  out << "AlgoMuon: ";
10  out << " pt: " << o.getPtConstr() << " upt: " << o.getPtUnconstr() << ", phi: " << o.getPhi()
11  << ", eta: " << o.getEtaHw() << ", hits: " << std::bitset<18>(o.getFiredLayerBits()).to_string()
12  << ", q: " << o.getQ() << ", bx: " << o.getBx() << ", charge: " << o.getChargeConstr()
13  << ", disc: " << o.getDisc() << " refLayer: " << o.getRefLayer() << " m_patNumb: " << o.getPatternNumConstr();
14 
15  return out;
16 }
static std::string to_string(const XMLCh *ch)