test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Typedefs | Functions
PFAlgo.cc File Reference
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "RecoParticleFlow/PFProducer/interface/PFAlgo.h"
#include "RecoParticleFlow/PFProducer/interface/PFMuonAlgo.h"
#include "RecoParticleFlow/PFProducer/interface/PFElectronAlgo.h"
#include "RecoParticleFlow/PFProducer/interface/PFPhotonAlgo.h"
#include "RecoParticleFlow/PFProducer/interface/PFElectronExtraEqual.h"
#include "RecoParticleFlow/PFTracking/interface/PFTrackAlgoTools.h"
#include "RecoParticleFlow/PFClusterTools/interface/PFEnergyCalibration.h"
#include "RecoParticleFlow/PFClusterTools/interface/PFEnergyCalibrationHF.h"
#include "RecoParticleFlow/PFClusterTools/interface/PFSCEnergyCalibration.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecHit.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlock.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlockElementTrack.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlockElementCluster.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecTrack.h"
#include "DataFormats/ParticleFlowReco/interface/PFCluster.h"
#include "DataFormats/ParticleFlowReco/interface/PFLayer.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/MuonReco/interface/Muon.h"
#include "DataFormats/Common/interface/OrphanHandle.h"
#include "DataFormats/Provenance/interface/ProductID.h"
#include "DataFormats/Math/interface/LorentzVector.h"
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
#include "DataFormats/ParticleFlowReco/interface/PFDisplacedVertex.h"
#include "DataFormats/ParticleFlowReco/interface/PFDisplacedVertexFwd.h"
#include "Math/PxPyPzM4D.h"
#include "Math/LorentzVector.h"
#include "Math/DisplacementVector3D.h"
#include "Math/SMatrix.h"
#include "TDecompChol.h"
#include "boost/graph/adjacency_matrix.hpp"
#include "boost/graph/graph_utility.hpp"

Go to the source code of this file.

Typedefs

typedef std::list
< reco::PFBlockRef >::iterator 
IBR
 

Functions

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

Typedef Documentation

typedef std::list< reco::PFBlockRef >::iterator IBR

Definition at line 55 of file PFAlgo.cc.

Function Documentation

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

Definition at line 3321 of file PFAlgo.cc.

References PFAlgo::calibration_, objects.IsoTrackAnalyzer::candidates, PFAlgo::nSigmaECAL_, PFAlgo::nSigmaHCAL_, GenerateHcalLaserBadRunList::out, PFAlgo::pfCandidates(), and PFAlgo::pfCandidates_.

3321  {
3322  if(!out ) return out;
3323 
3324  out<<"====== Particle Flow Algorithm ======= ";
3325  out<<endl;
3326  out<<"nSigmaECAL_ "<<algo.nSigmaECAL_<<endl;
3327  out<<"nSigmaHCAL_ "<<algo.nSigmaHCAL_<<endl;
3328  out<<endl;
3329  out<<(*(algo.calibration_))<<endl;
3330  out<<endl;
3331  out<<"reconstructed particles: "<<endl;
3332 
3333  const std::auto_ptr< reco::PFCandidateCollection >&
3334  candidates = algo.pfCandidates();
3335 
3336  if(!candidates.get() ) {
3337  out<<"candidates already transfered"<<endl;
3338  return out;
3339  }
3340  for(PFCandidateConstIterator ic=algo.pfCandidates_->begin();
3341  ic != algo.pfCandidates_->end(); ic++) {
3342  out<<(*ic)<<endl;
3343  }
3344 
3345  return out;
3346 }
double nSigmaHCAL_
number of sigma to judge energy excess in HCAL
Definition: PFAlgo.h:328
PFCandidateCollection::const_iterator PFCandidateConstIterator
iterator
boost::shared_ptr< PFEnergyCalibration > calibration_
Definition: PFAlgo.h:330
std::auto_ptr< reco::PFCandidateCollection > pfCandidates_
Definition: PFAlgo.h:284
const std::auto_ptr< reco::PFCandidateCollection > & pfCandidates() const
Definition: PFAlgo.h:196
double nSigmaECAL_
number of sigma to judge energy excess in ECAL
Definition: PFAlgo.h:325