 |
Belle II Software
release-05-02-19
|
12 #include <framework/core/Module.h>
13 #include <framework/database/IntervalOfValidity.h>
15 #include <framework/datastore/StoreObjPtr.h>
16 #include <framework/dataobjects/EventMetaData.h>
25 class IoVDependentConditionModule :
public Module {
38 void event()
override;
51 std::vector<std::tuple<int, int, int, int>>
m_iovList;
IoVDependentConditionModule()
Add the module parameters and the description.
std::vector< std::tuple< int, int, int, int > > m_iovList
Parameter for the input iov list.
void beginRun() override
Set the m_conditionIsMet according to the new run.
Abstract base class for different kinds of events.
std::vector< IntervalOfValidity > m_iovsToCheck
Returns true if in this IoV.
StoreObjPtr< EventMetaData > m_eventMetaData
Storage for the event meta data.
bool m_conditionIsMet
Internal condition: true if run/exp is in IoV.
void initialize() override
Require the event meta data and turn the minimal/maximal exp/runs to an IoV.
void event() override
Returns true, if the event is in the given IoV.