test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
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 TauDecayModes::dec, PFBlockLink::dist_, PFBlockLink::element1_, PFBlockLink::element2_, GenerateHcalLaserBadRunList::out, and PFBlockLink::type_.

8  {
9  if(!out) return out;
10 
11  out<<setiosflags(ios::fixed);
12 
13  out<<"link : "
14  <<" 0x"<<std::hex<<l.type_<<std::dec<<"\t";
15 
16  out<<setiosflags(ios::right);
17  out<<setw(10)<<l.dist_
18  <<" "<<l.element1_<<" "<<l.element2_;
19 
20  out<<resetiosflags(ios::right|ios::fixed);
21 
22  return out;
23 }