Belle II Software  release-08-01-10
BasicParticleInformation.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 namespace Belle2 {
16  class Particle;
17 
18  namespace Variable {
22  bool particleIsFromECL(const Particle* part);
23 
27  bool particleIsFromKLM(const Particle* part);
28 
32  bool particleIsFromTrack(const Particle* part);
33 
37  bool particleIsFromV0(const Particle* part);
38 
42  int particleSource(const Particle* part);
43 
47  int particleMdstArrayIndex(const Particle* part);
48 
52  int uniqueParticleIdentifier(const Particle* part);
53 
57  bool particleIsUnspecified(const Particle* part);
58 
62  double particlePvalue(const Particle* part);
63 
67  int particleNDaughters(const Particle* part);
68 
72  int particleFlavorType(const Particle* part);
73 
77  double particleCharge(const Particle* part);
78  }
80 }
Abstract base class for different kinds of events.