Belle II Software  release-06-02-00
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 std;
12 using namespace Belle2;
13 
14 
15 double TwoHitFilters::filterNan(double value) const
16 {
17  if (std::isnan(value) == true) { return 0; }
18  if (std::isinf(value) == true) { return 0; }
19  return value;
20 }
Abstract base class for different kinds of events.