CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 104 of file L1GctElectronFinalSort.cc.

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

104  {
105  s << "===ElectronFinalSort===" << std::endl;
106  s << "Card type = " << ( cand.m_emCandsType ? "isolated" : "non-isolated" ) <<std::endl;
107  s << "Pointers to the Electron Leaf cards are: "<<std::endl;
108  s << " Pos. eta: " << cand.m_thePosEtaLeafCard;
109  s << " Neg. eta: " << cand.m_theNegEtaLeafCard;
110  s << std::endl;
111  s << "No of Electron Input Candidates " << cand.m_inputCands.size() << std::endl;
112  s << "No of Electron Output Candidates " << cand.m_outputCands.contents.size() << std::endl;
113 
114  return s;
115 }
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))