00001 #ifndef RIVET_RIVETAIDA_HH
00002 #define RIVET_RIVETAIDA_HH
00003
00004
00005
00006
00007
00008 #include "Rivet/Rivet.hh"
00009 #include "Rivet/RivetAIDA.fhh"
00010 #include "LWH/AIAnalysisFactory.h"
00011 #include "LWH/AIHistogramFactory.h"
00012 #include "LWH/AIHistogram1D.h"
00013 #include "LWH/AIProfile1D.h"
00014 #include "LWH/AITreeFactory.h"
00015 #include "LWH/AIDataPointSetFactory.h"
00016 #include "LWH/AIDataPointSet.h"
00017 #include "LWH/AIDataPoint.h"
00018 #include "LWH/AIMeasurement.h"
00019 #include "LWH/AITree.h"
00020 #include "LWH/AIAxis.h"
00021
00022 namespace Rivet {
00023
00024
00025 AIDA::IAnalysisFactory* createAnalysisFactory();
00026
00027
00028
00029 const map<string, BinEdges> getBinEdges(string papername);
00030
00031 const map<string, BinEdges>
00032 getBinEdges(const map<string, vector<DPSXPoint> >& xpoints);
00033
00034 const map<string, vector<DPSXPoint> > getDPSXValsErrs(string papername);
00035
00036 const map<string, vector<DPSXYPoint> > getDPSXYValsErrs(string papername);
00037
00038
00039 const string getDataPath(string papername);
00040
00041
00042 inline double integral(AIDA::IHistogram1D* histo) {
00043 double intg = 0.;
00044 for ( int i = 0; i < histo->axis().bins(); ++i ) {
00045
00046 intg += histo->binHeight(i);
00047 }
00048 return intg;
00049 }
00050
00051
00052 using AIDA::IHistogram1D;
00053 using AIDA::IDataPointSet;
00054 using AIDA::IDataPoint;
00055 using AIDA::IMeasurement;
00056 using AIDA::ITree;
00057 using AIDA::IAxis;
00058 using AIDA::IProfile1D;
00059
00060
00061 }
00062
00063 #endif