31 #include <fastjet/tools/MassDropTagger.hh>
32 #include <fastjet/ClusterSequence.hh>
35 FASTJET_BEGIN_NAMESPACE
37 LimitedWarning MassDropTagger::_warnings_nonca;
47 string MassDropTagger::description()
const{
49 oss <<
"MassDropTagger with mu=" << _mu <<
" and ycut=" << _ycut;
63 _warnings_nonca.warn(
"MassDropTagger should only be applied on jets from a Cambridge/Aachen clustering; use it with other algorithms at your own risk.");
74 if (j1.
m2() < j2.
m2()) std::swap(j1,j2);
94 s->
_mu = (j.
m2()!=0.0) ? sqrt(j1.
m2()/j.
m2()) : 0.0;
102 FASTJET_END_NAMESPACE
JetAlgorithm jet_algorithm() const
return information about the definition...
const ClusterSequence * validated_cs() const
shorthand for validated_cluster_sequence()
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...
double m2() const
returns the squared invariant mass // like CLHEP
const JetDefinition & jet_def() const
return a reference to the jet definition
the structure returned by the MassDropTagger transformer.
double _y
the value of the asymmetry parameter
double kt_distance(const PseudoJet &other) const
returns kt distance (R=1) between this jet and another
an implementation of C++0x shared pointers (or boost's)
void set_structure_shared_ptr(const SharedPtr< PseudoJetStructureBase > &structure)
set the associated structure
the longitudinally invariant variant of the cambridge algorithm (aka Aachen algoithm).
bool has_associated_cluster_sequence() const
returns true if this PseudoJet has an associated ClusterSequence.
Class to contain pseudojets, including minimal information of use to jet-clustering routines...
double _mu
the value of the mass-drop parameter