CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  L1GctEmLeafCard
 Emulates a leaf card programmed for electron sorting. More...
 

Functions

std::ostream & operator<< (std::ostream &s, const L1GctEmLeafCard &card)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const L1GctEmLeafCard card 
)

Definition at line 92 of file L1GctEmLeafCard.cc.

References i, L1GctEmLeafCard::m_id, L1GctEmLeafCard::m_sorters, and alignCSCRings::s.

92  {
93  s << "===L1GctEmLeafCard===" <<endl;
94  s << "ID = "<<card.m_id<<endl;
95  s << "No of Electron Sorters = " << card.m_sorters.size() << endl;
96  for (unsigned i=0; i<card.m_sorters.size(); i++) {
97  s << std::endl;
98  s << "===ElectronSorter===" << std::endl;
99  s << "ElectronSorter no: " << i << endl << (*card.m_sorters.at(i));
100  }
101  s << endl;
102  return s;
103 }
int i
Definition: DBlmapReader.cc:9
int m_id
card ID (0 or 1)
std::vector< L1GctElectronSorter * > m_sorters