Belle II Software  release-05-01-25
EStereoKind.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2014 - 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/utilities/FunctorTag.h>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
20 
22  enum class EStereoKind {
24  c_Axial = 0,
25 
27  c_StereoV = -1,
28 
30  c_StereoU = 1,
31 
33  c_Invalid = -999,
34  };
35 
37  struct GetEStereoKind {
39  operator FunctorTag();
40 
42  template<class T, class SFINAE = decltype(&T::getStereoKind)>
43  EStereoKind operator()(const T& t) const
44  {
45  return t.getStereoKind();
46  }
47  };
48  }
50 }
Belle2::TrackFindingCDC::NForwardBackward::c_Invalid
@ c_Invalid
Constant for an invalid information.
Definition: EForwardBackward.h:47
Belle2::TrackFindingCDC::GetEStereoKind::operator()
EStereoKind operator()(const T &t) const
Returns the stereo kind of an object.
Definition: EStereoKind.h:51
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19