Belle II Software development
MVAFacetFilter.cc
1
2/**************************************************************************
3 * basf2 (Belle II Analysis Software Framework) *
4 * Author: The Belle II Collaboration *
5 * *
6 * See git log for contributors and copyright holders. *
7 * This file is licensed under LGPL-3.0, see LICENSE.md. *
8 **************************************************************************/
9#include <tracking/trackFindingCDC/filters/facet/MVAFacetFilter.h>
10
11
12#include <tracking/trackFindingCDC/filters/base/MVAFilter.icc.h>
13#include <tracking/trackFindingCDC/filters/base/FilterVarSet.icc.h>
14
15using namespace Belle2;
16using namespace TrackFindingCDC;
17
20
22 : Super(std::make_unique<MVAFacetVarSet>(), "trackfindingcdc_FacetFilter", 2.805, "trackfindingcdc_FacetFilterParameters")
23{
24}
25
27{
28 return 3 - 0.2 * (1 - Super::predict(facet));
29}
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.
Filter based on a mva method.
Definition: MVAFilter.dcl.h:36
virtual double predict(const Object &obj)
Evaluate the mva method.
Class that accommodates many variable sets and presents them as on set of variables.
Abstract base class for different kinds of events.
STL namespace.