Belle II Software  release-06-00-14
MVAFacetFilter.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/facet/MVAFacetFilter.h>
9 
10 
11 #include <tracking/trackFindingCDC/filters/base/MVAFilter.icc.h>
12 #include <tracking/trackFindingCDC/filters/base/FilterVarSet.icc.h>
13 
14 using namespace Belle2;
15 using namespace TrackFindingCDC;
16 
19 
21  : Super(std::make_unique<MVAFacetVarSet>(), "trackfindingcdc_FacetFilter", 2.805)
22 {
23 }
24 
25 Weight MVAFacetFilter::predict(const CDCFacet& facet)
26 {
27  return 3 - 0.2 * (1 - Super::predict(facet));
28 }
Class representing a triple of neighboring oriented wire with additional trajectory information.
Definition: CDCFacet.h:32
Class to compute floating point variables from a filter response which can be recorded as a flat TNtu...
MVAFacetFilter()
Constructor initialising the MVAFilter with standard training name for this filter.
Weight predict(const CDCFacet &facet) final
Main filter method returning the weight of the facet.
virtual double predict(const Object &obj)
Evaluate the mva method.
Definition: MVAFilter.icc.h:88
AFilter Super
Type of the base class.
Class that accomodates many variable sets and presents them as on set of variables.
Abstract base class for different kinds of events.