Belle II Software  release-05-01-25
DistanceInTime.h
1 /**************************************************************************
2 * BASF2 (Belle Analysis Framework 2) *
3 * Copyright(C) 2014 - Belle II Collaboration *
4 * *
5 * Author: The Belle II Collaboration *
6 * Contributors: Eugenio Paloni *
7 * *
8 * This software is provided "as is" without any warranty. *
9 **************************************************************************/
10 
11 #pragma once
12 
13 #include <tracking/trackFindingVXD/filterMap/filterFramework/SelectionVariable.h>
14 
15 #define DISTANCEINTIME DistanceInTime
16 
17 namespace Belle2 {
24  template <typename PointType>
25  class DISTANCEINTIME : public SelectionVariable< PointType , 3, double > {
26  public:
27 
30 
32  static double value(const PointType&, const PointType& centerHit, const PointType&)
33 
34  {
35  return
36  centerHit.TimeV() - centerHit.TimeU();
37  }
38  };
39 
41 }
Belle2::DISTANCEINTIME::value
static double value(const PointType &, const PointType &centerHit, const PointType &)
return the time difference (ns) among the V and U side clusters of th ecenter space point
Definition: DistanceInTime.h:32
Belle2::DISTANCEINTIME
This variable returns the difference among the V and U side clusters of th ecenter space point.
Definition: DistanceInTime.h:25
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::SelectionVariable
Base class of the selection variable objects used for pair filtering.
Definition: SelectionVariable.h:54
Belle2::DISTANCEINTIME::PUT_NAME_FUNCTION
PUT_NAME_FUNCTION(DISTANCEINTIME)
is expanded as "static const std:string name(void)" frunction which returns name of the Class