Belle II Software  release-05-01-25
QualityEstimatorRandom.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Jakob Lettenbichler, Jonas Wagner *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <tracking/trackFindingVXD/trackQualityEstimators/QualityEstimatorBase.h>
14 #include <TRandom.h>
15 
16 namespace Belle2 {
21  class QualityEstimatorRandom : public QualityEstimatorBase {
23 
24  public:
29  virtual double estimateQuality(std::vector<SpacePoint const*> const&) final { return gRandom->Uniform(1.0); };
30  };
32 }
Belle2::QualityEstimatorRandom::estimateQuality
virtual double estimateQuality(std::vector< SpacePoint const * > const &) final
Returning a random quality indicator for the given track candidate Value is uniformly distributed bet...
Definition: QualityEstimatorRandom.h:37
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19