1 #ifndef RecoJets_JetAlgorithms_CATopJetAlgorithm_h
2 #define RecoJets_JetAlgorithms_CATopJetAlgorithm_h
22 #include "boost/shared_ptr.hpp"
40 #include <fastjet/JetDefinition.hh>
41 #include <fastjet/PseudoJet.hh>
42 #include <fastjet/ClusterSequence.hh>
43 #include <fastjet/GhostedAreaSpec.hh>
44 #include <fastjet/ClusterSequenceArea.hh>
56 const std::vector<double> & sumEtBins,
57 const std::vector<double> & rBins,
58 const std::vector<double> & ptFracBins,
59 const std::vector<double> & deltarBins,
60 const std::vector<double> & nCellBins,
84 void run(
const std::vector<fastjet::PseudoJet> & cell_particles,
85 std::vector<fastjet::PseudoJet> & hardjetsOutput ,
86 boost::shared_ptr<fastjet::ClusterSequence> & fjClusterSeq
115 bool adjacentCells(
const fastjet::PseudoJet & jet1,
const fastjet::PseudoJet & jet2,
116 const std::vector<fastjet::PseudoJet> & cell_particles,
117 const fastjet::ClusterSequence & theClusterSequence,
118 double nCellMin )
const;
124 const fastjet::ClusterSequence & theClusterSequence,
125 const std::vector<fastjet::PseudoJet> & cell_particles,
126 double ptHard,
double nCellMin,
double deltarcut,
127 fastjet::PseudoJet & ja, fastjet::PseudoJet & jb,
128 std::vector<fastjet::PseudoJet> & leftovers)
const;
std::vector< double > sumEtBins_
std::vector< double > rBins_
bool adjacentCells(const fastjet::PseudoJet &jet1, const fastjet::PseudoJet &jet2, const std::vector< fastjet::PseudoJet > &cell_particles, const fastjet::ClusterSequence &theClusterSequence, double nCellMin) const
bool decomposeJet(const fastjet::PseudoJet &theJet, const fastjet::ClusterSequence &theClusterSequence, const std::vector< fastjet::PseudoJet > &cell_particles, double ptHard, double nCellMin, double deltarcut, fastjet::PseudoJet &ja, fastjet::PseudoJet &jb, std::vector< fastjet::PseudoJet > &leftovers) const
CATopJetAlgorithm(const edm::InputTag &mSrc, bool verbose, int algorithm, int useAdjacency, double centralEtaCut, double ptMin, const std::vector< double > &sumEtBins, const std::vector< double > &rBins, const std::vector< double > &ptFracBins, const std::vector< double > &deltarBins, const std::vector< double > &nCellBins, double seedThreshold, bool useMaxTower, double sumEtEtaCut, double etFrac)
std::vector< double > ptFracBins_
std::vector< double > deltarBins_
std::vector< double > nCellBins_
void run(const std::vector< fastjet::PseudoJet > &cell_particles, std::vector< fastjet::PseudoJet > &hardjetsOutput, boost::shared_ptr< fastjet::ClusterSequence > &fjClusterSeq)
Find the ProtoJets from the collection of input Candidates.