CMS 3D CMS Logo

L1GctJetCounter.cc File Reference

#include "L1Trigger/GlobalCaloTrigger/interface/L1GctJetCounter.h"
#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctJetCand.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctJetCounterLut.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctJetLeafCard.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctJetFinderBase.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctWheelJetFpga.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const L1GctJetCounter &algo)


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const L1GctJetCounter algo 
)

Definition at line 76 of file L1GctJetCounter.cc.

References lat::endl(), L1GctJetCounter::m_id, L1GctJetCounter::m_jetCounterLut, and L1GctJetCounter::m_value.

00077 {
00078   // Try to make this compact since it is probably
00079   // sitting inside a loop over 12 JetCounter instances
00080   os << "===L1GctJetCounter===" << std::endl;
00081   if ((algo.m_id/100) == 0) { os << "Minus wheel, "; }
00082   else { os << "Plus wheel, "; }
00083   os << "jet counter no. " << algo.m_id%100 <<  "; ID = " << algo.m_id << std::endl;
00084 //   os << "JetCounterLut* = " <<  algo.m_jetCounterLut << std::endl;
00085   os << *algo.m_jetCounterLut << std::endl;
00086 //   os << "No of Leaf cards " << algo.m_jetLeafCards.size();
00087 //   os << ". Total input jets " << algo.m_jets.size() << std::endl;
00088 //   for (unsigned i=0; i<algo.m_jetLeafCards.size(); i++) {
00089 //     // One line of printing per leaf card
00090 //     os << "JetLeafCard* " << i << " = " << algo.m_jetLeafCards.at(i);
00091 //     os << " No of jets " << algo.m_jetLeafCards.at(i)->getOutputJetsA().size() ;
00092 //     os << " + " << algo.m_jetLeafCards.at(i)->getOutputJetsB().size();
00093 //     os << " + " << algo.m_jetLeafCards.at(i)->getOutputJetsC().size() << std::endl;
00094 //   }
00095 //   for(unsigned i=0; i < algo.m_jets.size(); ++i)
00096 //     {
00097 //       os << algo.m_jets.at(i); 
00098 //     }
00099   os << "Current value of counter " << algo.m_value << std::endl;
00100 
00101   return os;
00102 }


Generated on Tue Jun 9 17:54:37 2009 for CMSSW by  doxygen 1.5.4