CMS 3D CMS Logo

Classes | Functions
L1DataEmulRecord.h File Reference
#include <ostream>
#include <vector>
#include <array>
#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

◆ operator<<()

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

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