Belle II Software  release-05-02-19
BasicParticleInformation.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Variables to return straightforward data about the particle (like the *
6  * number of daughters or particle type or source mdst object) *
7  * *
8  * Author: The Belle II Collaboration *
9  * Contributors: Sam Cunliffe *
10  * *
11  * This software is provided "as is" without any warranty. *
12  **************************************************************************/
13 
14 #pragma once
15 
16 #include <vector>
17 
18 namespace Belle2 {
23  class Particle;
24 
25  namespace Variable {
29  double particleIsFromECL(const Particle* part);
30 
34  double particleIsFromKLM(const Particle* part);
35 
39  double particleIsFromTrack(const Particle* part);
40 
44  double particleIsFromV0(const Particle* part);
45 
49  double particleSource(const Particle* part);
50 
54  double particleMdstArrayIndex(const Particle* part);
55 
59  double uniqueParticleIdentifier(const Particle* part);
60 
64  double particleIsUnspecified(const Particle* part);
65 
69  double particlePvalue(const Particle* part);
70 
74  double particleNDaughters(const Particle* part);
75 
79  double particleFlavorType(const Particle* part);
80 
84  double particleCharge(const Particle* part);
85  }
87 }
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19