Belle II Software development
EventLimit.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <TObject.h>
12
13#include <string>
14
15namespace Belle2 {
25 class EventLimit : public TObject {
26 public:
27
29 EventLimit(long event = -1) : m_event_limit(event) {}
30
33
36 void setEventLimit(long event) { m_event_limit = event; }
37
40 long getEventLimit() const { return m_event_limit; }
41
42 private:
48
51 }; //class
53} // namespace Belle2
This dataobject is used by EventLimiter module to set event limit based on the value from the databas...
Definition: EventLimit.h:25
long getEventLimit() const
Event Limit Getter.
Definition: EventLimit.h:40
EventLimit(long event=-1)
Constructor.
Definition: EventLimit.h:29
long m_event_limit
Event limit.
Definition: EventLimit.h:47
ClassDef(EventLimit, 1)
This dataobject is used by EventLimiter module to set event limit based on the value from the databas...
~EventLimit()
Destructor.
Definition: EventLimit.h:32
void setEventLimit(long event)
Event Limit Setter.
Definition: EventLimit.h:36
Abstract base class for different kinds of events.