FastJet  3.1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | List of all members
fastjet::JetDefinition::DefaultRecombiner Class Reference

A class that will provide the recombination scheme facilities and/or allow a user to extend these facilities. More...

#include <fastjet/JetDefinition.hh>

Inheritance diagram for fastjet::JetDefinition::DefaultRecombiner:
Inheritance graph
[legend]
Collaboration diagram for fastjet::JetDefinition::DefaultRecombiner:
Collaboration graph
[legend]

Public Member Functions

 DefaultRecombiner (RecombinationScheme recomb_scheme=E_scheme)
 
virtual std::string description () const
 return a textual description of the recombination scheme implemented here
 
virtual void recombine (const PseudoJet &pa, const PseudoJet &pb, PseudoJet &pab) const
 recombine pa and pb and put result into pab More...
 
virtual void preprocess (PseudoJet &p) const
 routine called to preprocess each input jet (to make all input jets compatible with the scheme requirements (e.g. More...
 
RecombinationScheme scheme () const
 return the index of the recombination scheme
 
- Public Member Functions inherited from fastjet::JetDefinition::Recombiner
virtual ~Recombiner ()
 a destructor to be replaced if necessary in derived classes...
 
void plus_equal (PseudoJet &pa, const PseudoJet &pb) const
 pa += pb in the given recombination scheme. More...
 

Detailed Description

A class that will provide the recombination scheme facilities and/or allow a user to extend these facilities.

This class is derived from the (abstract) class Recombiner. It simply "sums" PseudoJets using a specified recombination scheme (E-scheme by default)

Definition at line 518 of file JetDefinition.hh.

Member Function Documentation

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

recombine pa and pb and put result into pab

keep y,phi and m from the hardest, sum pt

keep 3-momentum direction and mass from the hardest, sum modp

If the hardest particle is at rest, the sum remains at rest (the energy of the sum is therefore the mass of pa)

Implements fastjet::JetDefinition::Recombiner.

Definition at line 290 of file JetDefinition.cc.

void fastjet::JetDefinition::DefaultRecombiner::preprocess ( PseudoJet ) const
virtual

routine called to preprocess each input jet (to make all input jets compatible with the scheme requirements (e.g.

massless).

Reimplemented from fastjet::JetDefinition::Recombiner.

Definition at line 396 of file JetDefinition.cc.


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