Belle II Software
release-05-01-25
RandomFilter.icc.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/RandomFilter.dcl.h>
13
14
#include <TRandom.h>
15
16
namespace
Belle2
{
21
namespace
TrackFindingCDC {
22
23
template
<
class
AFilter>
24
Weight
RandomFilter<AFilter>::operator()
(
const
Object& obj __attribute__((unused)))
25
{
26
return
gRandom->Rndm();
27
}
28
}
30
}
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::RandomFilter::operator()
Weight operator()(const Object &obj) final
Never reject an item but give back a random value between 0 and 1.
Definition:
RandomFilter.icc.h:32
tracking
trackFindingCDC
filters
base
include
RandomFilter.icc.h
Generated on Fri Nov 5 2021 04:02:01 for Belle II Software by
1.8.17