Belle II Software development
Utility.cc
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#include <analysis/VariableManager/Utility.h>
10
11namespace Belle2 {
16 namespace Variable {
17
18 bool isCounterVariable(const std::string& variableName)
19 {
20 if (variableName == "expNum") return true;
21 else if (variableName == "runNum") return true;
22 else if (variableName == "evtNum") return true;
23 else if (variableName == "productionIdentifier") return true;
24 return false;
25 }
26 }
28}
Abstract base class for different kinds of events.