Belle II Software development
VarNames.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#pragma once
9
10#include <cstddef>
11
12namespace Belle2 {
17 namespace TrackFindingCDC {
18
20 template<class AObject>
21 class VarNames {
22
23 public:
25 using Object = AObject;
26
28 static const std::size_t nVars = 0;
29
31 constexpr static char const* getName(int iName __attribute__((unused)))
32 {
33 return "";
34 }
35 };
36 }
38}
Class that specifies the names of the variables.
Definition: VarNames.h:21
static const std::size_t nVars
Number of variables to be generated.
Definition: VarNames.h:28
AObject Object
Basic type from which the variables are generated.
Definition: VarNames.h:25
static constexpr char const * getName(int iName)
Function looking up the variable name at the given index as compile time.
Definition: VarNames.h:31
Abstract base class for different kinds of events.