CMS 3D CMS Logo

Functions
L1GctGlobalHfSumAlgos.cc File Reference
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctGlobalHfSumAlgos.h"
#include "CondFormats/L1TObjects/interface/L1CaloEtScale.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctWheelJetFpga.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctHfBitCountsLut.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctHfEtSumsLut.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 66 of file L1GctGlobalHfSumAlgos.cc.

66  {
67  os << "===L1GctGlobalHfSumAlgos===" << std::endl;
68  os << "WheelJetFpga* plus = " << fpga.m_plusWheelJetFpga << std::endl;
69  os << "Plus wheel inputs:" << std::endl;
70  os << "Bit counts ring 1: " << fpga.m_hfInputSumsPlusWheel.nOverThreshold0
71  << ", ring 2: " << fpga.m_hfInputSumsPlusWheel.nOverThreshold1 << std::endl;
72  os << "Et sums ring 1: " << fpga.m_hfInputSumsPlusWheel.etSum0 << ", ring 2: " << fpga.m_hfInputSumsPlusWheel.etSum1
73  << std::endl;
74  os << "WheelJetFpga* minus = " << fpga.m_minusWheelJetFpga << std::endl;
75  os << "Minus wheel inputs:" << std::endl;
76  os << "Bit counts ring 1: " << fpga.m_hfInputSumsMinusWheel.nOverThreshold0
77  << ", ring 2: " << fpga.m_hfInputSumsMinusWheel.nOverThreshold1 << std::endl;
78  os << "Et sums ring 1: " << fpga.m_hfInputSumsMinusWheel.etSum0 << ", ring 2: " << fpga.m_hfInputSumsMinusWheel.etSum1
79  << std::endl;
80 
81  int bxZero = -fpga.bxMin();
82  if (bxZero >= 0 && bxZero < fpga.numOfBx()) {
83  os << "Output word " << std::hex << fpga.hfSumsWord().at(bxZero) << std::dec << std::endl;
84  }
85 
86  return os;
87 }

References L1GctProcessor::bxMin(), TauDecayModes::dec, L1GctJetFinderBase::hfTowerSumsType::etSum0, L1GctJetFinderBase::hfTowerSumsType::etSum1, L1GctGlobalHfSumAlgos::hfSumsWord(), L1GctGlobalHfSumAlgos::m_hfInputSumsMinusWheel, L1GctGlobalHfSumAlgos::m_hfInputSumsPlusWheel, L1GctGlobalHfSumAlgos::m_minusWheelJetFpga, L1GctGlobalHfSumAlgos::m_plusWheelJetFpga, L1GctJetFinderBase::hfTowerSumsType::nOverThreshold0, L1GctJetFinderBase::hfTowerSumsType::nOverThreshold1, and L1GctProcessor::numOfBx().

L1GctJetFinderBase::hfTowerSumsType::nOverThreshold0
L1GctJetCount< kHfCountBits > nOverThreshold0
Definition: L1GctJetFinderBase.h:78
L1GctProcessor::numOfBx
int numOfBx() const
Definition: L1GctProcessor.h:79
L1GctJetFinderBase::hfTowerSumsType::etSum1
L1GctJetCount< kHfEtSumBits > etSum1
Definition: L1GctJetFinderBase.h:77
L1GctJetFinderBase::hfTowerSumsType::nOverThreshold1
L1GctJetCount< kHfCountBits > nOverThreshold1
Definition: L1GctJetFinderBase.h:79
L1GctGlobalHfSumAlgos::m_minusWheelJetFpga
L1GctWheelJetFpga * m_minusWheelJetFpga
Definition: L1GctGlobalHfSumAlgos.h:78
L1GctGlobalHfSumAlgos::hfSumsWord
std::vector< unsigned > hfSumsWord() const
Definition: L1GctGlobalHfSumAlgos.cc:170
L1GctGlobalHfSumAlgos::m_hfInputSumsPlusWheel
hfTowerSumsType m_hfInputSumsPlusWheel
Definition: L1GctGlobalHfSumAlgos.h:85
L1GctProcessor::bxMin
int bxMin() const
Support for multiple beam crossing operation.
Definition: L1GctProcessor.h:77
L1GctGlobalHfSumAlgos::m_plusWheelJetFpga
L1GctWheelJetFpga * m_plusWheelJetFpga
Definition: L1GctGlobalHfSumAlgos.h:77
L1GctGlobalHfSumAlgos::m_hfInputSumsMinusWheel
hfTowerSumsType m_hfInputSumsMinusWheel
Definition: L1GctGlobalHfSumAlgos.h:86
L1GctJetFinderBase::hfTowerSumsType::etSum0
L1GctJetCount< kHfEtSumBits > etSum0
Definition: L1GctJetFinderBase.h:76
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143