Belle II Software  release-06-01-15
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/ROIParameters.h>
15 
16 
17 namespace Belle2 {
24  public:
27 
29  void event() override;
30 
31  private:
33  bool m_roiEnabled = true;
34 
37  };
38 
40 }
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< ROIParameters > m_roiParameters
Configuration parameters for ROIs.
ROIfindingConditionFromDBModule()
Add the module parameters and the description.
Abstract base class for different kinds of events.