Belle II Software light-2604-jellyfish
PrescaleModule.h
1#pragma once
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
10#include <framework/core/Module.h>
11
12namespace Belle2 {
26 class PrescaleModule : public Module {
27 public:
30
32 virtual ~PrescaleModule() override {};
33
35 virtual void event() override;
36
37 private:
39 double m_prescale;
40 };
41
42}
Module()
Constructor.
Definition Module.cc:30
virtual void event() override
Sets the return value by running a RNG vs.
double m_prescale
Prescale module parameter, this fraction of events will return True.
virtual ~PrescaleModule() override
Destructor of the module.
PrescaleModule()
Constructor of the module.
Abstract base class for different kinds of events.