ThePEG::ReweightConstant Class Reference

The ReweightConstant class is a simple ReweightBase sub-class which simply reweight an event with a constant. More...

#include <ReweightConstant.h>

Inheritance diagram for ThePEG::ReweightConstant:

ThePEG::ReweightBase ThePEG::HandlerBase ThePEG::LastXCombInfo< XC > ThePEG::HandlerBaseT< T > ThePEG::Interfaced ThePEG::InterfacedBase ThePEG::Base ThePEG::Named ThePEG::Pointer::ReferenceCounted

List of all members.

Public Member Functions

virtual double weight () const
 Return the wieght for the kinematical configuation provided by the assigned XComb object (in the LastXCombInfo base class).
Standard constructors and destructors.
 ReweightConstant ()
 The default constructor.
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.

Private Member Functions

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

Private Attributes

double C
 The constant to reweight with.

Static Private Attributes

static ClassDescription
< ReweightConstant
initReweightConstant
 The static object used to initialize the description of this class.


Detailed Description

The ReweightConstant class is a simple ReweightBase sub-class which simply reweight an event with a constant.

See also:
The interfaces defined for ReweightConstant.

Definition at line 26 of file ReweightConstant.h.


Member Function Documentation

void ThePEG::ReweightConstant::persistentOutput ( PersistentOStream os  )  const

Function used to write out object persistently.

Parameters:
os the persistent output stream written to.

Reimplemented from ThePEG::ReweightBase.

void ThePEG::ReweightConstant::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

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

Reimplemented from ThePEG::ReweightBase.

static void ThePEG::ReweightConstant::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::ReweightBase.

virtual IBPtr ThePEG::ReweightConstant::clone (  )  const [protected, virtual]

Make a simple clone of this object.

Returns:
a pointer to the new object.

Implements ThePEG::InterfacedBase.

virtual IBPtr ThePEG::ReweightConstant::fullclone (  )  const [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::InterfacedBase.

ReweightConstant& ThePEG::ReweightConstant::operator= ( const ReweightConstant  )  [private]

The assignment operator is private and must never be called.

In fact, it should not even be implemented.


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 102 of file ReweightConstant.h.


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

Generated on Thu Apr 29 12:43:12 2010 for ThePEG by  doxygen 1.5.5