Belle II Software
release-05-01-25
WeightSVDResultFilter.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2016 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Nils Braun *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
#pragma once
11
12
#include <tracking/trackFindingCDC/filters/base/ChoosableFromVarSetFilter.dcl.h>
13
#include <tracking/ckf/svd/filters/results/SVDResultVarSet.h>
14
#include <tracking/ckf/svd/entities/CKFToSVDResult.h>
15
16
namespace
Belle2
{
21
class
WeightSVDResultFilter :
public
BaseSVDResultFilter
{
23
public
:
25
TrackFindingCDC::Weight
operator()
(
const
CKFToSVDResult& result)
override
26
{
27
return
result.getWeightSum();
28
}
29
};
31
}
Belle2::BaseSVDResultFilter
TrackFindingCDC::Filter< CKFToSVDResult > BaseSVDResultFilter
Base filter for CKF SVD results (on overlap check)
Definition:
BaseSVDResultFilter.h:29
Belle2::WeightSVDResultFilter::operator()
TrackFindingCDC::Weight operator()(const CKFToSVDResult &result) override
Return the sum of CKF SVD weights.
Definition:
WeightSVDResultFilter.h:33
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
tracking
ckf
svd
filters
results
include
WeightSVDResultFilter.h
Generated on Fri Nov 5 2021 04:00:11 for Belle II Software by
1.8.17