CMS 3D CMS Logo

Classes | Functions
L1GctInternHFData.h File Reference
#include <ostream>
#include <string>
#include <cstdint>

Go to the source code of this file.

Classes

class  L1GctInternHFData
 L1 GCT internal ring sums and/or bit counts. More...
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 87 of file L1GctInternHFData.cc.

87  {
88  s << "L1GctInternHFData :";
89 
90  if (cand.empty()) {
91  s << " empty";
92  } else {
94  s << " type=conc_hf_ring_et_sums";
95  s << " ring1 eta+=" << cand.et(0);
96  s << " ring1 eta-=" << cand.et(1);
97  s << " ring2 eta+=" << cand.et(2);
98  s << " ring2 eta-=" << cand.et(3);
99  } else if (cand.type() == L1GctInternHFData::conc_hf_bit_counts) {
100  s << " type=conc_hf_bit_counts";
101  s << " ring1 eta+=" << cand.count(0);
102  s << " ring1 eta-=" << cand.count(1);
103  s << " ring2 eta+=" << cand.count(2);
104  s << " ring2 eta-=" << cand.count(3);
105  } else if (cand.type() == L1GctInternHFData::wheel_hf_ring_et_sums) {
106  s << " type=conc_hf_ring_et_sums";
107  s << " Et sum=" << cand.et(0);
108  } else if (cand.type() == L1GctInternHFData::wheel_hf_bit_counts) {
109  s << " type=wheel_hf_bit_counts";
110  s << " Bit count=" << cand.et(0);
111  }
112  }
113  s << std::endl;
114 
115  s << std::hex << " cap block=" << cand.capBlock() << std::dec << " index=" << cand.capIndex() << " BX=" << cand.bx();
116 
117  return s;
118 }

References L1GctInternHFData::conc_hf_bit_counts, L1GctInternHFData::conc_hf_ring_et_sums, TauDecayModes::dec, alignCSCRings::s, L1GctInternHFData::wheel_hf_bit_counts, and L1GctInternHFData::wheel_hf_ring_et_sums.

L1GctInternHFData::conc_hf_bit_counts
Definition: L1GctInternHFData.h:22
L1GctInternHFData::conc_hf_ring_et_sums
Definition: L1GctInternHFData.h:21
L1GctInternHFData::wheel_hf_ring_et_sums
Definition: L1GctInternHFData.h:23
alignCSCRings.s
s
Definition: alignCSCRings.py:92
cand
Definition: decayParser.h:32
L1GctInternHFData::wheel_hf_bit_counts
Definition: L1GctInternHFData.h:24
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143