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