29 #include <fastjet/tools/MassDropTagger.hh>
30 #include <fastjet/ClusterSequence.hh>
33 FASTJET_BEGIN_NAMESPACE
35 LimitedWarning MassDropTagger::_warnings_nonca;
45 string MassDropTagger::description()
const{
47 oss <<
"MassDropTagger with mu=" << _mu <<
" and ycut=" << _ycut;
61 _warnings_nonca.warn(
"MassDropTagger should only be applied on jets from a Cambridge/Aachen clustering; use it with other algorithms at your own risk.");
72 if (j1.
m2() < j2.
m2()) std::swap(j1,j2);
92 s->
_mu = (j.
m2()!=0.0) ? sqrt(j1.
m2()/j.
m2()) : 0.0;
100 FASTJET_END_NAMESPACE
bool has_associated_cluster_sequence() const
returns true if this PseudoJet has an associated ClusterSequence.
virtual bool has_parents(PseudoJet &parent1, PseudoJet &parent2) const
check if it is the product of a recombination, in which case return the 2 parents through the 'parent...
const JetDefinition & jet_def() const
return a reference to the jet definition
@ cambridge_algorithm
the longitudinally invariant variant of the cambridge algorithm (aka Aachen algoithm).
double m2() const
returns the squared invariant mass // like CLHEP
const ClusterSequence * validated_cs() const
shorthand for validated_cluster_sequence()
double kt_distance(const PseudoJet &other) const
returns kt distance (R=1) between this jet and another
JetAlgorithm jet_algorithm() const
return information about the definition...
double _y
the value of the asymmetry parameter
void set_structure_shared_ptr(const SharedPtr< PseudoJetStructureBase > &structure)
set the associated structure
double _mu
the value of the mass-drop parameter