Herwig++
2.7.0
|
Here is the documentation of the ZPhotonsAnalysis class. More...
#include <ZPhotonsAnalysis.h>
Public Member Functions | |
ZPhotonsAnalysis () | |
Default 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 | doinitrun () |
Initialize this object. | |
virtual void | dofinish () |
Finalize this object. | |
Private Member Functions | |
ZPhotonsAnalysis & | operator= (const ZPhotonsAnalysis &) |
The assignment operator is private and must never be called. | |
Private Attributes | |
int | _iferm |
id of the fermions to look at | |
vector< HistogramPtr > | _masstotal |
histogram for the mass | |
vector< HistogramPtr > | _etotal |
histogram for the energy | |
vector< HistogramPtr > | _mphoton |
histogram for the mass | |
vector< HistogramPtr > | _ephoton |
histograms for the energies of different photons | |
HistogramPtr | _cphoton |
histograms for the cos thetas of different photons | |
HistogramPtr | _nphoton |
histogram for the photon multiplicity | |
Static Private Attributes | |
static ClassDescription < ZPhotonsAnalysis > | initZPhotonsAnalysis |
The static object used to initialize the description of this class. |
Here is the documentation of the ZPhotonsAnalysis class.
Definition at line 21 of file ZPhotonsAnalysis.h.
virtual void Herwig::ZPhotonsAnalysis::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.
event | pointer to the Event to be analyzed. |
ieve | the event number. |
loop | the number of times this event has been presented. If negative the event is now fully generated. |
state | a 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::ZPhotonsAnalysis::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 ThePEG::AnalysisHandler.
virtual void Herwig::ZPhotonsAnalysis::analyze | ( | tPPtr | particle | ) | [virtual] |
Analyze the given particle.
particle | pointer to the particle to be analyzed. |
Reimplemented from ThePEG::AnalysisHandler.
virtual IBPtr Herwig::ZPhotonsAnalysis::clone | ( | ) | const [inline, protected, virtual] |
Make a simple clone of this object.
Reimplemented from ThePEG::AnalysisHandler.
Definition at line 99 of file ZPhotonsAnalysis.h.
virtual void Herwig::ZPhotonsAnalysis::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::ZPhotonsAnalysis::doinitrun | ( | ) | [protected, virtual] |
Initialize this object.
Called in the run phase just before a run begins.
Reimplemented from ThePEG::InterfacedBase.
virtual IBPtr Herwig::ZPhotonsAnalysis::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 105 of file ZPhotonsAnalysis.h.
static void Herwig::ZPhotonsAnalysis::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.
ZPhotonsAnalysis& Herwig::ZPhotonsAnalysis::operator= | ( | const ZPhotonsAnalysis & | ) | [private] |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
void Herwig::ZPhotonsAnalysis::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 ThePEG::AnalysisHandler.
void Herwig::ZPhotonsAnalysis::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from ThePEG::AnalysisHandler.
ClassDescription<ZPhotonsAnalysis> Herwig::ZPhotonsAnalysis::initZPhotonsAnalysis [static, private] |
The static object used to initialize the description of this class.
Indicates that this is an concrete class without persistent data.
Definition at line 131 of file ZPhotonsAnalysis.h.