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

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

Definition at line 70 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.

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