Belle II Software development
MVAFacetRelationFilter.cc
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#include <tracking/trackFindingCDC/filters/facetRelation/MVAFacetRelationFilter.h>
9
10
11#include <tracking/trackingUtilities/filters/base/MVAFilter.icc.h>
12
13using namespace Belle2;
14using namespace TrackFindingCDC;
15using namespace TrackingUtilities;
16
18
20 : Super(std::make_unique<MVAFacetRelationVarSet>(), "FacetRelationFilter", -2.19)
21{
22}
23
25{
26 return -2 - 0.2 * (1 - Super::predict(facetRelation));
27}
TrackingUtilities::Weight predict(const TrackingUtilities::Relation< const TrackingUtilities::CDCFacet > &facetRelation) final
Main filter method returning the weight of the facet relation.
TrackingUtilities::MVA< BaseFacetRelationFilter > Super
Type of the base class.
MVAFacetRelationFilter()
Constructor initialising the MVAFilter with standard training name for this filter.
Filter based on a mva method.
Type for two related objects.
Definition Relation.h:21
Abstract base class for different kinds of events.
STL namespace.