Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:54:17

0001 #include "DataFormats/ParticleFlowReco/interface/PFRecHitFraction.h"
0002 #include "DataFormats/Common/interface/Ref.h"
0003 #include "DataFormats/ParticleFlowReco/interface/PFRecHit.h"
0004 // #include "FWCore/Utilities/interface/Exception.h"
0005 
0006 using namespace std;
0007 using namespace reco;
0008 
0009 ostream& reco::operator<<(std::ostream& out, const PFRecHitFraction& hit) {
0010   if (!out)
0011     return out;
0012 
0013   //   const reco::PFRecHit* rechit = hit.getRecHit();
0014 
0015   out << hit.fraction() << "x[" << hit.recHitRef()->detId() << "]";
0016 
0017   return out;
0018 }