Herwig++
2.7.0
|
Analysis for jet rates. More...
#include <YJetRates.h>
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 | |
YJetRates & | operator= (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. |
Analysis for jet rates.
Definition at line 26 of file YJetRates.h.
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.
particles | the 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.
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.
InitException | if 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.
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.
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.
is | the persistent input stream read from. |
version | the version number of the object when written. |
Reimplemented from Analysis2::Analysis2Base.
void Analysis2::YJetRates::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from Analysis2::Analysis2Base.
ClassDescription<YJetRates> Analysis2::YJetRates::initYJetRates [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 151 of file YJetRates.h.