CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
L1GctElectronFinalSort.h File Reference
#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctEmCand.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctProcessor.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctElectronSorter.h"
#include <vector>

Go to the source code of this file.

Classes

class  L1GctElectronFinalSort
 

Functions

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

Function Documentation

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

Definition at line 95 of file L1GctElectronFinalSort.cc.

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

95  {
96  s << "===ElectronFinalSort===" << std::endl;
97  s << "Card type = " << (cand.m_emCandsType ? "isolated" : "non-isolated") << std::endl;
98  s << "Pointers to the Electron Leaf cards are: " << std::endl;
99  s << " Pos. eta: " << cand.m_thePosEtaLeafCard;
100  s << " Neg. eta: " << cand.m_theNegEtaLeafCard;
101  s << std::endl;
102  s << "No of Electron Input Candidates " << cand.m_inputCands.size() << std::endl;
103  s << "No of Electron Output Candidates " << cand.m_outputCands.contents.size() << std::endl;
104 
105  return s;
106 }
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))