CMS 3D CMS Logo

SiStripHistoTitle.h File Reference

#include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
#include <ostream>
#include <sstream>
#include <string>

Go to the source code of this file.

Classes

class  SiStripHistoTitle
 
Author:
R.Bainbridge
More...

Functions

std::ostream & operator<< (std::ostream &, const SiStripHistoTitle &)
 Debug info for class.


Function Documentation

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

Debug info for class.

Definition at line 178 of file SiStripHistoTitle.cc.

References SiStripHistoTitle::channel(), lat::endl(), SiStripHistoTitle::extraInfo(), SiStripHistoTitle::granularity(), SiStripEnumsAndStrings::granularity(), SiStripHistoTitle::histoType(), SiStripEnumsAndStrings::histoType(), SiStripEnumsAndStrings::keyType(), SiStripHistoTitle::keyType(), SiStripHistoTitle::keyValue(), SiStripHistoTitle::runType(), SiStripEnumsAndStrings::runType(), ss, and SiStripHistoTitle::title().

00178                                                                           {
00179   std::stringstream ss;
00180   ss << "[SiStripHistoTitle::print]" << std::endl
00181      << " Title          : " << title.title() << std::endl
00182      << " HistoType      : " << SiStripEnumsAndStrings::histoType( title.histoType() ) << std::endl
00183      << " RunType        : " << SiStripEnumsAndStrings::runType( title.runType() ) << std::endl
00184      << " KeyType        : " << SiStripEnumsAndStrings::keyType( title.keyType() ) << std::endl
00185      << " KeyValue (hex) : " << std::hex << std::setfill('0') << std::setw(8) << title.keyValue() << std::dec << std::endl
00186      << " Granularity    : " << SiStripEnumsAndStrings::granularity( title.granularity() ) << std::endl
00187      << " Channel        : " << title.channel() << std::endl
00188      << " ExtraInfo      : ";
00189   if ( title.extraInfo() != "" ) { ss << "\"" << title.extraInfo() << "\""; }
00190   else { ss << "(none)"; }
00191   os << ss.str();
00192   return os;
00193 }


Generated on Tue Jun 9 17:52:17 2009 for CMSSW by  doxygen 1.5.4