test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
L1GctGlobalEnergyAlgos.cc File Reference
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctGlobalEnergyAlgos.h"
#include "CondFormats/L1TObjects/interface/L1GctJetFinderParams.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctWheelEnergyFpga.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctWheelJetFpga.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctGlobalHfSumAlgos.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 121 of file L1GctGlobalEnergyAlgos.cc.

References L1GctProcessor::bxMin(), L1GctGlobalEnergyAlgos::m_etValPlusWheel, L1GctGlobalEnergyAlgos::m_etVlMinusWheel, L1GctGlobalEnergyAlgos::m_exValPlusWheel, L1GctGlobalEnergyAlgos::m_exVlMinusWheel, L1GctGlobalEnergyAlgos::m_eyValPlusWheel, L1GctGlobalEnergyAlgos::m_eyVlMinusWheel, L1GctGlobalEnergyAlgos::m_hfSumProcessor, L1GctGlobalEnergyAlgos::m_htValPlusWheel, L1GctGlobalEnergyAlgos::m_htVlMinusWheel, L1GctGlobalEnergyAlgos::m_minusWheelFpga, L1GctGlobalEnergyAlgos::m_minusWheelJetFpga, L1GctGlobalEnergyAlgos::m_outputEtHad, L1GctGlobalEnergyAlgos::m_outputEtMiss, L1GctGlobalEnergyAlgos::m_outputEtMissPhi, L1GctGlobalEnergyAlgos::m_outputEtSum, L1GctGlobalEnergyAlgos::m_plusWheelFpga, L1GctGlobalEnergyAlgos::m_plusWheelJetFpga, and L1GctProcessor::numOfBx().

122 {
123  os << "===L1GctGlobalEnergyAlgos===" << endl;
124  os << "WheelEnergyFpga* minus = " << fpga.m_minusWheelFpga << endl;
125  os << "WheelEnergyFpga* plus = " << fpga.m_plusWheelFpga << endl;
126  os << "WheelJetFpga* minus = " << fpga.m_minusWheelJetFpga << endl;
127  os << "WheelJetFpga* plus = " << fpga.m_plusWheelJetFpga << endl;
128  os << "Inputs from Plus wheel:" << endl;
129  os << " Ex " << fpga.m_exValPlusWheel << "\n Ey " << fpga.m_eyValPlusWheel << endl;
130  os << " Et " << fpga.m_etValPlusWheel << "\n Ht " << fpga.m_htValPlusWheel << endl;
131  os << "Inputs from Minus wheel:" << endl;
132  os << " Ex " << fpga.m_exVlMinusWheel << "\n Ey " << fpga.m_eyVlMinusWheel << endl;
133  os << " Et " << fpga.m_etVlMinusWheel << "\n Ht " << fpga.m_htVlMinusWheel << endl;
134  int bxZero = -fpga.bxMin();
135  if (bxZero>=0 && bxZero<fpga.numOfBx()) {
136  os << "Output Etmiss " << fpga.m_outputEtMiss.contents.at(bxZero) << endl;
137  os << "Output Etmiss Phi " << fpga.m_outputEtMissPhi.contents.at(bxZero) << endl;
138  os << "Output EtSum " << fpga.m_outputEtSum.contents.at(bxZero) << endl;
139  os << "Output EtHad " << fpga.m_outputEtHad.contents.at(bxZero) << endl;
140  }
141  os << *fpga.m_hfSumProcessor;
142 
143  return os;
144 }
int bxMin() const
Support for multiple beam crossing operation.
L1GctWheelJetFpga * m_plusWheelJetFpga
int numOfBx() const
Pipeline< etHadType > m_outputEtHad
L1GctWheelEnergyFpga * m_minusWheelFpga
L1GctGlobalHfSumAlgos * m_hfSumProcessor
L1GctWheelJetFpga * m_minusWheelJetFpga
Pipeline< etMissPhiType > m_outputEtMissPhi
L1GctWheelEnergyFpga * m_plusWheelFpga
Pipeline< etMissType > m_outputEtMiss
Pipeline< etTotalType > m_outputEtSum