1 #ifndef RecoJets_JetAlgorithms_CATopJetAlgorithm_h
2 #define RecoJets_JetAlgorithms_CATopJetAlgorithm_h
38 #include <fastjet/JetDefinition.hh>
39 #include <fastjet/PseudoJet.hh>
40 #include <fastjet/ClusterSequence.hh>
41 #include <fastjet/GhostedAreaSpec.hh>
42 #include <fastjet/ClusterSequenceArea.hh>
54 const std::vector<double> & sumEtBins,
55 const std::vector<double> & rBins,
56 const std::vector<double> & ptFracBins,
57 const std::vector<double> & deltarBins,
58 const std::vector<double> & nCellBins,
82 void run(
const std::vector<fastjet::PseudoJet> & cell_particles,
83 std::vector<fastjet::PseudoJet> & hardjetsOutput ,
84 boost::shared_ptr<fastjet::ClusterSequence> & fjClusterSeq
113 bool adjacentCells(
const fastjet::PseudoJet & jet1,
const fastjet::PseudoJet & jet2,
114 const std::vector<fastjet::PseudoJet> & cell_particles,
115 const fastjet::ClusterSequence & theClusterSequence,
116 double nCellMin )
const;
122 const fastjet::ClusterSequence & theClusterSequence,
123 const std::vector<fastjet::PseudoJet> & cell_particles,
124 double ptHard,
double nCellMin,
double deltarcut,
125 fastjet::PseudoJet & ja, fastjet::PseudoJet & jb,
126 std::vector<fastjet::PseudoJet> & leftovers)
const;
< trclass="colgroup">< tdclass="colgroup"colspan=5 > Ecal cluster collections</td ></tr >< tr >< td >< ahref="classreco_1_1BasicCluster.html"> reco::BasicCluster</a ></td >< td >< ahref="DataFormats_EgammaReco.html"> reco::BasicClusterCollection</a ></td >< td >< ahref="#"> hybridSuperClusters</a ></td >< tdclass="description"> Basic clusters reconstructed with hybrid algorithm(barrel only)</td >< td >S.Rahatlou</td ></tr >< tr >< td >< a href
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.