StdAnalyses.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 #include "Rivet/Analysis.hh"
00003 #include "Rivet/AnalysisLoader.hh"
00004 
00005 // Concrete analyses
00006 #include "Rivet/Analyses/TestAnalysis.hh"
00007 //#include "Rivet/Analyses/EurPhys40C287.hh"
00008 #include "Rivet/Analyses/ExampleTree.hh"
00009 #include "Rivet/Analyses/HepEx0112029.hh"
00010 #include "Rivet/Analyses/HepEx0409040.hh"
00011 #include "Rivet/Analyses/HepEx0505013.hh"
00012 #include "Rivet/Analyses/HepEx9506012.hh"
00013 #include "Rivet/Analyses/PL273B181.hh"
00014 #include "Rivet/Analyses/PRD65092002.hh"
00015 #include "Rivet/Analyses/ZPhys73C11.hh"
00016 
00017 
00018 extern "C" {
00019 
00020   /// Get a map of factory functions for making analyses, keyed 
00021   /// by upper-case versions of the analyses' names. (Upper-case 
00022   /// keys are used since they can be uniquely obtained from any 
00023   /// mixed-case key, which allows a bit of UI flexibility.)
00024   AnalysisBuilders getAnalysisBuilders() {
00025     AnalysisBuilders fns;
00026     fns["TEST"] = Rivet::TestAnalysis::create;
00027     //fns["EURPHYS40C287"] = Rivet::EurPhys40C287::create;
00028     fns["EXAMPLETREE"] = Rivet::ExampleTree::create;
00029     fns["HEPEX0112029"] = Rivet::HepEx0112029::create;
00030     fns["HEPEX0409040"] = Rivet::HepEx0409040::create;
00031     fns["HEPEX0505013"] = Rivet::HepEx0505013::create;
00032     fns["HEPEX9506012"] = Rivet::HepEx9506012::create;
00033     fns["PL273B181"] = Rivet::PL273B181::create;
00034     fns["PRD65092002"] = Rivet::PRD65092002::create;
00035     fns["ZPHYS73C11"] = Rivet::ZPhys73C11::create;
00036     return fns;
00037   }
00038 
00039 }