Belle II Software  release-08-01-10
InclusiveVariables.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 <analysis/VariableManager/Manager.h>
12 
13 #include <string>
14 #include <vector>
15 
16 namespace Belle2 {
21  class Particle;
22 
23  namespace Variable {
24 
28  int nDaughterPhotons(const Particle* particle);
32  int nDaughterNeutralHadrons(const Particle* particle);
36  int nDaughterCharged(const Particle* particle, const std::vector<double>& argument);
40  int nDaughterNeutralHadrons(const Particle* particle);
44  int nCompositeDaughters(const Particle* particle, const std::vector<double>& argument);
48  int nCompositeAllGenerationDaughters(const Particle* particle, const std::vector<double>& argument);
52  Manager::FunctionPtr daughterAverageOf(const std::vector<std::string>& arguments);
53  }
55 } // Belle2 namespace
56 
std::function< VarVariant(const Particle *)> FunctionPtr
functions stored take a const Particle* and return VarVariant.
Definition: Manager.h:113
Abstract base class for different kinds of events.