rivet is hosted by Hepforge, IPPP Durham
Rivet 3.1.6
Analysis macros

Macros

#define RIVET_DECLARE_PLUGIN(clsname)   ::Rivet::AnalysisBuilder<clsname> plugin_ ## clsname
 
#define RIVET_DECLARE_ALIASED_PLUGIN(clsname, alias)   RIVET_DECLARE_PLUGIN(clsname)( #alias )
 
#define RIVET_DEFAULT_ANALYSIS_CTOR(clsname)   clsname() : Analysis(# clsname) {}
 
#define DECLARE_RIVET_PLUGIN(clsname)   ::Rivet::AnalysisBuilder<clsname> plugin_ ## clsname
 
#define DECLARE_ALIASED_RIVET_PLUGIN(clsname, alias)   DECLARE_RIVET_PLUGIN(clsname)( #alias )
 
#define DEFAULT_RIVET_ANALYSIS_CONSTRUCTOR(clsname)   clsname() : Analysis(# clsname) {}
 
#define DEFAULT_RIVET_ANALYSIS_CTOR(clsname)   DEFAULT_RIVET_ANALYSIS_CONSTRUCTOR(clsname)
 

Detailed Description

Macro Definition Documentation

◆ DECLARE_ALIASED_RIVET_PLUGIN

#define DECLARE_ALIASED_RIVET_PLUGIN (   clsname,
  alias 
)    DECLARE_RIVET_PLUGIN(clsname)( #alias )

Preprocessor define to prettify the global-object plugin hook mechanism, with an extra alias name for this analysis

Deprecated:
Prefer the RIVET_DECLARE_ALIASED_PLUGIN version with predictable RIVET_ prefix

◆ DECLARE_RIVET_PLUGIN

#define DECLARE_RIVET_PLUGIN (   clsname)    ::Rivet::AnalysisBuilder<clsname> plugin_ ## clsname

Preprocessor define to prettify the global-object plugin hook mechanism

Deprecated:
Prefer the RIVET_DECLARE_PLUGIN version with predictable RIVET_ prefix

◆ DEFAULT_RIVET_ANALYSIS_CONSTRUCTOR

#define DEFAULT_RIVET_ANALYSIS_CONSTRUCTOR (   clsname)    clsname() : Analysis(# clsname) {}

Preprocessor define to prettify the awkward constructor with name string argument

Deprecated:
Prefer the "CTOR" version

◆ DEFAULT_RIVET_ANALYSIS_CTOR

#define DEFAULT_RIVET_ANALYSIS_CTOR (   clsname)    DEFAULT_RIVET_ANALYSIS_CONSTRUCTOR(clsname)

Preprocessor define to prettify the awkward constructor with name string argument

Deprecated:
Prefer the RIVET_DEFAULT_ANALYSIS_CTOR version with predictable RIVET_ prefix

◆ RIVET_DECLARE_ALIASED_PLUGIN

#define RIVET_DECLARE_ALIASED_PLUGIN (   clsname,
  alias 
)    RIVET_DECLARE_PLUGIN(clsname)( #alias )

Preprocessor define to prettify the global-object plugin hook mechanism, with an extra alias name for this analysis

◆ RIVET_DECLARE_PLUGIN

#define RIVET_DECLARE_PLUGIN (   clsname)    ::Rivet::AnalysisBuilder<clsname> plugin_ ## clsname

Preprocessor define to prettify the global-object plugin hook mechanism

◆ RIVET_DEFAULT_ANALYSIS_CTOR

#define RIVET_DEFAULT_ANALYSIS_CTOR (   clsname)    clsname() : Analysis(# clsname) {}

Preprocessor define to prettify the awkward constructor with name string argument