Belle II Software  release-05-02-19
SweepBox.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 <tracking/trackFindingCDC/hough/boxes/Box.h>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
20 
25  template<class ANewType, class ABox>
26  struct SweepBoxImpl;
27 
29  template<class ANewType, class... AOldTypes>
30  struct SweepBoxImpl<ANewType, ABox<AOldTypes...> > {
32  using Type = ABox<ANewType, AOldTypes...>;
33  };
34 
36  template<class ANewType, class ABox>
37  using SweepBox = typename SweepBoxImpl<ANewType, ABox>::Type;
38 
39  }
41 }
Belle2::TrackFindingCDC::SweepBoxImpl
Function to add a new dimension to a box It sweeps the original box over a finite range in the new di...
Definition: SweepBox.h:34
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19