Belle II Software  release-05-02-19
ROIGeneratorModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2011 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Giulia Casarosa, Eugenio Paoloni *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <framework/core/Module.h>
14 
15 namespace Belle2 {
30  class ROIGeneratorModule : public Module {
31 
32  public:
33 
38 
39  private:
40 
41  void initialize() override final;
42 
43  void event() override final;
44 
45 
46  std::string m_ROIListName;
47  int m_divider;
48  int m_layer ;
49  int m_ladder ;
50  int m_sensor ;
52  int m_minU ;
53  int m_maxU ;
55  int m_minV ;
56  int m_maxV ;
59  int m_nROIs;
61  bool m_random;
63  };
65 }
66 
Belle2::ROIGeneratorModule::m_ROIListName
std::string m_ROIListName
ROi list name.
Definition: ROIGeneratorModule.h:54
Belle2::ROIGeneratorModule::m_ladder
int m_ladder
ladder
Definition: ROIGeneratorModule.h:57
Belle2::ROIGeneratorModule::m_divider
int m_divider
generate one ROI every m_divider event
Definition: ROIGeneratorModule.h:55
Belle2::ROIGeneratorModule::m_layer
int m_layer
layer
Definition: ROIGeneratorModule.h:56
Belle2::ROIGeneratorModule::m_sensor
int m_sensor
sensor
Definition: ROIGeneratorModule.h:58
Belle2::ROIGeneratorModule::m_maxU
int m_maxU
max U
Definition: ROIGeneratorModule.h:61
Belle2::ROIGeneratorModule::m_minV
int m_minV
min V
Definition: ROIGeneratorModule.h:63
Belle2::ROIGeneratorModule::m_maxV
int m_maxV
max V
Definition: ROIGeneratorModule.h:64
Belle2::ROIGeneratorModule::ROIGeneratorModule
ROIGeneratorModule()
Constructor of the module.
Definition: ROIGeneratorModule.cc:30
Belle2::ROIGeneratorModule::event
void event() override final
This method is the core of the module.
Definition: ROIGeneratorModule.cc:63
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ROIGeneratorModule::initialize
void initialize() override final
Initialize the Module.
Definition: ROIGeneratorModule.cc:54
Belle2::ROIGeneratorModule::m_random
bool m_random
move single roi pseudo randomly
Definition: ROIGeneratorModule.h:69
Belle2::ROIGeneratorModule::m_minU
int m_minU
min U
Definition: ROIGeneratorModule.h:60
Belle2::ROIGeneratorModule::m_nROIs
int m_nROIs
number of ROIs per event
Definition: ROIGeneratorModule.h:67