hej is hosted by Hepforge, IPPP Durham
HEJ  2.2.3
High energy resummation for hadron colliders
get_analysis.hh
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include <memory>
11 #include <vector>
12 
13 #include "HEJ/Analysis.hh"
14 
15 namespace YAML {
16  class Node;
17 }
18 
19 namespace HEJ {
21 
32 #ifndef HEJ_ALLOW_GET_ANALYSIS
33  [[deprecated(
34  "Instead of a pointer to an EmptyAnalysis,"
35  "this function will return a null pointer from HEJ 2.3 on. "
36  "Compile with -DHEJ_ALLOW_GET_ANALYSIS to disable this warning."
37  )]]
38 #endif
39  std::unique_ptr<Analysis> get_analysis(
40  YAML::Node const & parameters, LHEF::HEPRUP const & heprup);
41 
43 
48  std::vector<std::unique_ptr<Analysis>> get_analyses(
49  std::vector<YAML::Node> const & parameters, LHEF::HEPRUP const & heprup);
50 } // namespace HEJ
Header file for the Analysis interface.
Main HEJ 2 Namespace.
Definition: mainpage.dox:1
std::vector< std::unique_ptr< Analysis > > get_analyses(std::vector< YAML::Node > const &parameters, LHEF::HEPRUP const &heprup)
Loads multiple analysis, vector version of get_analysis()
std::unique_ptr< Analysis > get_analysis(YAML::Node const &parameters, LHEF::HEPRUP const &heprup)
Load an analysis.
Definition: EmptyAnalysis.hh:15