Belle II Software
release-05-01-25
Distance1DZSquared.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2014 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Jakob Lettenbichler (jakob.lettenbichler@oeaw.ac.at) *
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 DISTANCE1DZSQUARED_NAME Distance1DZSquared
16
17
namespace
Belle2
{
24
template
<
typename
Po
int
Type >
25
class
DISTANCE1DZSQUARED_NAME
:
public
SelectionVariable
< PointType , 2, double > {
26
public
:
28
PUT_NAME_FUNCTION
(
DISTANCE1DZSQUARED_NAME
);
29
31
static
double
value
(
const
PointType& outerHit,
const
PointType& innerHit)
32
{
33
return
std::pow(
double
(outerHit.Z() - innerHit.Z()), 2);
34
}
35
};
36
38
}
Belle2::DISTANCE1DZSQUARED_NAME
This is the specialization for SpacePoints with returning floats, where value calculates the squared ...
Definition:
Distance1DZSquared.h:25
Belle2::DISTANCE1DZSQUARED_NAME::value
static double value(const PointType &outerHit, const PointType &innerHit)
calculates the squared distance between the hits in Z (in 1D), returning unit: cm^2
Definition:
Distance1DZSquared.h:31
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::DISTANCE1DZSQUARED_NAME::PUT_NAME_FUNCTION
PUT_NAME_FUNCTION(DISTANCE1DZSQUARED_NAME)
is replaced by "static const std:string name(void)" frunction which returns name of the Class (CLASS_...
tracking
trackFindingVXD
filterMap
twoHitVariables
include
Distance1DZSquared.h
Generated on Fri Nov 5 2021 04:04:38 for Belle II Software by
1.8.17