Loading...
Searching...
No Matches
SISConeBasePlugin.cc
// fastjet stuff
#include "fastjet/SISConeBasePlugin.hh"
FASTJET_BEGIN_NAMESPACE // defined in fastjet/internal/base.hh
// returns true when the scale associated with jet a is larger than
// the scale associated with jet b
//
// By default this does a simple direct comparison but it can be
// overloaded for higher precision [recommended if possible]
bool SISConeBasePlugin::UserScaleBase::is_larger(const PseudoJet & a, const PseudoJet & b) const{
return a.structure_of<UserScaleBase>().ordering_var2()
> b.structure_of<UserScaleBase>().ordering_var2();
}
FASTJET_END_NAMESPACE
fastjet::PseudoJet
Class to contain pseudojets, including minimal information of use to jet-clustering routines.
Definition PseudoJet.hh:68
fastjet::PseudoJet::structure_of
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:1122
fastjet::SISConeBasePlugin::UserScaleBase
base class for user-defined ordering of stable cones (used for prorgessive removal)
Definition SISConeBasePlugin.hh:154
fastjet::SISConeBasePlugin::UserScaleBase::is_larger
virtual bool is_larger(const PseudoJet &a, const PseudoJet &b) const
returns true when the scale associated with jet a is larger than the scale associated with jet b
Definition SISConeBasePlugin.cc:11