#include <vector>
#include <algorithm>
#include <cmath>
Go to the source code of this file.
Functions | |
template<class T > | |
T | median (std::vector< T > values) |
Median in one dimension. T must be sortable, 'addable', and dividable by 2.
Definition at line 16 of file median.h.
References reco::ceil(), createfilelist::int, runTheMatrix::ret, findQualityFiles::size, and contentValuesCheck::values.
Referenced by SiStripAPVRestorer::baselineFollower(), SiStripAPVRestorer::baselineFollowerRestore(), BoostedJetONNXJetTagsProducer::BoostedJetONNXJetTagsProducer(), SiStripMonitorDigi::FillApvShotsMap(), PVValHelper::getMAD(), TrackerOfflineValidationSummary::getMedian(), PVValHelper::getMedian(), TrackerOfflineValidation::getMedian(), SiStripHotStripAlgorithmFromClusterOccupancy::iterativeSearch(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::iterativeSearch(), KDTreeLinkerAlgo< reco::PFRecHit const *>::medianSearch(), PuppiContainer::puppiWeights(), KDTreeLinkerAlgo< reco::PFRecHit const *>::recSearch(), CompareToMedian::runTest(), and SiStripZeroSuppression::storeBaseline().