CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  L1DataEmulRecord
 

Functions

std::ostream & operator<< (std::ostream &, const L1DataEmulRecord &)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const L1DataEmulRecord  
)

Definition at line 41 of file L1DataEmulRecord.cc.

References L1DataEmulRecord::DEnsys, L1DataEmulRecord::get_isComp(), L1DataEmulRecord::get_status(), L1DataEmulRecord::getColl(), L1DataEmulRecord::getGlt(), L1DataEmulRecord::getNCand(), i, alignCSCRings::s, and findQualityFiles::size.

41  {
42  s << "L1DataEmulRecord d|e status: "
43  << (cand.get_status() ? "agree":"disagree");
44  s << "\n\tsys compd? ";
45  for(int i=0; i<L1DataEmulRecord::DEnsys; i++)
46  s << cand.get_isComp(i);
47  s << "\n\tsys match? ";
48  for(int i=0; i<L1DataEmulRecord::DEnsys; i++)
49  s << cand.get_status(i);
50  s << "\n\tndata: ";
51  for(int i=0; i<L1DataEmulRecord::DEnsys; i++)
52  s << cand.getNCand(i,0) << " ";
53  s << "\n\tnemul: ";
54  for(int i=0; i<L1DataEmulRecord::DEnsys; i++)
55  s << cand.getNCand(i,1) << " ";
56  s << "\n\tdigis size:" << (cand.getColl()).size();
57  s<< std::flush;
58  L1DataEmulRecord::L1DEDigiCollection::const_iterator it;
59  std::vector<L1DataEmulDigi> dgcoll = cand.getColl();
60  for(it = dgcoll.begin(); it != dgcoll.end(); it++ )
61  s << "\n\t" << *it;
62  s << cand.getGlt();
63  return s;
64 }
int i
Definition: DBlmapReader.cc:9
static const int DEnsys
tuple size
Write out results.