Belle II Software  release-06-00-14
ROIGeneratorModule.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 <framework/core/Module.h>
12 
13 namespace Belle2 {
28  class ROIGeneratorModule : public Module {
29 
30  public:
31 
36 
37  private:
38 
39  void initialize() override final;
40 
41  void event() override final;
42 
43 
44  std::string m_ROIListName;
45  int m_divider;
46  int m_layer ;
47  int m_ladder ;
48  int m_sensor ;
50  int m_minU ;
51  int m_maxU ;
53  int m_minV ;
54  int m_maxV ;
57  int m_nROIs;
59  bool m_random;
61  };
63 }
64 
Base class for Modules.
Definition: Module.h:72
The ROI generator Module.
void initialize() override final
Initialize the Module.
std::string m_ROIListName
ROi list name.
int m_nROIs
number of ROIs per event
bool m_random
move single roi pseudo randomly
void event() override final
This method is the core of the module.
int m_divider
generate one ROI every m_divider event
ROIGeneratorModule()
Constructor of the module.
Abstract base class for different kinds of events.