/usr/include/Rivet/RivetAIDA.hh is in librivet-dev 1.8.3-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | #ifndef RIVET_RIVETAIDA_HH
#define RIVET_RIVETAIDA_HH
/// @author Andy Buckley
/// @date 2009-01-30
// 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();
/// Function to get a map of all the bin edge vectors in a paper with the
/// given @a papername.
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);
/// Get the file system path to the AIDA reference file for this paper.
string getDatafilePath(string papername);
/// Return the integral over the histogram bins
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
|