hej
is hosted by
Hepforge
,
IPPP Durham
HEJ
2.1.4
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
include
HEJ
HepMC2Interface.hh
Go to the documentation of this file.
1
8
#pragma once
9
10
#include <array>
11
#include <cstddef>
12
13
#include "
HEJ/PDG_codes.hh
"
14
15
namespace
HepMC
{
16
class
GenCrossSection;
17
class
GenEvent;
18
}
19
20
namespace
LHEF
{
21
class
HEPRUP;
22
}
23
24
namespace
HEJ
{
25
class
Event;
27
36
class
HepMC2Interface
{
37
public
:
38
HepMC2Interface
(LHEF::HEPRUP
const
&
/*heprup*/
);
46
HepMC::GenEvent
operator()
(
Event
const
& event,
47
int
weight_index = -1);
58
void
set_central
(HepMC::GenEvent & out_ev,
Event
const
& event,
59
int
weight_index = -1);
60
61
protected
:
67
HepMC::GenEvent
init_event
(
Event
const
& event)
const
;
68
69
private
:
70
std::array<ParticleID,2> beam_particle_{};
71
std::array<double,2> beam_energy_{};
72
std::size_t event_count_;
73
double
tot_weight_;
74
double
tot_weight2_;
75
HepMC::GenCrossSection cross_section()
const
;
76
};
77
}
// namespace HEJ
PDG_codes.hh
Contains the Particle IDs of all relevant SM particles.
HEJ::Event
An event with clustered jets.
Definition:
Event.hh:47
HEJ::HepMC2Interface
This class converts the Events into HepMC::GenEvents.
Definition:
HepMC2Interface.hh:36
HEJ::HepMC2Interface::HepMC2Interface
HepMC2Interface(LHEF::HEPRUP const &)
HEJ::HepMC2Interface::set_central
void set_central(HepMC::GenEvent &out_ev, Event const &event, int weight_index=-1)
Sets the central value from event to out_ev.
HEJ::HepMC2Interface::init_event
HepMC::GenEvent init_event(Event const &event) const
initialise generic event infomrations (not central weights)
HEJ::HepMC2Interface::operator()
HepMC::GenEvent operator()(Event const &event, int weight_index=-1)
main function to convert an event into HepMC::GenEvent
HEJ
Main HEJ 2 Namespace.
Definition:
mainpage.dox:1
HepMC
Definition:
HepMC2Interface.hh:15
LHEF
Definition:
Analysis.hh:14
Generated by
1.9.5