Belle II Software  release-08-01-10
ParameterVariables.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 #include <vector>
12 
13 namespace Belle2 {
18  class Particle;
19 
20  namespace Variable {
21 
25  int NumberOfMCParticlesInEvent(const Particle*, const std::vector<double>& pdg);
26 
32  double isAncestorOf(const Particle* part, const std::vector<double>& daughterIDs);
33 
40  double hasAncestor(const Particle* part, const std::vector<double>& args);
41 
45  double particleDecayAngle(const Particle* particle, const std::vector<double>& daughters);
46 
50  double daughterInvariantMass(const Particle* particle, const std::vector<double>& daughter_indexes);
51 
55  double daughterMCInvariantMass(const Particle* particle, const std::vector<double>& daughter_indexes);
56 
60  double massDifference(const Particle* particle, const std::vector<double>& daughter_index);
61 
65  double massDifferenceError(const Particle* particle, const std::vector<double>& daughter_index);
66 
71  double massDifferenceSignificance(const Particle* particle, const std::vector<double>& daughter_index);
72 
76  double pointingAngle(const Particle* particle, const std::vector<double>& daughters);
77 
81  double azimuthalAngleInDecayPlane(const Particle* particle, const std::vector<double>& daughters);
82 
83  }
85 }
Abstract base class for different kinds of events.