RivetYODA.hh
Go to the documentation of this file.
00001 #ifndef RIVET_RIVETYODA_HH 00002 #define RIVET_RIVETYODA_HH 00003 00004 /// @author Andy Buckley 00005 /// @date 2009-01-30 00006 /// @author David Grellscheid 00007 /// @date 2011-07-18 00008 00009 // Include files 00010 #include "Rivet/Rivet.hh" 00011 #include "Rivet/RivetYODA.fhh" 00012 #include "YODA/AnalysisObject.h" 00013 #include "YODA/WriterYODA.h" 00014 #include "YODA/Histo1D.h" 00015 #include "YODA/Profile1D.h" 00016 #include "YODA/Scatter2D.h" 00017 #include "YODA/Point2D.h" 00018 #include "YODA/ReaderAIDA.h" 00019 00020 namespace Rivet { 00021 00022 using YODA::WriterYODA; 00023 using YODA::ReaderAIDA; 00024 00025 typedef YODA::Histo1D Histo1D; 00026 typedef YODA::Profile1D Profile1D; 00027 typedef YODA::Scatter2D Scatter2D; 00028 typedef YODA::Point2D Point2D; 00029 00030 /// Function to get a map of all the refdata in a paper with the 00031 /// given @a papername. 00032 RefDataMap getRefData(const string& papername); 00033 00034 /// Get the file system path to the AIDA reference file for this paper. 00035 string getDatafilePath(const string& papername); 00036 00037 /// Return the integral over the histogram bins 00038 inline double integral(Histo1DPtr histo) { 00039 return histo->integral(); 00040 } 00041 00042 } 00043 00044 #endif Generated on Fri Dec 21 2012 15:03:42 for The Rivet MC analysis system by ![]() |