2 #ifndef THEPEG_XSecCheck_H 3 #define THEPEG_XSecCheck_H 8 #include "ThePEG/Handlers/AnalysisHandler.h" 170 #include "ThePEG/Utilities/ClassTraits.h" 190 static string className() {
return "ThePEG::XSecCheck"; }
198 static string library() {
return "XSecCheck.so"; }
double sumw
The sum of the weights of the events analyzed.
PersistentIStream is used to read persistent objects from a stream where they were previously written...
virtual void doinitrun()
Initialize this object.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
const Exception & operator=(const Exception &ex)
Assignment.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
XSecCheck()
The default constructor.
This is the main namespace within which all identifiers in ThePEG are declared.
The AnalysisHandler is the base class of all analysis objects which may be handled by the FullEventGe...
static ClassDescription< XSecCheck > initXSecCheck
The static object used to initialize the description of this class.
virtual ~XSecCheck()
The destructor.
virtual void doinitrun()
Initialize this object.
double tol
The relative tolerance accepted when comparing the total cross section with the target.
CrossSection target
The expected total cross section.
RCPtr is a reference counted (smart) pointer.
const ZeroUnit ZERO
ZERO can be used as zero for any unitful quantity.
virtual void analyze(tEventPtr event, long ieve, int loop, int state)
Analyze a given Event.
Exception is the base class for all exceptions to be used in ThePEG.
virtual IBPtr clone() const
Make a simple clone of this object.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
InitState state() const
Return the state of initialization of this object.
The default concrete implementation of ClassTraitsBase.
virtual void dofinish()
Finalize this object.
This template class allows the compiler to check calculations with physical quantities for dimensiona...
The XSecCheck class is a simple analysis class used for testing purposes.
BaseClassTraits describes the base classes of the templated class.
static void Init()
The standard Init function used to initialize the interfaces.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
The exception class used if the target cross section was not met.