#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) |
std::ostream& operator<< | ( | std::ostream & | , |
const SiStripHistoTitle & | |||
) |
Debug info for class.
Definition at line 177 of file SiStripHistoTitle.cc.
References SiStripHistoTitle::channel(), SiStripHistoTitle::extraInfo(), SiStripHistoTitle::granularity(), SiStripEnumsAndStrings::granularity(), SiStripHistoTitle::histoType(), SiStripEnumsAndStrings::histoType(), SiStripEnumsAndStrings::keyType(), SiStripHistoTitle::keyType(), SiStripHistoTitle::keyValue(), SiStripHistoTitle::runType(), SiStripEnumsAndStrings::runType(), and SiStripHistoTitle::title().
{ std::stringstream ss; ss << "[SiStripHistoTitle::print]" << std::endl << " Title : " << title.title() << std::endl << " HistoType : " << SiStripEnumsAndStrings::histoType( title.histoType() ) << std::endl << " RunType : " << SiStripEnumsAndStrings::runType( title.runType() ) << std::endl << " KeyType : " << SiStripEnumsAndStrings::keyType( title.keyType() ) << std::endl << " KeyValue (hex) : " << std::hex << std::setfill('0') << std::setw(8) << title.keyValue() << std::dec << std::endl << " Granularity : " << SiStripEnumsAndStrings::granularity( title.granularity() ) << std::endl << " Channel : " << title.channel() << std::endl << " ExtraInfo : "; if ( title.extraInfo() != "" ) { ss << "\"" << title.extraInfo() << "\""; } else { ss << "(none)"; } os << ss.str(); return os; }