FastJet 3.4.1
SISConeBasePlugin.cc
1// fastjet stuff
2#include "fastjet/SISConeBasePlugin.hh"
3
4FASTJET_BEGIN_NAMESPACE // defined in fastjet/internal/base.hh
5
6// returns true when the scale associated with jet a is larger than
7// the scale associated with jet b
8//
9// By default this does a simple direct comparison but it can be
10// overloaded for higher precision [recommended if possible]
11bool SISConeBasePlugin::UserScaleBase::is_larger(const PseudoJet & a, const PseudoJet & b) const{
12 return a.structure_of<UserScaleBase>().ordering_var2()
13 > b.structure_of<UserScaleBase>().ordering_var2();
14}
15
16FASTJET_END_NAMESPACE
Class to contain pseudojets, including minimal information of use to jet-clustering routines.
Definition: PseudoJet.hh:68
const TransformerType::StructureType & structure_of() const
this is a helper to access any structure created by a Transformer (that is, of type Transformer::Stru...
Definition: PseudoJet.hh:1146
base class for user-defined ordering of stable cones (used for prorgessive removal)