Belle II Software  release-05-01-25
DistanceInTimeUside.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_U_NAME DistanceInTimeUside
16 
17 namespace Belle2 {
24  template <typename PointType>
25  class DISTANCEINTIME_U_NAME : public SelectionVariable< PointType , 2, double > {
26  public:
27 
30 
32  static double value(const PointType& outerHit, const PointType& innerHit)
33  {
34  return
35  outerHit.TimeU() - innerHit.TimeU();
36  }
37  };
38 
40 }
Belle2::DISTANCEINTIME_U_NAME::value
static double value(const PointType &outerHit, const PointType &innerHit)
return the time difference (ns) among the U side clusters of the two space points
Definition: DistanceInTimeUside.h:32
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::DISTANCEINTIME_U_NAME
This variable returns the time difference among the U side clusters of the two space points.
Definition: DistanceInTimeUside.h:25
Belle2::SelectionVariable
Base class of the selection variable objects used for pair filtering.
Definition: SelectionVariable.h:54
Belle2::DISTANCEINTIME_U_NAME::PUT_NAME_FUNCTION
PUT_NAME_FUNCTION(DISTANCEINTIME_U_NAME)
is expanded as "static const std:string name(void)" frunction which returns name of the Class