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

The SingleParticleAnalysis class performs the analysis for single particle variables and is intended as a slave handler for the EventShapesMasterAnalysis class. More...

#include <SingleParticleAnalysis.h>

Inheritance diagram for Herwig::SingleParticleAnalysis:

List of all members.

Public Member Functions

Virtual functions required by the AnalysisHandler class.
virtual void analyze (const tPVector &particles)
 Analyze the given vector of particles.
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 doinitrun ()
 Initialize this object.
virtual void dofinish ()
 Finalize this object.

Private Member Functions

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

Private Attributes

HistogramPtr _yT
 Histogram for the rapidity distribution with respect to the thrust axis.
HistogramPtr _yS
 Histogram for the rapidity distribution with respect to the sphericity axis.
HistogramPtr _ptinT
 Histogram for the $p_{T,in}$ distribution with respect to the thrust axis.
HistogramPtr _ptoutT
 Histogram for the $p_{T,out}$ distribution with respect to the thrust axis.
HistogramPtr _ptinS
 Histogram for the $p_{S,in}$ distribution with respect to the sphericity axis.
HistogramPtr _ptoutS
 Histogram for the $p_{S,out}$ distribution with respect to the sphericity axis.
HistogramPtr _nch
 Histogram for the number of charged particles.
EventShapesPtr _shapes
 Object which calculates the event shapes.

Static Private Attributes

static ClassDescription
< SingleParticleAnalysis
initSingleParticleAnalysis
 The static object used to initialize the description of this class.

Detailed Description

The SingleParticleAnalysis class performs the analysis for single particle variables and is intended as a slave handler for the EventShapesMasterAnalysis class.

See also:
The interfaces defined for SingleParticleAnalysis.

Definition at line 33 of file SingleParticleAnalysis.h.


Member Function Documentation

virtual void Herwig::SingleParticleAnalysis::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 IBPtr Herwig::SingleParticleAnalysis::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 82 of file SingleParticleAnalysis.h.

virtual void Herwig::SingleParticleAnalysis::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 void Herwig::SingleParticleAnalysis::doinitrun ( ) [protected, virtual]

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from ThePEG::InterfacedBase.

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

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

SingleParticleAnalysis& Herwig::SingleParticleAnalysis::operator= ( const SingleParticleAnalysis ) [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 114 of file SingleParticleAnalysis.h.


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