Belle II Software
development
TwoHitFilters.cc
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
9
#include "tracking/vxdCaTracking/TwoHitFilters.h"
10
11
using namespace
Belle2
;
12
13
14
double
TwoHitFilters::filterNan
(
double
value)
const
15
{
16
if
(std::isnan(value) ==
true
) {
return
0; }
17
if
(std::isinf(value) ==
true
) {
return
0; }
18
return
value;
19
}
Belle2::TwoHitFilters::filterNan
double filterNan(double value) const
nice little nanChecker returns 0 if value was nan or inf, else returns value itself
Definition:
TwoHitFilters.cc:14
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
tracking
vxdCaTracking
src
TwoHitFilters.cc
Generated on Fri Nov 8 2024 02:59:27 for Belle II Software by
1.9.6