1 #ifndef RecoJets_JetAlgorithms_QJets_h
2 #define RecoJets_JetAlgorithms_QJets_h
7 #include "fastjet/JetDefinition.hh"
8 #include "fastjet/PseudoJet.hh"
9 #include "fastjet/ClusterSequence.hh"
14 #include "CLHEP/Random/RandomEngine.h"
38 double d_ij(
const fastjet::PseudoJet& v1,
const fastjet::PseudoJet& v2)
const;
58 double truncation_fctr,
59 CLHEP::HepRandomEngine* rnEngine)
70 void Cluster(fastjet::ClusterSequence&
cs);
void ComputeNewDistanceMeasures(fastjet::ClusterSequence &cs, unsigned int new_jet)
void Cluster(fastjet::ClusterSequence &cs)
bool JetUnmerged(int num) const
void SetRandSeed(unsigned int seed)
unique_ptr< ClusterSequence > cs
double ComputeNormalization(double dmin)
bool Prune(JetDistance &jd, fastjet::ClusterSequence &cs)
bool operator()(const JetDistance &lhs, const JetDistance &rhs) const
void computeDCut(fastjet::ClusterSequence &cs)
JetDistance GetNextDistance()
std::map< int, bool > _merged_jets
Qjets(double zcut, double dcut_fctr, double exp_min, double exp_max, double rigidity, double truncation_fctr, CLHEP::HepRandomEngine *rnEngine)
CLHEP::HepRandomEngine * _rnEngine
double d_ij(const fastjet::PseudoJet &v1, const fastjet::PseudoJet &v2) const
double ComputeMinimumDistance()
void ComputeAllDistances(const std::vector< fastjet::PseudoJet > &inp)
std::priority_queue< JetDistance, std::vector< JetDistance >, JetDistanceCompare > _distances
bool Same(const JetDistance &lhs, const JetDistance &rhs)
bool JetsUnmerged(const JetDistance &jd) const