Belle II Software  release-08-01-10
QualityEstimatorRandom.h
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 #pragma once
10 
11 #include <tracking/trackFindingVXD/trackQualityEstimators/QualityEstimatorBase.h>
12 #include <TRandom.h>
13 
14 namespace Belle2 {
21 
22  public:
27  virtual double estimateQuality(std::vector<SpacePoint const*> const&) final { return gRandom->Uniform(1.0); };
28  };
30 }
BaseClass for QualityEstimators.
Class implementing a random quality estimation.
virtual double estimateQuality(std::vector< SpacePoint const * > const &) final
Returning a random quality indicator for the given track candidate Value is uniformly distributed bet...
Abstract base class for different kinds of events.