Belle II Software  release-08-01-10
SweepBox.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 <tracking/trackFindingCDC/hough/boxes/Box.h>
11 
12 namespace Belle2 {
17  namespace TrackFindingCDC {
18 
23  template<class ANewType, class ABox>
24  struct SweepBoxImpl;
25 
27  template<class ANewType, class... AOldTypes>
28  struct SweepBoxImpl<ANewType, ABox<AOldTypes...> > {
30  using Type = ABox<ANewType, AOldTypes...>;
31  };
32 
34  template<class ANewType, class ABox>
35  using SweepBox = typename SweepBoxImpl<ANewType, ABox>::Type;
36 
37  }
39 }
Abstract base class for different kinds of events.
ABox< ANewType, AOldTypes... > Type
The type of the underlaying box.
Definition: SweepBox.h:30
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:24