1 #ifndef RecoJets_JetAlgorithms_CATopJetAlgorithm_h
2 #define RecoJets_JetAlgorithms_CATopJetAlgorithm_h
35 #include <fastjet/JetDefinition.hh>
36 #include <fastjet/PseudoJet.hh>
37 #include <fastjet/ClusterSequence.hh>
38 #include <fastjet/GhostedAreaSpec.hh>
39 #include <fastjet/ClusterSequenceArea.hh>
51 const std::vector<double>& sumEtBins,
52 const std::vector<double>& rBins,
53 const std::vector<double>& ptFracBins,
54 const std::vector<double>& deltarBins,
55 const std::vector<double>& nCellBins,
79 void run(
const std::vector<fastjet::PseudoJet>& cell_particles,
80 std::vector<fastjet::PseudoJet>& hardjetsOutput,
81 std::shared_ptr<fastjet::ClusterSequence>& fjClusterSeq);
110 const fastjet::PseudoJet& jet2,
111 const std::vector<fastjet::PseudoJet>& cell_particles,
112 const fastjet::ClusterSequence& theClusterSequence,
113 double nCellMin)
const;
118 const fastjet::ClusterSequence& theClusterSequence,
119 const std::vector<fastjet::PseudoJet>& cell_particles,
123 fastjet::PseudoJet& ja,
124 fastjet::PseudoJet& jb,
125 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
static constexpr int verbose
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_
void run(const std::vector< fastjet::PseudoJet > &cell_particles, std::vector< fastjet::PseudoJet > &hardjetsOutput, std::shared_ptr< fastjet::ClusterSequence > &fjClusterSeq)
Find the ProtoJets from the collection of input Candidates.
std::vector< double > deltarBins_
std::vector< double > nCellBins_