CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
L1GctWheelEnergyFpga.h File Reference
#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctEtTotal.h"
#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctEtMiss.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctProcessor.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctJetLeafCard.h"
#include "L1Trigger/GlobalCaloTrigger/src/L1GctTwosComplement.h"
#include "L1Trigger/GlobalCaloTrigger/src/L1GctUnsignedInt.h"
#include <vector>

Go to the source code of this file.

Classes

class  L1GctWheelEnergyFpga
 Emulates the energy summing on a GCT Wheel card. More...
 

Functions

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

Function Documentation

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

Definition at line 70 of file L1GctWheelEnergyFpga.cc.

References 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
int i
Definition: DBlmapReader.cc:9
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