ATLAS Offline Software
Loading...
Searching...
No Matches
copyBeamParticles.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2/*
3 * Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration.
4 */
11
12
13#ifndef MCPARTICLETOOLS_COPYBEAMPARTICLES_H
14#define MCPARTICLETOOLS_COPYBEAMPARTICLES_H
15
16
17#include "AtlasHepMC/GenEvent.h"
18
19
20namespace TruthHelper {
21
22
23// Copy beam particle information from inEvt to outEvt (HepMC2 only).
24// Can't be done in copyemptyGenEvent because the beam particles
25// must have already been added to outEvt.
26void copyBeamParticles (const HepMC::GenEvent& inEvt,
27 HepMC::GenEvent& outEvt);
28
29
30} // namespace TruthHelper
31
32
33#endif // not MCPARTICLETOOLS_COPYBEAMPARTICLES_H
void copyBeamParticles(const HepMC::GenEvent &inEvt, HepMC::GenEvent &outEvt)