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

Analysis for jet rates. More...

#include <YJetRates.h>

Inheritance diagram for Analysis2::YJetRates:

List of all members.

Public Member Functions

virtual void analyze (const tPVector &particles)
 Analyze the given vector of particles.
string R (string)
 Insert options for a given n.
Standard constructors and destructors.
 YJetRates ()
 The default constructor.
virtual ~YJetRates ()
 The destructor.
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

Standard Interfaced functions.
virtual void doinit () throw (InitException)
 Initialize this object after the setup phase before saving an EventGenerator to disk.
virtual void dofinish ()
 Finalize this object.
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.

Private Member Functions

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

Private Attributes

unsigned int _nMax
 The maximum n up to which rates should be booked, starting from n=2.
vector< string > _options
 A vector of option strings, one for each n The convention is that element 0,1 are ignored, 2 gives options for R2, ...
vector< string > _yn
 Vector of the observable names.
double _sumWeights
 Sum of all weights booked into jet rates.

Static Private Attributes

static ClassDescription
< YJetRates
initYJetRates
 The static object used to initialize the description of this class.

Detailed Description

Analysis for jet rates.

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

Definition at line 26 of file YJetRates.h.


Member Function Documentation

virtual void Analysis2::YJetRates::analyze ( const tPVector particles) [virtual]

Analyze the given vector of particles.

The default version calls analyze(tPPtr) for each of the particles.

Parameters:
particlesthe vector of pointers to particles to be analyzed

Reimplemented from Analysis2::Analysis2Base.

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

Make a simple clone of this object.

Returns:
a pointer to the new object.

Reimplemented from ThePEG::AnalysisHandler.

Definition at line 111 of file YJetRates.h.

virtual void Analysis2::YJetRates::dofinish ( ) [protected, virtual]

Finalize this object.

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

Reimplemented from Analysis2::Analysis2Base.

virtual void Analysis2::YJetRates::doinit ( ) throw (InitException) [protected, virtual]

Initialize this object after the setup phase before saving an EventGenerator to disk.

Exceptions:
InitExceptionif object could not be initialized properly.

Reimplemented from ThePEG::InterfacedBase.

virtual IBPtr Analysis2::YJetRates::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::AnalysisHandler.

Definition at line 117 of file YJetRates.h.

static void Analysis2::YJetRates::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 Analysis2::Analysis2Base.

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

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

void Analysis2::YJetRates::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

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

Reimplemented from Analysis2::Analysis2Base.

Function used to write out object persistently.

Parameters:
osthe persistent output stream written to.

Reimplemented from Analysis2::Analysis2Base.


Member Data Documentation

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

Indicates that this is a concrete class with persistent data.

Definition at line 151 of file YJetRates.h.


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