Belle II Software  release-05-01-25
Product.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 <type_traits>
13 #include <cstddef>
14 
15 namespace Belle2 {
20  namespace TrackFindingCDC {
22  template<std::size_t... factors>
23  struct Product;
24 
27  template<std::size_t factor, std::size_t... factors>
28  struct Product<factor, factors...> :
29  std::integral_constant<std::size_t, factor* Product<factors...>::value > {};
30 
33  template<>
34  struct Product<> :
35  std::integral_constant<std::size_t, 1> {};
36 
37  }
39 }
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19