File: SISConeBasePlugin.cc

package info (click to toggle)
fastjet 3.4.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 9,540 kB
  • sloc: cpp: 78,628; python: 6,112; sh: 1,038; fortran: 673; makefile: 635; ansic: 161
file content (16 lines) | stat: -rw-r--r-- 597 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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