Belle II Software  release-08-01-10
ROISimulationParameters.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 <TObject.h>
11 
12 namespace Belle2 {
22  class ROISimulationParameters: public TObject {
23  public:
28 
30  void setROIfinding(bool useROIfinding)
31  {
32  m_useROIfinding = useROIfinding;
33  }
34 
36  bool getROIfinding() const
37  {
38  return m_useROIfinding;
39  }
40 
42  void setDisableROIforEveryNth(int disableROIforEveryNth)
43  {
44  m_disableROIforEveryNth = disableROIforEveryNth;
45  }
46 
49  {
51  }
52 
53  private:
57  bool m_useROIfinding = true;
58 
60  };
62 }
The payload containing all PXD ROI parameters.
int getDisableROIforEveryNth() const
Get if ROI finding was disabled for every Nth event (-1 if not used)
bool getROIfinding() const
Get whether ROI finding was used.
int m_disableROIforEveryNth
you might to disable ROI finding for every Nth event (-1 if not used)
void setDisableROIforEveryNth(int disableROIforEveryNth)
Set if ROI finding was disabled for every Nth event (-1 if not used)
ClassDef(ROISimulationParameters, 1)
ClassDef, necessary for ROOT.
void setROIfinding(bool useROIfinding)
Set whether ROI finding was used.
bool m_useROIfinding
store whether ROI finding was used
ROISimulationParameters()
Default constructor.
Abstract base class for different kinds of events.