CMS 3D CMS Logo

Functions
L1GctWheelEnergyFpga.cc File Reference
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctWheelEnergyFpga.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctWheelJetFpga.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctJetLeafCard.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Functions

ostream & operator<< (ostream &os, const L1GctWheelEnergyFpga &fpga)
 

Function Documentation

◆ operator<<()

ostream& operator<< ( ostream &  os,
const L1GctWheelEnergyFpga fpga 
)

Definition at line 69 of file L1GctWheelEnergyFpga.cc.

References mps_fire::i, L1GctWheelEnergyFpga::m_id, L1GctWheelEnergyFpga::m_inputEt, L1GctWheelEnergyFpga::m_inputEx, L1GctWheelEnergyFpga::m_inputEy, L1GctWheelEnergyFpga::m_inputHt, L1GctWheelEnergyFpga::m_inputLeafCards, L1GctWheelEnergyFpga::m_outputEt, L1GctWheelEnergyFpga::m_outputEx, L1GctWheelEnergyFpga::m_outputEy, and L1GctWheelEnergyFpga::m_outputHt.

69  {
70  os << "===L1GctWheelEnergyFPGA===" << endl;
71  os << "ID : " << fpga.m_id << endl;
72  os << "No. of Input Leaf Cards " << fpga.m_inputLeafCards.size() << endl;
73  for (unsigned i = 0; i < fpga.m_inputLeafCards.size(); i++) {
74  os << "LeafCard* " << i << " = " << fpga.m_inputLeafCards.at(i) << endl;
75  }
76  os << "Input Ex " << endl;
77  for (unsigned i = 0; i < fpga.m_inputEx.size(); i++) {
78  os << fpga.m_inputEx.at(i) << endl;
79  }
80  os << "Input Ey " << endl;
81  for (unsigned i = 0; i < fpga.m_inputEy.size(); i++) {
82  os << fpga.m_inputEy.at(i) << endl;
83  }
84  os << "Input Et " << endl;
85  for (unsigned i = 0; i < fpga.m_inputEt.size(); i++) {
86  os << fpga.m_inputEt.at(i) << endl;
87  }
88  os << "Input Ht " << endl;
89  for (unsigned i = 0; i < fpga.m_inputHt.size(); i++) {
90  os << (fpga.m_inputHt.at(i)) << endl;
91  }
92  os << "Output Ex " << fpga.m_outputEx << endl;
93  os << "Output Ey " << fpga.m_outputEy << endl;
94  os << "Output Et " << fpga.m_outputEt << endl;
95  os << "Output Ht " << fpga.m_outputHt << endl;
96  os << endl;
97  return os;
98 }
etComponentType m_outputEx
output data
std::vector< etHadType > m_inputHt
std::vector< etComponentType > m_inputEx
the input components from each input card
std::vector< etTotalType > m_inputEt
std::vector< etComponentType > m_inputEy
std::vector< L1GctJetLeafCard * > m_inputLeafCards
the jet leaf card