00001 #include "RecoParticleFlow/PFBlockAlgo/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.chi2_ 00018 <<" "<<l.element1_<<" "<<l.element2_; 00019 00020 out<<resetiosflags(ios::right|ios::fixed); 00021 00022 return out; 00023 }