2#ifndef RIVET_AnalysisLoader_HH
3#define RIVET_AnalysisLoader_HH
5#include "Rivet/Config/RivetCommon.hh"
14 class AnalysisBuilderBase;
40 static unique_ptr<Analysis>
getAnalysis(
const string& analysisname);
55 static void _loadAnalysisPlugins();
57 typedef map<string, const AnalysisBuilderBase*> AnalysisBuilderMap;
58 static AnalysisBuilderMap _ptrs;
59 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)
friend class AnalysisBuilderBase
Allow the analysis builders to call the private _registerBuilder function.
Definition: AnalysisLoader.hh:49
static vector< string > stdAnalysisNames()
Get the standard analyses' names (from a release-specific list file)
static vector< string > getAllAnalysisNames()
Definition: AnalysisLoader.hh:28
static vector< unique_ptr< Analysis > > getAllAnalyses()
Get all the available analyses.
static map< string, string > analysisNameAliases()
Get the map of analysis alias-names to their canonical equivalents.
static vector< string > analysisNames()
Get the available analyses' canonical names.
static vector< string > allAnalysisNames()
Get all the available analyses' names, including aliases.
Definition: MC_Cent_pPb.hh:10