CMS 3D CMS Logo

Classes | Functions
L1GctJet.h File Reference
#include <functional>
#include <vector>
#include <ostream>
#include <memory>
#include "DataFormats/L1CaloTrigger/interface/L1CaloRegionDetId.h"
#include <cstdint>

Go to the source code of this file.

Classes

class  L1GctJet
 A Level-1 jet candidate, used within GCT emulation. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const L1GctJet &cand)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const L1GctJet cand 
)

Definition at line 22 of file L1GctJet.cc.

References l1tGTMenu_BTagSeeds_cff::os.

22  {
23  os << "L1 Gct jet";
24  os << " energy sum " << cand.m_rawsum;
25  if (cand.overFlow()) {
26  os << ", overflow bit set;";
27  }
28  os << " Eta " << cand.globalEta();
29  os << " Phi " << cand.globalPhi();
30  if (cand.isForwardJet()) {
31  os << ", Forward jet";
32  }
33  if (cand.isCentralJet()) {
34  os << ", Central jet";
35  }
36  if (cand.isTauJet()) {
37  os << ", Tau jet";
38  }
39  if (cand.isNullJet()) {
40  os << ", Null jet";
41  }
42 
43  return os;
44 }