CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
CSCCFEBStatusDigi.cc File Reference
#include <DataFormats/CSCDigi/interface/CSCCFEBStatusDigi.h>
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
#include <stdint.h>

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 146 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(), i, and connectstrParser::o.

146  {
147  o << " " << digi.getCFEBNmb()<<"\n";
148  for (size_t i = 0; i<4; ++i ){
149  o <<" " <<(digi.getSCAFullCond())[i]; }
150  o <<"\n";
151  for (size_t i = 0; i<digi.getCRC().size(); ++i ){
152  o <<" " <<(digi.getCRC())[i]; }
153  o<<"\n";
154  for (size_t i = 0; i<digi.getTS_FLAG().size(); ++i ){
155  o <<" " <<(digi.getTS_FLAG())[i]; }
156  o<<"\n";
157  for (size_t i = 0; i<digi.getSCA_FULL().size(); ++i ){
158  o <<" " <<(digi.getSCA_FULL())[i]; }
159  o<<"\n";
160  for (size_t i = 0; i<digi.getLCT_PHASE().size(); ++i ){
161  o <<" " <<(digi.getLCT_PHASE())[i]; }
162  o<<"\n";
163  for (size_t i = 0; i<digi.getL1A_PHASE().size(); ++i ){
164  o <<" " <<(digi.getL1A_PHASE())[i]; }
165  o<<"\n";
166  for (size_t i = 0; i<digi.getSCA_BLK().size(); ++i ){
167  o <<" " <<(digi.getSCA_BLK())[i]; }
168  o<<"\n";
169  for (size_t i = 0; i<digi.getTRIG_TIME().size(); ++i ){
170  o <<" " <<(digi.getTRIG_TIME())[i]; }
171  o<<"\n";
172 
173  return o;
174 }
int i
Definition: DBlmapReader.cc:9
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.