CMS 3D CMS Logo

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/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 <numeric>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 3385 of file PFAlgo.cc.

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

3385  {
3386  if(!out ) return out;
3387 
3388  out<<"====== Particle Flow Algorithm ======= ";
3389  out<<endl;
3390  out<<"nSigmaECAL_ "<<algo.nSigmaECAL_<<endl;
3391  out<<"nSigmaHCAL_ "<<algo.nSigmaHCAL_<<endl;
3392  out<<endl;
3393  out<<(*(algo.calibration_))<<endl;
3394  out<<endl;
3395  out<<"reconstructed particles: "<<endl;
3396 
3397  const std::unique_ptr<reco::PFCandidateCollection>& candidates = algo.pfCandidates();
3398 
3399  if(!candidates.get() ) {
3400  out<<"candidates already transfered"<<endl;
3401  return out;
3402  }
3403  for(auto const& c : *algo.pfCandidates_) out << c << endl;
3404 
3405  return out;
3406 }
std::unique_ptr< reco::PFCandidateCollection > pfCandidates_
Definition: PFAlgo.h:264
const std::unique_ptr< reco::PFCandidateCollection > & pfCandidates() const
Definition: PFAlgo.h:175
double nSigmaHCAL_
number of sigma to judge energy excess in HCAL
Definition: PFAlgo.h:304
std::shared_ptr< PFEnergyCalibration > calibration_
Definition: PFAlgo.h:306
double nSigmaECAL_
number of sigma to judge energy excess in ECAL
Definition: PFAlgo.h:301