CMS 3D CMS Logo

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

◆ operator<<()

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

Definition at line 124 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, L1GctProcessor::numOfBx(), and l1tGTMenu_BTagSeeds_cff::os.

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