Belle II Software
development
HerwigFragHelper.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
9
#pragma once
10
11
#include <mdst/dataobjects/MCParticleGraph.h>
12
#include <vector>
13
14
// Forward declaration - keeps <HepMC/GenEvent.h> out of this header; full include in HerwigFragHelper.cc.
15
namespace
HepMC {
class
GenEvent; }
16
17
namespace
Belle2
{
22
28
class
HerwigFragHelper {
29
public
:
30
HerwigFragHelper();
31
~HerwigFragHelper();
32
40
int
addHepMCToGraph
(HepMC::GenEvent* evt,
41
MCParticleGraph
& graph,
42
const
std::vector<int>& quarkIndices);
43
44
};
45
47
}
// namespace Belle2
Belle2::HerwigFragHelper::addHepMCToGraph
int addHepMCToGraph(HepMC::GenEvent *evt, MCParticleGraph &graph, const std::vector< int > &quarkIndices)
Add an already-loaded HepMC::GenEvent to existing MCParticleGraph.
Definition
HerwigFragHelper.cc:27
Belle2::MCParticleGraph
Class to build, validate and sort a particle decay chain.
Definition
MCParticleGraph.h:37
Belle2
Abstract base class for different kinds of events.
Definition
MillepedeAlgorithm.h:17
generators
modules
herwigfragmentation
include
HerwigFragHelper.h
Generated on Mon Jul 13 2026 03:01:46 for Belle II Software by
1.13.2