CMS 3D CMS Logo

Functions
L1GctElectronFinalSort.cc File Reference
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctElectronFinalSort.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctEmLeafCard.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <algorithm>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const L1GctElectronFinalSort &cand)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const L1GctElectronFinalSort cand 
)

Definition at line 103 of file L1GctElectronFinalSort.cc.

References L1GctElectronFinalSort::m_emCandsType, L1GctElectronFinalSort::m_inputCands, L1GctElectronFinalSort::m_outputCands, L1GctElectronFinalSort::m_theNegEtaLeafCard, L1GctElectronFinalSort::m_thePosEtaLeafCard, and alignCSCRings::s.

103  {
104  s << "===ElectronFinalSort===" << std::endl;
105  s << "Card type = " << ( cand.m_emCandsType ? "isolated" : "non-isolated" ) <<std::endl;
106  s << "Pointers to the Electron Leaf cards are: "<<std::endl;
107  s << " Pos. eta: " << cand.m_thePosEtaLeafCard;
108  s << " Neg. eta: " << cand.m_theNegEtaLeafCard;
109  s << std::endl;
110  s << "No of Electron Input Candidates " << cand.m_inputCands.size() << std::endl;
111  s << "No of Electron Output Candidates " << cand.m_outputCands.contents.size() << std::endl;
112 
113  return s;
114 }
L1GctEmLeafCard * m_theNegEtaLeafCard
L1GctEmLeafCard * m_thePosEtaLeafCard
the 1st stage electron sorters
Pipeline< L1GctEmCand > m_outputCands
output data
std::vector< L1GctEmCand > m_inputCands
input data
bool m_emCandsType
type of electron candidate (iso(0) or non-iso(1))