2#ifndef RIVET_AnalysisLoader_HH
3#define RIVET_AnalysisLoader_HH
5#include "Rivet/Config/RivetCommon.hh"
14 class AnalysisBuilderBase;
47 static unique_ptr<Analysis>
getAnalysis(
const string& analysisname);
100 static vector<string> _pluginpaths;
102 typedef map<string, const AnalysisBuilderBase*> AnalysisBuilderMap;
104 static AnalysisBuilderMap _ptrs;
106 static AnalysisBuilderMap _aliasptrs;
Internal class which loads and registers analyses from plugin libs.
Definition AnalysisLoader.hh:19
static unique_ptr< Analysis > getAnalysis(const string &analysisname)
Get an analysis by name.
static vector< string > searchAnalysisPlugins()
Explicitly trigger the search for the available analyses plugin libraries (caches)
friend class AnalysisBuilderBase
Allow the analysis builders to call the private _registerBuilder function.
Definition AnalysisLoader.hh:94
static vector< string > stdAnalysisNames()
Get the standard analyses' names (from a release-specific list file)
static vector< unique_ptr< Analysis > > getAllAnalyses()
Get all the available analyses.
static vector< string > analysisPlugins()
Return the active set of analysis plugin paths.
static map< string, string > analysisNameAliases()
Get the map of analysis alias-names to their canonical equivalents.
static void setAnalysisPlugins(const vector< string > pluginpaths)
Set a fixed list of analysis plugin libraries, bypassing the search.
static vector< string > analysisNames()
Get the available analyses' canonical names.
static void loadFromAnalysisPlugins()
Load the available analyses from the active plugin libraries (caches)
static vector< string > allAnalysisNames()
Get all the available analyses' names, including aliases.
Definition MC_CENT_PPB_Projections.hh:10