CMS 3D CMS Logo

Functions
SiStripHistoTitle.cc File Reference
#include "DataFormats/SiStripCommon/interface/SiStripHistoTitle.h"
#include "DataFormats/SiStripCommon/interface/SiStripKey.h"
#include "DataFormats/SiStripCommon/interface/Constants.h"
#include "DataFormats/SiStripCommon/interface/SiStripFedKey.h"
#include "DataFormats/SiStripCommon/interface/SiStripFecKey.h"
#include "DataFormats/SiStripCommon/interface/SiStripEnumsAndStrings.h"
#include <iostream>
#include <iomanip>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const SiStripHistoTitle &title)
 

Function Documentation

◆ operator<<()

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

Debug info for class.

Definition at line 186 of file SiStripHistoTitle.cc.

References TauDecayModes::dec, SiStripEnumsAndStrings::granularity(), SiStripEnumsAndStrings::histoType(), SiStripEnumsAndStrings::keyType(), l1tGTMenu_BTagSeeds_cff::os, SiStripEnumsAndStrings::runType(), contentValuesCheck::ss, and runGCPTkAlMap::title.

186  {
187  std::stringstream ss;
188  ss << "[SiStripHistoTitle::print]" << std::endl
189  << " Title : " << title.title() << std::endl
190  << " HistoType : " << SiStripEnumsAndStrings::histoType(title.histoType()) << std::endl
191  << " RunType : " << SiStripEnumsAndStrings::runType(title.runType()) << std::endl
192  << " KeyType : " << SiStripEnumsAndStrings::keyType(title.keyType()) << std::endl
193  << " KeyValue (hex) : " << std::hex << std::setfill('0') << std::setw(8) << title.keyValue() << std::dec
194  << std::endl
195  << " Granularity : " << SiStripEnumsAndStrings::granularity(title.granularity()) << std::endl
196  << " Channel : " << title.channel() << std::endl
197  << " ExtraInfo : ";
198  if (!title.extraInfo().empty()) {
199  ss << "\"" << title.extraInfo() << "\"";
200  } else {
201  ss << "(none)";
202  }
203  os << ss.str();
204  return os;
205 }
static std::string granularity(const sistrip::Granularity &)
static std::string runType(const sistrip::RunType &)
static std::string histoType(const sistrip::HistoType &)
static std::string keyType(const sistrip::KeyType &)