CMS 3D CMS Logo

PFBlockLink.cc File Reference

#include "RecoParticleFlow/PFBlockAlgo/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::chi2_, PFBlockLink::element1_, PFBlockLink::element2_, and PFBlockLink::type_.

00008                                                {
00009   if(!out) return out;  
00010 
00011   out<<setiosflags(ios::fixed);
00012   
00013   out<<"link : "
00014      <<" 0x"<<std::hex<<l.type_<<std::dec<<"\t";
00015 
00016   out<<setiosflags(ios::right);
00017   out<<setw(10)<<l.chi2_
00018      <<" "<<l.element1_<<" "<<l.element2_;
00019   
00020   out<<resetiosflags(ios::right|ios::fixed);
00021   
00022   return out;  
00023 }


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