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

Here is the documentation of the BranchingRatioAnalysis class. More...

#include <BranchingRatioAnalysis.h>

Inheritance diagram for Herwig::BranchingRatioAnalysis:

List of all members.

Public Member Functions

 BranchingRatioAnalysis ()
 Constructor.
Virtual functions required by the AnalysisHandler class.
virtual void analyze (tEventPtr event, long ieve, int loop, int state)
 Analyze a given Event.
virtual void analyze (const tPVector &particles)
 Analyze the given vector of particles.
virtual void analyze (tPPtr particle)
 Analyze the given particle.
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

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 dofinish ()
 Finalize this object.

Private Member Functions

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

Private Attributes

PDPtr _particle
 The particle for whihc we are performing the analysis.
map< tDMPtr, vector< double > > _points
 The various decay modes.
vector< double > _total
 Total entry.

Static Private Attributes

static ClassDescription
< BranchingRatioAnalysis
initBranchingRatioAnalysis
 The static object used to initialize the description of this class.

Detailed Description

Here is the documentation of the BranchingRatioAnalysis class.

See also:
The interfaces defined for BranchingRatioAnalysis.

Definition at line 21 of file BranchingRatioAnalysis.h.


Member Function Documentation

virtual void Herwig::BranchingRatioAnalysis::analyze ( tEventPtr  event,
long  ieve,
int  loop,
int  state 
) [virtual]

Analyze a given Event.

Note that a fully generated event may be presented several times, if it has been manipulated in between. The default version of this function will call transform to make a lorentz transformation of the whole event, then extract all final state particles and call analyze(tPVector) of this analysis object and those of all associated analysis objects. The default version will not, however, do anything on events which have not been fully generated, or have been manipulated in any way.

Parameters:
eventpointer to the Event to be analyzed.
ievethe event number.
loopthe number of times this event has been presented. If negative the event is now fully generated.
statea number different from zero if the event has been manipulated in some way since it was last presented.

Reimplemented from ThePEG::AnalysisHandler.

virtual void Herwig::BranchingRatioAnalysis::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 ThePEG::AnalysisHandler.

virtual void Herwig::BranchingRatioAnalysis::analyze ( tPPtr  particle) [virtual]

Analyze the given particle.

Parameters:
particlepointer to the particle to be analyzed.

Reimplemented from ThePEG::AnalysisHandler.

virtual IBPtr Herwig::BranchingRatioAnalysis::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 101 of file BranchingRatioAnalysis.h.

virtual void Herwig::BranchingRatioAnalysis::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 ThePEG::InterfacedBase.

virtual IBPtr Herwig::BranchingRatioAnalysis::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 107 of file BranchingRatioAnalysis.h.

static void Herwig::BranchingRatioAnalysis::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::AnalysisHandler.

BranchingRatioAnalysis& Herwig::BranchingRatioAnalysis::operator= ( const BranchingRatioAnalysis ) [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::AnalysisHandler.

Function used to write out object persistently.

Parameters:
osthe persistent output stream written to.

Reimplemented from ThePEG::AnalysisHandler.


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 128 of file BranchingRatioAnalysis.h.


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