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.

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 }

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().

L1GctGlobalEnergyAlgos::m_etValPlusWheel
etTotalType m_etValPlusWheel
Definition: L1GctGlobalEnergyAlgos.h:169
L1GctProcessor::numOfBx
int numOfBx() const
Definition: L1GctProcessor.h:79
L1GctGlobalEnergyAlgos::m_exValPlusWheel
etComponentType m_exValPlusWheel
Definition: L1GctGlobalEnergyAlgos.h:167
L1GctGlobalEnergyAlgos::m_hfSumProcessor
L1GctGlobalHfSumAlgos * m_hfSumProcessor
Definition: L1GctGlobalEnergyAlgos.h:160
L1GctGlobalEnergyAlgos::m_eyVlMinusWheel
etComponentType m_eyVlMinusWheel
Definition: L1GctGlobalEnergyAlgos.h:175
L1GctGlobalEnergyAlgos::m_outputEtHad
Pipeline< etHadType > m_outputEtHad
Definition: L1GctGlobalEnergyAlgos.h:200
L1GctGlobalEnergyAlgos::m_minusWheelJetFpga
L1GctWheelJetFpga * m_minusWheelJetFpga
Definition: L1GctGlobalEnergyAlgos.h:157
L1GctGlobalEnergyAlgos::m_htVlMinusWheel
etHadType m_htVlMinusWheel
Definition: L1GctGlobalEnergyAlgos.h:177
L1GctGlobalEnergyAlgos::m_minusWheelFpga
L1GctWheelEnergyFpga * m_minusWheelFpga
Definition: L1GctGlobalEnergyAlgos.h:155
L1GctGlobalEnergyAlgos::m_htValPlusWheel
etHadType m_htValPlusWheel
Definition: L1GctGlobalEnergyAlgos.h:170
L1GctGlobalEnergyAlgos::m_plusWheelFpga
L1GctWheelEnergyFpga * m_plusWheelFpga
Definition: L1GctGlobalEnergyAlgos.h:154
L1GctGlobalEnergyAlgos::m_plusWheelJetFpga
L1GctWheelJetFpga * m_plusWheelJetFpga
Definition: L1GctGlobalEnergyAlgos.h:156
L1GctGlobalEnergyAlgos::m_etVlMinusWheel
etTotalType m_etVlMinusWheel
Definition: L1GctGlobalEnergyAlgos.h:176
L1GctGlobalEnergyAlgos::m_outputEtMissPhi
Pipeline< etMissPhiType > m_outputEtMissPhi
Definition: L1GctGlobalEnergyAlgos.h:198
L1GctProcessor::bxMin
int bxMin() const
Support for multiple beam crossing operation.
Definition: L1GctProcessor.h:77
L1GctGlobalEnergyAlgos::m_exVlMinusWheel
etComponentType m_exVlMinusWheel
Definition: L1GctGlobalEnergyAlgos.h:174
L1GctGlobalEnergyAlgos::m_outputEtMiss
Pipeline< etMissType > m_outputEtMiss
Definition: L1GctGlobalEnergyAlgos.h:197
L1GctGlobalEnergyAlgos::m_outputEtSum
Pipeline< etTotalType > m_outputEtSum
Definition: L1GctGlobalEnergyAlgos.h:199
L1GctGlobalEnergyAlgos::m_eyValPlusWheel
etComponentType m_eyValPlusWheel
Definition: L1GctGlobalEnergyAlgos.h:168