hej is hosted by Hepforge, IPPP Durham
HEJ 2 2.0
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
config.hh
Go to the documentation of this file.
1
9#pragma once
10
11#include <string>
12
13#include "fastjet/JetDefinition.hh"
14#include "yaml-cpp/yaml.h"
15
16#include "HEJ/event_types.hh"
18#include "HEJ/optional.hh"
19#include "HEJ/output_formats.hh"
20#include "HEJ/ScaleFunction.hh"
21
22namespace HEJ{
23
26 fastjet::JetDefinition def;
27 double min_pt;
28 };
29
33 std::vector<ScaleFunction> base;
35 std::vector<double> factors;
37 double max_ratio;
38 };
39
41 struct RNGConfig {
43 std::string name;
46 };
47
53 enum class EventTreatment{
54 reweight,
55 keep,
56 discard,
57 };
58
60 using EventTreatMap = std::map<event_type::EventType, EventTreatment>;
61
78 struct Config {
90 int trials;
94 std::vector<OutputFile> output;
103 };
104
113 };
114
121 };
122
133 };
134
144 inline
146 return {
147 conf.resummation_jets,
148 conf.min_extparton_pt,
150 };
151 }
152
157 inline
159 return {conf.log_correction, conf.Higgs_coupling};
160 }
161
166 inline
168 return {
171 conf.resummation_jets, conf.treat
172 };
173 }
174
175} // namespace HEJ
Defines the settings for Higgs boson coupling to gluons.
Functions to calculate the (renormalisation and factorisation) scales for an event.
Define different types of events.
Main HEJ 2 Namespace.
Definition: mainpage.dox:1
PhaseSpacePointConfig to_PhaseSpacePointConfig(Config const &conf)
Definition: config.hh:145
boost::optional< T > optional
Definition: optional.hh:23
std::map< event_type::EventType, EventTreatment > EventTreatMap
Container to store the treatments for various event types.
Definition: config.hh:60
EventReweighterConfig to_EventReweighterConfig(Config const &conf)
Definition: config.hh:167
EventTreatment
Definition: config.hh:53
MatrixElementConfig to_MatrixElementConfig(Config const &conf)
Definition: config.hh:158
Defines the optional type.
Defines formats for output to event files.
Definition: config.hh:78
std::vector< OutputFile > output
Event output files names and formats.
Definition: config.hh:94
double max_ext_soft_pt_fraction
Maximum transverse momentum fraction from soft radiation in extremal jets.
Definition: config.hh:88
JetParameters fixed_order_jets
Fixed-order jet properties.
Definition: config.hh:84
ScaleConfig scales
Parameters for scale variation.
Definition: config.hh:80
EventTreatMap treat
Map to decide what to do for different event types.
Definition: config.hh:98
double min_extparton_pt
Minimum transverse momentum for extremal partons.
Definition: config.hh:86
JetParameters resummation_jets
Resummation jet properties.
Definition: config.hh:82
RNGConfig rng
Parameters for random number generation.
Definition: config.hh:96
int trials
Number of resummation configurations to generate per fixed-order event.
Definition: config.hh:90
bool log_correction
Whether to include the logarithmic correction from running.
Definition: config.hh:92
YAML::Node analysis_parameters
Parameters for custom analyses.
Definition: config.hh:100
HiggsCouplingSettings Higgs_coupling
Settings for effective Higgs-gluon coupling.
Definition: config.hh:102
Configuration options for the EventReweighter class.
Definition: config.hh:124
EventTreatMap treat
Treatment of the various event types.
Definition: config.hh:132
PhaseSpacePointConfig psp_config
Settings for phase space point generation.
Definition: config.hh:126
MatrixElementConfig ME_config
Settings for matrix element calculation.
Definition: config.hh:128
JetParameters jet_param
Properties of resummation jets.
Definition: config.hh:130
Settings for Higgs boson coupling to gluons.
Definition: HiggsCouplingSettings.hh:14
Jet parameters.
Definition: config.hh:25
double min_pt
Definition: config.hh:27
fastjet::JetDefinition def
Definition: config.hh:26
Configuration options for the MatrixElement class.
Definition: config.hh:116
HiggsCouplingSettings Higgs_coupling
Settings for effective Higgs-gluon coupling.
Definition: config.hh:120
bool log_correction
Whether to include the logarithmic correction from running.
Definition: config.hh:118
Configuration options for the PhaseSpacePoint class.
Definition: config.hh:106
double min_extparton_pt
Minimum transverse momentum for extremal partons.
Definition: config.hh:110
JetParameters jet_param
Properties of resummation jets.
Definition: config.hh:108
double max_ext_soft_pt_fraction
Maximum transverse momentum fraction from soft radiation in extremal jets.
Definition: config.hh:112
Settings for random number generator.
Definition: config.hh:41
std::string name
Random number generator name.
Definition: config.hh:43
optional< std::string > seed
Optional initial seed.
Definition: config.hh:45
Settings for scale variation.
Definition: config.hh:31
double max_ratio
Maximum ratio between renormalisation and factorisation scale.
Definition: config.hh:37
std::vector< ScaleFunction > base
Base scale choices.
Definition: config.hh:33
std::vector< double > factors
Factors for multiplicative scale variation.
Definition: config.hh:35