CMS 3D CMS Logo

Functions
L1DataEmulRecord.cc File Reference
#include "DataFormats/L1Trigger/interface/L1DataEmulRecord.h"

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 59 of file L1DataEmulRecord.cc.

59  {
60  s << "L1DataEmulRecord d|e status: " << (cand.get_status() ? "agree" : "disagree");
61  s << "\n\tsys compd? ";
62  for (int i = 0; i < L1DataEmulRecord::DEnsys; i++)
63  s << cand.get_isComp(i);
64  s << "\n\tsys match? ";
65  for (int i = 0; i < L1DataEmulRecord::DEnsys; i++)
66  s << cand.get_status(i);
67  s << "\n\tndata: ";
68  for (int i = 0; i < L1DataEmulRecord::DEnsys; i++)
69  s << cand.getNCand(i, 0) << " ";
70  s << "\n\tnemul: ";
71  for (int i = 0; i < L1DataEmulRecord::DEnsys; i++)
72  s << cand.getNCand(i, 1) << " ";
73  s << "\n\tdigis size:" << (cand.getColl()).size();
74  s << std::flush;
75  L1DataEmulRecord::L1DEDigiCollection::const_iterator it;
76  std::vector<L1DataEmulDigi> dgcoll = cand.getColl();
77  for (it = dgcoll.begin(); it != dgcoll.end(); it++)
78  s << "\n\t" << *it;
79  s << cand.getGlt();
80  return s;
81 }

References L1DataEmulRecord::DEnsys, mps_fire::i, alignCSCRings::s, and findQualityFiles::size.

mps_fire.i
i
Definition: mps_fire.py:428
alignCSCRings.s
s
Definition: alignCSCRings.py:92
L1DataEmulRecord::DEnsys
static const int DEnsys
Definition: L1DataEmulRecord.h:18
cand
Definition: decayParser.h:32
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443