2 #ifndef THEPEG_RivetAnalysis_H
3 #define THEPEG_RivetAnalysis_H
8 #include "ThePEG/Handlers/AnalysisHandler.h"
9 #include "Rivet/AnalysisHandler.hh"
161 #include "ThePEG/Utilities/ClassTraits.h"
170 struct BaseClassTrait<RivetAnalysis,1> {
172 typedef AnalysisHandler
NthBase;
178 struct ClassTraits<RivetAnalysis>
179 :
public ClassTraitsBase<RivetAnalysis> {
181 static string className() {
return "ThePEG::RivetAnalysis"; }
189 static string library() {
return "RivetAnalysis.so"; }
unsigned long _nevent
Event count.
PersistentIStream is used to read persistent objects from a stream where they were previously written...
bool debug
Enable debugging information from Rivet.
virtual ThePEG::IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
void persistentInput(ThePEG::PersistentIStream &is, int version)
Function used to read in object persistently.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
void persistentOutput(ThePEG::PersistentOStream &os) const
Function used to write out object persistently.
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
Here is the documentation of the RivetAnalysis class.
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...
RivetAnalysis()
The default constructor.
Rivet::AnalysisHandler * _rivet
The RivetAnalysisHandler.
static ThePEG::ClassDescription< RivetAnalysis > initRivetAnalysis
The static object used to initialize the description of this class.
static string library()
The name of a file containing the dynamic library where the class T is implemented.
vector< string > _analyses
The Analyses to use.
virtual ThePEG::IBPtr clone() const
Make a simple clone of this object.
static void Init()
The standard Init function used to initialize the interfaces.
virtual void doinitrun()
Initialize this object.
RCPtr is a reference counted (smart) pointer.
string filename
The base name of the output file.
RivetAnalysis & operator=(const RivetAnalysis &)
The assignment operator is private and must never be called.
virtual void doinit()
Initialize this object.
InitState state() const
Return the state of initialization of this object.
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).
virtual void dofinish()
Finalize this object.
virtual void analyze(ThePEG::tEventPtr event, long ieve, int loop, int state)
Analyze a given Event.