#include <ReweightBase.h>
Public Member Functions | |
virtual double | weight () const =0 |
Return the wieght for the kinematical configuation provided by the assigned XComb object (in the LastXCombInfo base class). | |
void | setXComb (tXCombPtr xc) |
Assigne an XComb object with information about the sub-process to be used in the reweighting. | |
Standard constructors and destructors. | |
virtual | ~ReweightBase () |
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 () |
Standard Init function used to initialize the interfaces. | |
Private Member Functions | |
ReweightBase & | operator= (const ReweightBase &) |
Private and non-existent assignment operator. | |
Static Private Attributes | |
static AbstractClassDescription < ReweightBase > | initReweightBase |
Describe an abstract base class with persistent data. |
These can be used to enhance certain matrix elements or certain phase space regions. They can be used in to ways, either to completely change the matrix element (re-weight), in which case the total cross section will be affected or, when using weighted events in an EventHandler, to pre-weight certain events but leaving the cross section unchanged
There is only one virtual function which must be overridden in derived classes: weight().
Definition at line 39 of file ReweightBase.h.
void ThePEG::ReweightBase::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from ThePEG::Interfaced.
Reimplemented in ThePEG::ReweightConstant, and ThePEG::ReweightMinPT.
void ThePEG::ReweightBase::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::Interfaced.
Reimplemented in ThePEG::ReweightConstant, and ThePEG::ReweightMinPT.