CMS 3D CMS Logo

Classes | Functions
L1GctInternJetData.h File Reference
#include <string>
#include "DataFormats/L1CaloTrigger/interface/L1CaloRegionDetId.h"

Go to the source code of this file.

Classes

class  L1GctInternJetData
 L1 GCT internal jet candidate. More...
 

Functions

std::ostream & operator<< (std::ostream &s, const L1GctInternJetData &cand)
 pretty print More...
 

Function Documentation

◆ operator<<()

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

pretty print

Definition at line 120 of file L1GctInternJetData.cc.

120  {
121  s << "L1GctInternJetData :";
122  if (c.empty()) {
123  s << " empty!";
124  }
125  if (c.type() == L1GctInternJetData::jet_cluster) {
126  s << " type=jet_cluster";
127  s << " oflow=" << c.oflow();
128  s << " et=" << c.et();
129  s << " eta=" << c.eta();
130  s << " phi=" << c.phi();
131  s << " tauVeto=" << c.tauVeto();
132  s << " rank=" << c.rank();
133  } else if (c.type() == L1GctInternJetData::jet_precluster) {
134  s << " type=jet_precluster";
135  s << " oflow=" << c.oflow();
136  s << " et=" << c.et();
137  s << " eta=" << c.eta();
138  s << " tauVeto=" << c.tauVeto();
139  } else if (c.type() == L1GctInternJetData::jet_cluster_minimal) {
140  s << " type=jet_cluster_minimal";
141  s << " oflow=" << c.oflow();
142  s << " eta=" << c.eta();
143  s << " phi=" << c.phi();
144  s << " tauVeto=" << c.tauVeto();
145  s << " rank=" << c.rank();
146  } else if (c.type() == L1GctInternJetData::gct_trig_object) {
147  s << " type=gct_trig_object";
148  s << " eta=" << c.eta();
149  s << " phi=" << c.phi();
150  s << " rank=" << c.rank();
151  }
152  s << " cap block=" << std::hex << c.capBlock();
153  s << " index=" << std::dec << c.capIndex();
154  s << " BX=" << c.bx();
155 
156  return s;
157 }

References HltBtagPostValidation_cff::c, TauDecayModes::dec, L1GctInternJetData::gct_trig_object, L1GctInternJetData::jet_cluster, L1GctInternJetData::jet_cluster_minimal, L1GctInternJetData::jet_precluster, and alignCSCRings::s.

L1GctInternJetData::jet_precluster
Definition: L1GctInternJetData.h:16
L1GctInternJetData::jet_cluster
Definition: L1GctInternJetData.h:16
L1GctInternJetData::gct_trig_object
Definition: L1GctInternJetData.h:16
alignCSCRings.s
s
Definition: alignCSCRings.py:92
L1GctInternJetData::jet_cluster_minimal
Definition: L1GctInternJetData.h:16
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143