ATLAS Offline Software
PhysicsAnalysis
TruthParticleID
McParticleTools
src
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
*/
13
#ifndef MCPARTICLETOOLS_COPYBEAMPARTICLES_H
14
#define MCPARTICLETOOLS_COPYBEAMPARTICLES_H
15
16
17
#include "
AtlasHepMC/GenEvent.h
"
18
19
20
namespace
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.
26
void
copyBeamParticles
(
const
HepMC::GenEvent& inEvt,
27
HepMC::GenEvent& outEvt);
28
29
30
}
// namespace TruthHelper
31
32
33
#endif // not MCPARTICLETOOLS_COPYBEAMPARTICLES_H
GenEvent.h
TruthHelper::copyBeamParticles
void copyBeamParticles(const HepMC::GenEvent &inEvt[[maybe_unused]], HepMC::GenEvent &outEvt[[maybe_unused]])
Definition:
copyBeamParticles.cxx:21
TruthHelper
Definition:
Generators/FlowAfterburner/FlowAfterburner/GenAccessIO.h:19
Generated on Thu Nov 7 2024 21:12:30 for ATLAS Offline Software by
1.8.18