CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/RecoParticleFlow/PFProducer/src/PFBlockLink.cc

Go to the documentation of this file.
00001 #include "RecoParticleFlow/PFProducer/interface/PFBlockLink.h"
00002 
00003 #include <iomanip>
00004 
00005 using namespace std;
00006 
00007 std::ostream& operator<<(std::ostream& out, 
00008                          const PFBlockLink& l) {
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.dist_
00018      <<" "<<l.element1_<<" "<<l.element2_;
00019   
00020   out<<resetiosflags(ios::right|ios::fixed);
00021   
00022   return out;  
00023 }