CMS 3D CMS Logo

Functions
SiStripEventSummary.cc File Reference
#include "DataFormats/SiStripCommon/interface/SiStripEventSummary.h"
#include "DataFormats/SiStripCommon/interface/SiStripEnumsAndStrings.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
#include <iomanip>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const SiStripEventSummary &input)
 

Function Documentation

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

Debug info for SiStripFedKey class.

Definition at line 272 of file SiStripEventSummary.cc.

References SiStripEnumsAndStrings::apvReadoutMode(), SiStripEventSummary::apvReadoutMode(), SiStripEventSummary::bx(), SiStripEventSummary::event(), SiStripEnumsAndStrings::fedReadoutMode(), SiStripEventSummary::fedReadoutMode(), SiStripEventSummary::isSet(), SiStripEventSummary::params(), SiStripEnumsAndStrings::runType(), SiStripEventSummary::runType(), SiStripEventSummary::triggerFed(), and SiStripEventSummary::valid().

272  {
273  return os << "[SiStripEventSummary::" << __func__ << "]" << std::endl
274  << " isSet : " << std::boolalpha << input.isSet() << std::noboolalpha << std::endl
275  << " Trigger FED id : " << input.triggerFed() << std::endl
276  << " isValid : " << std::boolalpha << input.valid() << std::noboolalpha << std::endl
277  << " Run type : " << SiStripEnumsAndStrings::runType( input.runType() ) << std::endl
278  << " Event number : " << input.event() << std::endl
279  << " Bunch crossing : " << input.bx() << std::endl
280  << " FED readout mode : " << SiStripEnumsAndStrings::fedReadoutMode( input.fedReadoutMode() ) << std::endl
281  << " APV readout mode : " << SiStripEnumsAndStrings::apvReadoutMode( input.apvReadoutMode() ) << std::endl
282  << " Commissioning params : "
283  << input.params()[0] << ", "
284  << input.params()[1] << ", "
285  << input.params()[2] << ", "
286  << input.params()[3]
287  << std::endl;
288 }
const std::vector< uint32_t > & params() const
static std::string runType(const sistrip::RunType &)
const sistrip::RunType & runType() const
static std::string apvReadoutMode(const sistrip::ApvReadoutMode &)
const uint32_t & bx() const
const uint32_t & event() const
uint16_t triggerFed() const
const sistrip::FedReadoutMode & fedReadoutMode() const
const sistrip::ApvReadoutMode & apvReadoutMode() const
static std::string fedReadoutMode(const sistrip::FedReadoutMode &)