CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/L1Trigger/GlobalCaloTrigger/src/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().

{
  os << "===L1GctGlobalEnergyAlgos===" << endl;
  os << "WheelEnergyFpga* minus = " << fpga.m_minusWheelFpga << endl;
  os << "WheelEnergyFpga* plus  = " << fpga.m_plusWheelFpga << endl;
  os << "WheelJetFpga* minus = " << fpga.m_minusWheelJetFpga << endl;
  os << "WheelJetFpga* plus  = " << fpga.m_plusWheelJetFpga << endl;
  os << "Inputs from Plus wheel:" << endl;
  os << "  Ex " << fpga.m_exValPlusWheel << "\n  Ey " << fpga.m_eyValPlusWheel << endl;
  os << "  Et " << fpga.m_etValPlusWheel << "\n  Ht " << fpga.m_htValPlusWheel << endl; 
  os << "Inputs from Minus wheel:" << endl;
  os << "  Ex " << fpga.m_exVlMinusWheel << "\n  Ey " << fpga.m_eyVlMinusWheel << endl;
  os << "  Et " << fpga.m_etVlMinusWheel << "\n  Ht " << fpga.m_htVlMinusWheel << endl; 
  int bxZero = -fpga.bxMin();
  if (bxZero>=0 && bxZero<fpga.numOfBx()) {
    os << "Output Etmiss " << fpga.m_outputEtMiss.contents.at(bxZero) << endl;
    os << "Output Etmiss Phi " << fpga.m_outputEtMissPhi.contents.at(bxZero) << endl;
    os << "Output EtSum " << fpga.m_outputEtSum.contents.at(bxZero) << endl;
    os << "Output EtHad " << fpga.m_outputEtHad.contents.at(bxZero) << endl;
  }
  os << *fpga.m_hfSumProcessor;

  return os;
}