herwig is hosted by Hepforge, IPPP Durham
Herwig++  2.7.0
Analysis2::FastJetFinder Class Reference

A jet finder using the FastJetFinder library. More...

#include <FastJetFinder.h>

Inheritance diagram for Analysis2::FastJetFinder:

List of all members.

Public Member Functions

virtual void use (const vector< Lorentz5Momentum > &, bool)
 Set the event to be analysed.
Standard constructors and destructors.
 FastJetFinder ()
 The default constructor.
 FastJetFinder (const FastJetFinder &)
 The copy constructor.
virtual ~FastJetFinder ()
 The destructor.
Jet finding
virtual void findJets ()
 Do inclusive jet finding.
virtual void findJetsN (unsigned int nJets)
 Do exclusive jet-finding for nJets jets.
virtual void findJetsD ()
 Do jet-finding up to the resolution scale.
virtual void findJetsY (double y=-1.)
 Do exclusive jet-finding up to dimensionless resolution.
virtual Energy getDMerge (unsigned int nJets) const
 Resolution scale where n+1 jets merged to n.
virtual double getYMerge (unsigned int nJets) const
 Dimensionless scale where n+1 jets merged to n.
FastJet options
int jetFinder () const
 Get the jet finder.
int recombinationScheme () const
 Get the recombination scheme.
int strategy () const
 Get the startegy.
const fastjet::JetDefinition & jetDefintion () const
 Get the jet definition.
Functions used by the persistent I/O system.
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently.
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently.

Static Public Member Functions

static void Init ()
 The standard Init function used to initialize the interfaces.

Protected Member Functions

void convert ()
 Convert event to FastJet pseudojet vector.
void convert (const vector< fastjet::PseudoJet > &)
 Convert pseudojet vector to vector of Lorentz5Momenta.
void cluster ()
 Perform clustering.
const vector
< fastjet::PseudoJet > & 
lastPseudojets () const
 Return the vector of pseudojets from given event.
const fastjet::ClusterSequence & lastClusterSequence () const
 Return the last cluster sequence obtained.
Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object.
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane.
Standard Interfaced functions.
virtual void doinitrun ()
 Initialize this object.
virtual void dofinish ()
 Finalize this object.

Private Member Functions

FastJetFinderoperator= (const FastJetFinder &)
 The assignment operator is private and must never be called.

Private Attributes

int _jetFinder
 The jet finder.
int _strategy
 The strategy used for jet finding.
int _recombinationScheme
 The recombination scheme.
vector< fastjet::PseudoJet > _lastPseudojets
 The last pseudojet vector.
std::auto_ptr
< fastjet::ClusterSequence > 
_lastClusterSequence
 The last obtained cluster sequence.
fastjet::JetDefinition _jetDefinition
 The fastjet::JetDefinition to be used.
Energy2 _E2vis
 The visible energy squared as obtained by squaring the sum of final state momenta.

Static Private Attributes

static ClassDescription
< FastJetFinder
initFastJetFinder
 The static object used to initialize the description of this class.

Detailed Description

A jet finder using the FastJetFinder library.

See the FastJet homepage for details.

Author:
Simon Plaetzer
See also:
The interfaces defined for FastJetFinder.

Definition at line 35 of file FastJetFinder.h.


Member Function Documentation

virtual IBPtr Analysis2::FastJetFinder::clone ( ) const [inline, protected, virtual]

Make a simple clone of this object.

Returns:
a pointer to the new object.

Implements ThePEG::InterfacedBase.

virtual void Analysis2::FastJetFinder::dofinish ( ) [inline, protected, virtual]

Finalize this object.

Called in the run phase just after a run has ended. Used eg. to write out statistics.

Reimplemented from ThePEG::InterfacedBase.

virtual void Analysis2::FastJetFinder::doinitrun ( ) [inline, protected, virtual]

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from ThePEG::InterfacedBase.

virtual IBPtr Analysis2::FastJetFinder::fullclone ( ) const [inline, protected, virtual]

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns:
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.

static void Analysis2::FastJetFinder::Init ( ) [static]

The standard Init function used to initialize the interfaces.

Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.

Reimplemented from ThePEG::JetFinder.

FastJetFinder& Analysis2::FastJetFinder::operator= ( const FastJetFinder ) [private]

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

Function used to read in object persistently.

Parameters:
isthe persistent input stream read from.
versionthe version number of the object when written.

Reimplemented from ThePEG::JetFinder.

Function used to write out object persistently.

Parameters:
osthe persistent output stream written to.

Reimplemented from ThePEG::JetFinder.


Member Data Documentation

ClassDescription<FastJetFinder> Analysis2::FastJetFinder::initFastJetFinder [static, private]

The static object used to initialize the description of this class.

Indicates that this is a concrete class with persistent data.

Definition at line 263 of file FastJetFinder.h.


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