RivetAIDA.hh
#ifndef RIVET_RIVETAIDA_HH
#define RIVET_RIVETAIDA_HH
// Include files
#include "Rivet/Rivet.hh"
#include "Rivet/RivetAIDA.fhh"
#include "LWH/AIAnalysisFactory.h"
#include "LWH/AIHistogramFactory.h"
#include "LWH/AIHistogram1D.h"
#include "LWH/AIHistogram2D.h"
#include "LWH/AIProfile1D.h"
#include "LWH/AITreeFactory.h"
#include "LWH/AIDataPointSetFactory.h"
#include "LWH/AIDataPointSet.h"
#include "LWH/AIDataPoint.h"
#include "LWH/AIMeasurement.h"
#include "LWH/AITree.h"
#include "LWH/AIAxis.h"
namespace Rivet {
AIDA::IAnalysisFactory* createAnalysisFactory();
map<string, BinEdges> getBinEdges(string papername);
map<string, BinEdges> getBinEdges(const map<string, vector<DPSXPoint> >& xpoints);
map<string, vector<DPSXPoint> > getDPSXValsErrs(string papername);
map<string, vector<DPSXYPoint> > getDPSXYValsErrs(string papername);
string getDatafilePath(string papername);
inline double integral(AIDA::IHistogram1D* histo) {
double intg = 0.;
for ( int i = 0; i < histo->axis().bins(); ++i ) {
// Don't multiply with binWidth -- it's already included in binHeight
intg += histo->binHeight(i); // * histo->axis().binWidth(i);
}
return intg;
}
using AIDA::IHistogram1D;
using AIDA::IHistogram2D;
using AIDA::IDataPointSet;
using AIDA::IDataPoint;
using AIDA::IMeasurement;
using AIDA::ITree;
using AIDA::IAxis;
using AIDA::IProfile1D;
}
#endif
Rivet::getDPSXValsErrs
map< string, vector< DPSXPoint > > getDPSXValsErrs(string papername)
Definition: RivetAIDA.cc:113
Rivet::getDatafilePath
string getDatafilePath(string papername)
Get the file system path to the AIDA reference file for this paper.
Definition: RivetAIDA.cc:21
Rivet::getBinEdges
map< string, BinEdges > getBinEdges(string papername)
Definition: RivetAIDA.cc:188
Rivet::integral
double integral(AIDA::IHistogram1D *histo)
Return the integral over the histogram bins.
Definition: RivetAIDA.hh:42
Rivet::getDPSXYValsErrs
map< string, vector< DPSXYPoint > > getDPSXYValsErrs(string papername)
Definition: RivetAIDA.cc:30
Rivet::createAnalysisFactory
AIDA::IAnalysisFactory * createAnalysisFactory()
Get an AIDA system (LWH impl.)
Definition: RivetAIDA.cc:16