rivet is hosted by Hepforge, IPPP Durham
Rivet 4.0.0
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 RIVET_REGISTER_TYPE(...)   handler().registerType<__VA_ARGS__>()
 
#define RIVET_REGISTER_BINNED_SET(...)
 

Detailed Description

Macro Definition Documentation

◆ 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

◆ RIVET_REGISTER_BINNED_SET

#define RIVET_REGISTER_BINNED_SET (   ...)
Value:
{ \
RIVET_REGISTER_TYPE(YODA::BinnedHisto<__VA_ARGS__>); \
RIVET_REGISTER_TYPE(YODA::BinnedProfile<__VA_ARGS__>); \
RIVET_REGISTER_TYPE(YODA::BinnedEstimate<__VA_ARGS__>); }

Preprocessor define to prettify on-the-fly type registration

◆ RIVET_REGISTER_TYPE

#define RIVET_REGISTER_TYPE (   ...)    handler().registerType<__VA_ARGS__>()

Preprocessor define to prettify on-the-fly type registration