CMS 3D CMS Logo

PFClusterAlgo.cc File Reference

#include "RecoParticleFlow/PFClusterAlgo/interface/PFClusterAlgo.h"
#include "DataFormats/ParticleFlowReco/interface/PFLayer.h"
#include "Math/GenVector/VectorUtil.h"
#include <stdexcept>
#include <string>

Go to the source code of this file.

Functions

ostream & operator<< (ostream &out, const PFClusterAlgo &algo)


Function Documentation

ostream& operator<< ( ostream &  out,
const PFClusterAlgo algo 
)

Definition at line 1065 of file PFClusterAlgo.cc.

References PFClusterAlgo::nNeighbours_, PFClusterAlgo::pfClusters_, PFClusterAlgo::posCalcNCrystal_, PFClusterAlgo::posCalcP1_, PFClusterAlgo::showerSigma_, PFClusterAlgo::threshBarrel_, PFClusterAlgo::threshEndcap_, PFClusterAlgo::threshSeedBarrel_, and PFClusterAlgo::threshSeedEndcap_.

01065                                                             {
01066   if(!out) return out;
01067   out<<"PFClusterAlgo parameters : "<<endl;
01068   out<<"-----------------------------------------------------"<<endl;
01069   out<<"threshBarrel     : "<<algo.threshBarrel_     <<endl;
01070   out<<"threshSeedBarrel : "<<algo.threshSeedBarrel_ <<endl;
01071   out<<"threshEndcap     : "<<algo.threshEndcap_     <<endl;
01072   out<<"threshSeedEndcap : "<<algo.threshSeedEndcap_ <<endl;
01073   out<<"nNeighbours      : "<<algo.nNeighbours_      <<endl;
01074   out<<"posCalcNCrystal  : "<<algo.posCalcNCrystal_  <<endl;
01075   out<<"posCalcP1        : "<<algo.posCalcP1_        <<endl;
01076   out<<"showerSigma      : "<<algo.showerSigma_      <<endl;
01077 
01078   out<<endl;
01079   out<<algo.pfClusters_->size()<<" clusters:"<<endl;
01080 
01081   for(unsigned i=0; i<algo.pfClusters_->size(); i++) {
01082     out<<(*algo.pfClusters_)[i]<<endl;
01083     
01084     if(!out) return out;
01085   }
01086   
01087   return out;
01088 }


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