FastJet 3.4.1
Public Member Functions | List of all members
fastjet::PruningRecombiner Class Reference

More...

#include <fastjet/tools/Pruner.hh>

Inheritance diagram for fastjet::PruningRecombiner:
Inheritance graph
[legend]
Collaboration diagram for fastjet::PruningRecombiner:
Collaboration graph
[legend]

Public Member Functions

 PruningRecombiner (double zcut, double Rcut, const JetDefinition::Recombiner *recombiner)
 ctor More...
 
virtual void recombine (const PseudoJet &pa, const PseudoJet &pb, PseudoJet &pab) const
 perform a recombination taking into account the pruning conditions More...
 
virtual std::string description () const
 returns the description of the recombiner More...
 
const std::vector< unsigned int > & rejected () const
 return the history indices that have been pruned away More...
 
void clear_rejected ()
 clears the list of rejected indices More...
 
- Public Member Functions inherited from fastjet::JetDefinition::Recombiner
virtual std::string description () const =0
 return a textual description of the recombination scheme implemented here More...
 
virtual void recombine (const PseudoJet &pa, const PseudoJet &pb, PseudoJet &pab) const =0
 recombine pa and pb and put result into pab More...
 
virtual void preprocess (PseudoJet &) const
 routine called to preprocess each input jet (to make all input jets compatible with the scheme requirements (e.g. More...
 
virtual ~Recombiner ()
 a destructor to be replaced if necessary in derived classes... More...
 
void plus_equal (PseudoJet &pa, const PseudoJet &pb) const
 pa += pb in the given recombination scheme. More...
 

Detailed Description

Definition at line 242 of file Pruner.hh.

Constructor & Destructor Documentation

◆ PruningRecombiner()

fastjet::PruningRecombiner::PruningRecombiner ( double  zcut,
double  Rcut,
const JetDefinition::Recombiner recombiner 
)
inline

ctor

Parameters
zcuttransverse momentum fraction cut
Rcutangular separation cut
recombpointer to a recombiner to use to cluster pairs

Definition at line 248 of file Pruner.hh.

Member Function Documentation

◆ recombine()

void fastjet::PruningRecombiner::recombine ( const PseudoJet pa,
const PseudoJet pb,
PseudoJet pab 
) const
virtual

perform a recombination taking into account the pruning conditions

Implements fastjet::JetDefinition::Recombiner.

Definition at line 221 of file Pruner.cc.

◆ description()

string fastjet::PruningRecombiner::description ( ) const
virtual

returns the description of the recombiner

Implements fastjet::JetDefinition::Recombiner.

Definition at line 252 of file Pruner.cc.

◆ rejected()

const std::vector< unsigned int > & fastjet::PruningRecombiner::rejected ( ) const
inline

return the history indices that have been pruned away

Definition at line 263 of file Pruner.hh.

◆ clear_rejected()

void fastjet::PruningRecombiner::clear_rejected ( )
inline

clears the list of rejected indices

If one decides to use this recombiner standalone, one has to call this after each clustering in order for the rejected() vector to remain sensible and not grow to infinite size.

Definition at line 270 of file Pruner.hh.


The documentation for this class was generated from the following files: