Belle II Software  release-06-02-00
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/dataobjects/Particle.h>
12 #include <analysis/VariableManager/Manager.h>
13 
14 namespace Belle2 {
20  namespace Variable {
21 
25  double nDaughterPhotons(const Particle* particle);
29  double nDaughterNeutralHadrons(const Particle* particle);
33  Manager::FunctionPtr nDaughterCharged(const std::vector<std::string>& arguments);
37  double nDaughterNeutralHadrons(const Particle* particle);
41  double nCompositeDaughters(const Particle* particle);
45  Manager::FunctionPtr daughterAverageOf(const std::vector<std::string>& arguments);
46  }
48 } // Belle2 namespace
49 
std::function< double(const Particle *)> FunctionPtr
NOTE: the python interface is documented manually in analysis/doc/Variables.rst (because we use ROOT ...
Definition: Manager.h:108
Abstract base class for different kinds of events.