CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
InternalObj.cc File Reference
#include "L1Trigger/L1TMuonOverlap/interface/InternalObj.h"
#include <bitset>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 5 of file InternalObj.cc.

References InternalObj::bx, InternalObj::charge, InternalObj::disc, InternalObj::eta, InternalObj::hits, GenerateHcalLaserBadRunList::out, InternalObj::phi, InternalObj::pt, InternalObj::q, and InternalObj::refLayer.

5  {
6  out<<"InternalObj: ";
7  out <<" pt: "<<o.pt
8  <<", eta: "<<o.eta*2.61/240
9  <<", phi: "<<o.phi
10  <<", charge: "<<o.charge
11  <<", q: "<<o.q
12  <<" hits: "<<std::bitset<18>(o.hits).to_string()
13  <<", bx: "<<o.bx
14  <<", disc: "<<o.disc<<" refLayer: "<<o.refLayer;
15 
16  return out;
17 }
float phi
Definition: InternalObj.h:8
float pt
Definition: InternalObj.h:8
float eta
Definition: InternalObj.h:8
float disc
Definition: InternalObj.h:9