CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
AlgoMuon.cc File Reference
#include "L1Trigger/L1TMuonOverlap/interface/AlgoMuon.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

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

Definition at line 22 of file AlgoMuon.cc.

References AlgoMuon::getBx(), AlgoMuon::getCharge(), AlgoMuon::getDisc(), AlgoMuon::getEta(), AlgoMuon::getHits(), AlgoMuon::getPhi(), AlgoMuon::getPt(), AlgoMuon::getQ(), AlgoMuon::getRefLayer(), and MillePedeFileConverter_cfg::out.

22  {
23  out << "AlgoMuon: ";
24  out << " pt: " << o.getPt() << ", phi: " << o.getPhi() << ", eta: " << o.getEta() * 2.61 / 240
25  << ", hits: " << std::bitset<18>(o.getHits()).to_string() << ", q: " << o.getQ() << ", bx: " << o.getBx()
26  << ", charge: " << o.getCharge() << ", disc: " << o.getDisc() << " refLayer: " << o.getRefLayer();
27 
28  return out;
29 }
int getCharge() const
Definition: AlgoMuon.h:42
int getEta() const
Definition: AlgoMuon.h:36
int getQ() const
Definition: AlgoMuon.h:39
int getDisc() const
Definition: AlgoMuon.h:34
int getBx() const
Definition: AlgoMuon.h:40
int getRefLayer() const
Definition: AlgoMuon.h:37
int getHits() const
Definition: AlgoMuon.h:38
int getPt() const
Definition: AlgoMuon.h:41
int getPhi() const
Definition: AlgoMuon.h:35