Belle II Software  release-05-02-19
ParticleCopy.h
1 #pragma once
2 // ******************************************************************
3 // Particle copy utility
4 // authors: A. Zupanc (anze.zupanc@ijs.si), C. Pulvermacher (christian.pulvermacher@kit.edu)
5 // ******************************************************************
6 
7 
8 namespace Belle2 {
13  class Particle;
14 
20  namespace ParticleCopy {
32  Particle* copyParticle(const Particle* original);
33 
43  void copyDaughters(Particle* mother);
44 
45  }
47 }
Belle2::ParticleCopy::copyParticle
Particle * copyParticle(const Particle *original)
Function takes argument Particle and creates a copy of it and copies of all its (grand-)^n-daughters.
Definition: ParticleCopy.cc:15
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::Particle
Class to store reconstructed particles.
Definition: Particle.h:77
Belle2::ParticleCopy::copyDaughters
void copyDaughters(Particle *mother)
Function copies all (grand-)^n-daughter particles of the argument mother Particle.
Definition: ParticleCopy.cc:48