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.
15namespace HepMC { class GenEvent; }
16
17namespace 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
int addHepMCToGraph(HepMC::GenEvent *evt, MCParticleGraph &graph, const std::vector< int > &quarkIndices)
Add an already-loaded HepMC::GenEvent to existing MCParticleGraph.
Class to build, validate and sort a particle decay chain.
Abstract base class for different kinds of events.