9 #ifndef THEPEG_LWHFactory_H
10 #define THEPEG_LWHFactory_H
15 #include "ThePEG/Analysis/FactoryBase.h"
160 #include "ThePEG/Utilities/ClassTraits.h"
169 struct BaseClassTrait<LWHFactory,1> {
177 struct ClassTraits<LWHFactory>
178 :
public ClassTraitsBase<LWHFactory> {
180 static string className() {
return "ThePEG::LWHFactory"; }
185 static string library() {
return "LWHFactory.so"; }
Ptr< T >::pointer new_ptr()
Simple interface to the PtrTraits
::create()
PersistentIStream is used to read persistent objects from a stream where they were previously written...
virtual IBPtr clone() const
Make a simple clone of this object.
static void Init()
The standard Init function used to initialize the interfaces.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
virtual void normalizeToUnity(tH1DPtr histogram) const
Rescale the given histogram so that the integral over the bins gives one.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
AIDA::IHistogram2D * tH2DPtr
Convenient typedef for pointer to AIDA::IHistogram2D.
Here is the documentation of the LWHFactory class.
Here is the documentation of the FactoryBase class.
This is the main namespace within which all identifiers in ThePEG are declared.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual void normalizeToXSecFraction(tH1DPtr histogram) const
Rescale the given histogram so that the integral over the bins gives the fraction of the total cross ...
static string library()
The name of a file containing the dynamic library where the class T is implemented.
RCPtr is a reference counted (smart) pointer.
virtual void doinitrun()
Initialize this object.
AIDA::IHistogram1D * tH1DPtr
Convenient typedef for pointer to AIDA::IHistogram1D.
static ClassDescription< LWHFactory > initLWHFactory
The static object used to initialize the description of this class.
static string className()
Return the name of class T.
This template class allows the compiler to check calculations with physical quantities for dimensiona...
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
virtual void normalizeToXSec(tH1DPtr histogram, CrossSection unit=picobarn) const
Rescale the given histogram so that the integral over the bins will give the correct integrated cross...
LWHFactory & operator=(const LWHFactory &)
The assignment operator is private and must never be called.