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 273 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().

273  {
274  return os << "[SiStripEventSummary::" << __func__ << "]" << std::endl
275  << " isSet : " << std::boolalpha << input.isSet() << std::noboolalpha << std::endl
276  << " Trigger FED id : " << input.triggerFed() << std::endl
277  << " isValid : " << std::boolalpha << input.valid() << std::noboolalpha << std::endl
278  << " Run type : " << SiStripEnumsAndStrings::runType( input.runType() ) << std::endl
279  << " Event number : " << input.event() << std::endl
280  << " Bunch crossing : " << input.bx() << std::endl
281  << " FED readout mode : " << SiStripEnumsAndStrings::fedReadoutMode( input.fedReadoutMode() ) << std::endl
282  << " APV readout mode : " << SiStripEnumsAndStrings::apvReadoutMode( input.apvReadoutMode() ) << std::endl
283  << " Commissioning params : "
284  << input.params()[0] << ", "
285  << input.params()[1] << ", "
286  << input.params()[2] << ", "
287  << input.params()[3]
288  << std::endl;
289 }
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 &)