Belle II Software  release-05-01-25
VarNames.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <cstddef>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
20 
22  template<class AObject>
23  class VarNames {
24 
25  public:
27  using Object = AObject;
28 
30  static const std::size_t nVars = 0;
31 
33  constexpr static char const* getName(int iName __attribute__((unused)))
34  {
35  return "";
36  }
37  };
38  }
40 }
Belle2::TrackFindingCDC::VarNames::Object
AObject Object
Basic type from which the variables are generated.
Definition: VarNames.h:35
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::VarNames::getName
constexpr static char const * getName(int iName __attribute__((unused)))
Function looking up the variable name at the given index as compile time.
Definition: VarNames.h:41
Belle2::TrackFindingCDC::VarNames::nVars
static const std::size_t nVars
Number of variables to be generated.
Definition: VarNames.h:38