Belle II Software
release-05-01-25
TruthVarFilter.dcl.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2015 - 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
14
namespace
Belle2
{
19
namespace
TrackFindingCDC {
21
template
<
class
ATruthVarSet>
22
class
TruthVarFilter :
public
ChoosableFromVarSetFilter<ATruthVarSet> {
23
24
private
:
26
using
Super
= ChoosableFromVarSetFilter<ATruthVarSet>;
27
28
public
:
30
using
Object
=
typename
Super::Object
;
31
32
public
:
34
TruthVarFilter
();
35
37
~TruthVarFilter
();
38
39
public
:
41
Weight
operator()
(
const
Object
&
object
)
override
;
42
};
43
}
45
}
Belle2::TrackFindingCDC::TruthVarFilter::Super
ChoosableFromVarSetFilter< ATruthVarSet > Super
Type of the base class.
Definition:
TruthVarFilter.dcl.h:34
Belle2::TrackFindingCDC::TruthVarFilter::TruthVarFilter
TruthVarFilter()
Constructor.
Definition:
TruthVarFilter.icc.h:36
Belle2::TrackFindingCDC::ChoosableFromVarSetFilter::Object
typename ATruthVarSet::Object Object
Type of the filtered object.
Definition:
ChoosableFromVarSetFilter.dcl.h:94
Belle2::TrackFindingCDC::TruthVarFilter::~TruthVarFilter
~TruthVarFilter()
Default destructor.
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::TruthVarFilter::operator()
Weight operator()(const Object &object) override
Reject an item if the truth variable is 0, else accept it.
Definition:
TruthVarFilter.icc.h:45
tracking
trackFindingCDC
filters
base
include
TruthVarFilter.dcl.h
Generated on Fri Nov 5 2021 04:02:08 for Belle II Software by
1.8.17