CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_6_1_1/src/RecoParticleFlow/PFProducer/src/PFBlockLink.cc File Reference

#include "RecoParticleFlow/PFProducer/interface/PFBlockLink.h"
#include <iomanip>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const PFBlockLink &l)

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const PFBlockLink l 
)

Definition at line 7 of file PFBlockLink.cc.

References PFBlockLink::dist_, PFBlockLink::element1_, PFBlockLink::element2_, dbtoconf::out, and PFBlockLink::type_.

                                               {
  if(!out) return out;  

  out<<setiosflags(ios::fixed);
  
  out<<"link : "
     <<" 0x"<<std::hex<<l.type_<<std::dec<<"\t";

  out<<setiosflags(ios::right);
  out<<setw(10)<<l.dist_
     <<" "<<l.element1_<<" "<<l.element2_;
  
  out<<resetiosflags(ios::right|ios::fixed);
  
  return out;  
}