CMS 3D CMS Logo

Functions
L1GctHFBitCounts.cc File Reference
#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctHFBitCounts.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const L1GctHFBitCounts &cand)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const L1GctHFBitCounts cand 
)

Definition at line 58 of file L1GctHFBitCounts.cc.

58  {
59  s << "L1GctHFBitCounts :";
60 
61  if (cand.empty()) {
62  s << " empty";
63  } else {
64  s << " ring1 eta+=" << cand.bitCount(0);
65  s << " ring1 eta-=" << cand.bitCount(1);
66  s << " ring2 eta+=" << cand.bitCount(2);
67  s << " ring2 eta-=" << cand.bitCount(3);
68  s << std::endl;
69  }
70 
71  s << std::hex << " cap block=" << cand.capBlock() << std::dec << " index=" << cand.capIndex() << " BX=" << cand.bx();
72 
73  return s;
74 }

References TauDecayModes::dec, and alignCSCRings::s.

alignCSCRings.s
s
Definition: alignCSCRings.py:92
cand
Definition: decayParser.h:32
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143