Belle II Software  release-05-02-19
InclusiveVariables.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Sviat Bilokin *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <analysis/dataobjects/Particle.h>
14 #include <analysis/VariableManager/Manager.h>
15 
16 namespace Belle2 {
22  namespace Variable {
23 
27  double nDaughterPhotons(const Particle* particle);
31  double nDaughterNeutralHadrons(const Particle* particle);
35  Manager::FunctionPtr nDaughterCharged(const std::vector<std::string>& arguments);
39  double nDaughterNeutralHadrons(const Particle* particle);
43  double nCompositeDaughters(const Particle* particle);
47  Manager::FunctionPtr daughterAverageOf(const std::vector<std::string>& arguments);
48  }
50 } // Belle2 namespace
51 
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::Variable::Manager::FunctionPtr
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:118