Belle II Software  release-05-01-25
ILayer.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 namespace Belle2 {
17  namespace TrackFindingCDC {
18 
20  using ILayer = signed short;
21 
23  struct GetILayer {
25  template <class T, class SFINAE = decltype(&T::getILayer)>
26  ILayer operator()(const T& t) const
27  {
28  return t.getILayer();
29  }
30  };
31  }
33 }
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::GetILayer::operator()
ILayer operator()(const T &t) const
Returns the superlayer of an object.
Definition: ILayer.h:34