Belle II Software
development
Median.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
#pragma once
9
10
#include <tracking/trackFindingCDC/numerics/WithWeight.h>
11
#include <vector>
12
13
namespace
Belle2
{
18
namespace
TrackFindingCDC {
19
21
double
median(std::vector<double> values);
22
24
double
weightedMedian(std::vector<
WithWeight<double>
> weightedValues);
25
}
27
}
Belle2::TrackFindingCDC::WithWeight
A mixin class to attach a weight to an object.
Definition
WithWeight.h:24
Belle2
Abstract base class for different kinds of events.
Definition
MillepedeAlgorithm.h:17
tracking
trackFindingCDC
numerics
include
Median.h
Generated on Mon Sep 1 2025 03:00:53 for Belle II Software by
1.13.2