9 #ifndef THEPEG_ReweightConstant_H
10 #define THEPEG_ReweightConstant_H
15 #include "ThePEG/MatrixElement/ReweightBase.h"
44 virtual double weight()
const;
114 #include "ThePEG/Utilities/ClassTraits.h"
123 struct BaseClassTrait<ReweightConstant,1> {
131 struct ClassTraits<ReweightConstant>
132 :
public ClassTraitsBase<ReweightConstant> {
134 static string className() {
return "ThePEG::ReweightConstant"; }
138 static string library() {
return "ReweightConstant.so"; }
virtual IBPtr clone() const
Make a simple clone of this object.
PersistentIStream is used to read persistent objects from a stream where they were previously written...
double C
The constant to reweight with.
ReweightConstant()
The default constructor.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
static void Init()
The standard Init function used to initialize the interfaces.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
static ClassDescription< ReweightConstant > initReweightConstant
The static object used to initialize the description of this class.
This is the main namespace within which all identifiers in ThePEG are declared.
static string library()
The name of a file containing the dynamic library where the class T is implemented.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
RCPtr is a reference counted (smart) pointer.
The ReweightConstant class is a simple ReweightBase sub-class which simply reweight an event with a c...
virtual double weight() const
Return the wieght for the kinematical configuation provided by the assigned XComb object (in the Last...
ReweightConstant & operator=(const ReweightConstant &)
The assignment operator is private and must never be called.
static string className()
Return the name of class T.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
The ReweightBase class is the base class of all objects representing external biases to matrix elemen...