Belle II Software development
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 {
23 class PrescaleModule : public Module {
24 public:
27
29 virtual ~PrescaleModule() override {};
30
32 virtual void event() override;
33
34 private:
36 double m_prescale;
37 };
38
39}
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.