Belle II Software  release-05-01-25
Median.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/trackFindingCDC/numerics/WithWeight.h>
13 #include <vector>
14 
15 namespace Belle2 {
20  namespace TrackFindingCDC {
21 
23  double median(std::vector<double> values);
24 
26  double weightedMedian(std::vector<WithWeight<double> > weightedValues);
27  }
29 }
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19