CMS 3D CMS Logo

Functions
CSCCFEBStatusDigi.cc File Reference
#include "DataFormats/CSCDigi/interface/CSCCFEBStatusDigi.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
#include <cstdint>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &o, const CSCCFEBStatusDigi &digi)
 

Detailed Description

Author
N.Terentiev, CMU

Definition in file CSCCFEBStatusDigi.cc.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  o,
const CSCCFEBStatusDigi digi 
)

Definition at line 162 of file CSCCFEBStatusDigi.cc.

162  {
163  o << " " << digi.getCFEBNmb() << "\n";
164  for (size_t i = 0; i < 4; ++i) {
165  o << " " << (digi.getSCAFullCond())[i];
166  }
167  o << "\n";
168  for (size_t i = 0; i < digi.getCRC().size(); ++i) {
169  o << " " << (digi.getCRC())[i];
170  }
171  o << "\n";
172  for (size_t i = 0; i < digi.getTS_FLAG().size(); ++i) {
173  o << " " << (digi.getTS_FLAG())[i];
174  }
175  o << "\n";
176  for (size_t i = 0; i < digi.getSCA_FULL().size(); ++i) {
177  o << " " << (digi.getSCA_FULL())[i];
178  }
179  o << "\n";
180  for (size_t i = 0; i < digi.getLCT_PHASE().size(); ++i) {
181  o << " " << (digi.getLCT_PHASE())[i];
182  }
183  o << "\n";
184  for (size_t i = 0; i < digi.getL1A_PHASE().size(); ++i) {
185  o << " " << (digi.getL1A_PHASE())[i];
186  }
187  o << "\n";
188  for (size_t i = 0; i < digi.getSCA_BLK().size(); ++i) {
189  o << " " << (digi.getSCA_BLK())[i];
190  }
191  o << "\n";
192  for (size_t i = 0; i < digi.getTRIG_TIME().size(); ++i) {
193  o << " " << (digi.getTRIG_TIME())[i];
194  }
195  o << "\n";
196 
197  return o;
198 }

References CSCCFEBStatusDigi::getCFEBNmb(), CSCCFEBStatusDigi::getCRC(), CSCCFEBStatusDigi::getL1A_PHASE(), CSCCFEBStatusDigi::getLCT_PHASE(), CSCCFEBStatusDigi::getSCA_BLK(), CSCCFEBStatusDigi::getSCA_FULL(), CSCCFEBStatusDigi::getSCAFullCond(), CSCCFEBStatusDigi::getTRIG_TIME(), CSCCFEBStatusDigi::getTS_FLAG(), mps_fire::i, and EcalTangentSkim_cfg::o.

CSCCFEBStatusDigi::getSCAFullCond
std::vector< uint16_t > getSCAFullCond() const
Get SCA Full Condition.
Definition: CSCCFEBStatusDigi.cc:18
mps_fire.i
i
Definition: mps_fire.py:355
CSCCFEBStatusDigi::getCRC
std::vector< uint16_t > getCRC() const
Get CRC per each time sample.
Definition: CSCCFEBStatusDigi.h:49
CSCCFEBStatusDigi::getSCA_FULL
std::vector< int > getSCA_FULL() const
Get SCA_FULL bit from SCA Controller data per each time slice.
Definition: CSCCFEBStatusDigi.cc:42
CSCCFEBStatusDigi::getCFEBNmb
int getCFEBNmb() const
Get the CFEB number.
Definition: CSCCFEBStatusDigi.h:43
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
CSCCFEBStatusDigi::getTS_FLAG
std::vector< int > getTS_FLAG() const
Get TS_FLAG bit from SCA Controller data per each time slice.
Definition: CSCCFEBStatusDigi.cc:31
CSCCFEBStatusDigi::getLCT_PHASE
std::vector< int > getLCT_PHASE() const
Get LCT_PHASE bit from SCA Controller data per each time slice.
Definition: CSCCFEBStatusDigi.cc:53
CSCCFEBStatusDigi::getL1A_PHASE
std::vector< int > getL1A_PHASE() const
Get L1A_PHASE bit from SCA Controller data per each time slice.
Definition: CSCCFEBStatusDigi.cc:64
CSCCFEBStatusDigi::getTRIG_TIME
std::vector< int > getTRIG_TIME() const
Get TRIG_TIME 8 bit word from SCA Controller data per each time slice.
Definition: CSCCFEBStatusDigi.cc:86
CSCCFEBStatusDigi::getSCA_BLK
std::vector< int > getSCA_BLK() const
Get SCA_BLK 4 bit word from SCA Controller data per each time slice.
Definition: CSCCFEBStatusDigi.cc:75