Belle II Software  release-08-01-10
ROIfindingConditionFromDBModule.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 #pragma once
9 
10 #include <framework/core/Module.h>
11 
12 #include <framework/database/DBObjPtr.h>
13 
14 #include <simulation/dbobjects/ROISimulationParameters.h>
15 
16 
17 namespace Belle2 {
23 
27  public:
30 
32  void event() override;
33 
34  private:
36  bool m_roiEnabled = true;
37 
40  };
41 
43 }
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Base class for Modules.
Definition: Module.h:72
Module which sets its return value based on the payload whether ROI-finding was enabled for the given...
void event() override
Returns true, if ROI-finding is enabled.
bool m_roiEnabled
Internal condition: true if run/exp is in IoV.
DBObjPtr< ROISimulationParameters > m_ROISimulationParameters
Configuration parameters for ROIs.
ROIfindingConditionFromDBModule()
Add the module parameters and the description.
Abstract base class for different kinds of events.