Belle II Software  release-05-01-25
Utility.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2018 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Sam Cunliffe *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #include <analysis/VariableManager/Utility.h>
12 
13 namespace Belle2 {
18  namespace Variable {
19 
20  bool isCounterVariable(const std::string& variableName)
21  {
22  if (variableName == "expNum") return true;
23  else if (variableName == "runNum") return true;
24  else if (variableName == "evtNum") return true;
25  return false;
26  }
27  }
29 }
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19