Belle II Software
release-05-02-19
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
PrescaleModule.h
1
#pragma once
2
/**************************************************************************
3
* BASF2 (Belle Analysis Framework 2) *
4
* Copyright(C) 2010 - Belle II Collaboration *
5
* *
6
* Author: The Belle II Collaboration *
7
* Contributors: David Dossett *
8
* *
9
* This software is provided "as is" without any warranty. *
10
**************************************************************************/
11
12
#include <framework/core/Module.h>
13
14
namespace
Belle2
{
28
class
PrescaleModule :
public
Module {
29
public
:
31
PrescaleModule
();
32
34
virtual
~PrescaleModule
() {};
35
37
virtual
void
initialize
()
override
{};
38
40
virtual
void
event
()
override
;
41
42
private
:
44
double
m_prescale
;
45
};
47
}
Belle2::PrescaleModule::PrescaleModule
PrescaleModule()
Constructor of the module.
Definition:
PrescaleModule.cc:25
Belle2::PrescaleModule::~PrescaleModule
virtual ~PrescaleModule()
Destructor of the module.
Definition:
PrescaleModule.h:42
Belle2::PrescaleModule::event
virtual void event() override
Sets the return value by running a RNG vs.
Definition:
PrescaleModule.cc:37
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::PrescaleModule::m_prescale
double m_prescale
Prescale module parameter, this fraction of events will return True.
Definition:
PrescaleModule.h:52
Belle2::PrescaleModule::initialize
virtual void initialize() override
No Initialization necessary.
Definition:
PrescaleModule.h:45
framework
modules
core
include
PrescaleModule.h
Generated on Tue Jan 4 2022 02:56:50 for Belle II Software by
1.8.17