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

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

16  {
17  out <<"AlgoMuon: ";
18  out << " pt: " << o.getPt()
19  << ", phi: " << o.getPhi()
20  << ", eta: " << o.getEta()*2.61/240
21  << ", hits: " << std::bitset<18>(o.getHits()).to_string()
22  << ", q: " << o.getQ()
23  << ", bx: " << o.getBx()
24  << ", charge: "<< o.getCharge()
25  << ", disc: " << o.getDisc() << " refLayer: " << o.getRefLayer();
26 
27  return out;
28 }
int getCharge() const
Definition: AlgoMuon.h:25
int getEta() const
Definition: AlgoMuon.h:19
int getQ() const
Definition: AlgoMuon.h:22
int getDisc() const
Definition: AlgoMuon.h:17
int getBx() const
Definition: AlgoMuon.h:23
int getRefLayer() const
Definition: AlgoMuon.h:20
int getHits() const
Definition: AlgoMuon.h:21
int getPt() const
Definition: AlgoMuon.h:24
int getPhi() const
Definition: AlgoMuon.h:18