CMS 3D CMS Logo

Classes | Functions
CSCCFEBStatusDigi.h File Reference
#include <vector>
#include <iosfwd>
#include <cstdint>

Go to the source code of this file.

Classes

class  CSCCFEBStatusDigi
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 158 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 EcalTangentSkim_cfg::o.

158  {
159  o << " " << digi.getCFEBNmb() << "\n";
160  for (size_t i = 0; i < 4; ++i) {
161  o << " " << (digi.getSCAFullCond())[i];
162  }
163  o << "\n";
164  for (size_t i = 0; i < digi.getCRC().size(); ++i) {
165  o << " " << (digi.getCRC())[i];
166  }
167  o << "\n";
168  for (size_t i = 0; i < digi.getTS_FLAG().size(); ++i) {
169  o << " " << (digi.getTS_FLAG())[i];
170  }
171  o << "\n";
172  for (size_t i = 0; i < digi.getSCA_FULL().size(); ++i) {
173  o << " " << (digi.getSCA_FULL())[i];
174  }
175  o << "\n";
176  for (size_t i = 0; i < digi.getLCT_PHASE().size(); ++i) {
177  o << " " << (digi.getLCT_PHASE())[i];
178  }
179  o << "\n";
180  for (size_t i = 0; i < digi.getL1A_PHASE().size(); ++i) {
181  o << " " << (digi.getL1A_PHASE())[i];
182  }
183  o << "\n";
184  for (size_t i = 0; i < digi.getSCA_BLK().size(); ++i) {
185  o << " " << (digi.getSCA_BLK())[i];
186  }
187  o << "\n";
188  for (size_t i = 0; i < digi.getTRIG_TIME().size(); ++i) {
189  o << " " << (digi.getTRIG_TIME())[i];
190  }
191  o << "\n";
192 
193  return o;
194 }
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 > getLCT_PHASE() const
Get LCT_PHASE bit from SCA Controller data per each time slice.
std::vector< int > getTS_FLAG() const
Get TS_FLAG bit 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 > getSCA_BLK() const
Get SCA_BLK 4 bit word from SCA Controller data per each time slice.
std::vector< int > getTRIG_TIME() const
Get TRIG_TIME 8 bit word from SCA Controller data per each time slice.
std::vector< uint16_t > getSCAFullCond() const
Get SCA Full Condition.
int getCFEBNmb() const
Get the CFEB number.