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

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

Definition at line 162 of file CSCCFEBStatusDigi.cc.

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 connectstrParser::o.

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 }
std::vector< int > getTS_FLAG() const
Get TS_FLAG bit from SCA Controller data per each time slice.
std::vector< int > getSCA_BLK() const
Get SCA_BLK 4 bit word from SCA Controller data per each time slice.
std::vector< int > getL1A_PHASE() const
Get L1A_PHASE bit from SCA Controller data per each time slice.
std::vector< int > getLCT_PHASE() const
Get LCT_PHASE bit from SCA Controller data per each time slice.
int getCFEBNmb() const
Get the CFEB number.
std::vector< uint16_t > getSCAFullCond() const
Get SCA Full Condition.
std::vector< int > getSCA_FULL() const
Get SCA_FULL bit from SCA Controller data per each time slice.
std::vector< uint16_t > getCRC() const
Get CRC per each time sample.
std::vector< int > getTRIG_TIME() const
Get TRIG_TIME 8 bit word from SCA Controller data per each time slice.