Belle II Software  release-06-02-00
PXDROIFinderModule.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 /* Additional Info:
9 * This Module is in an early stage of developement. The comments are mainly for temporal purposes
10 * and will be changed and corrected in later stages of developement. So please ignore them.
11 */
12 
13 #pragma once
14 
15 #include <framework/core/Module.h>
16 #include <tracking/pxdDataReductionClasses/PXDInterceptor.h>
17 #include <tracking/pxdDataReductionClasses/ROIPixelTranslator.h>
18 #include <string>
19 #include <tracking/pxdDataReductionClasses/ROIinfo.h>
20 
21 namespace Belle2 {
33  class PXDROIFinderModule : public Module {
34 
35  public:
36 
41 
42  private:
43 
47  void initialize() override;
48 
52  void beginRun() override;
53 
57  void event() override;
58 
62  void endRun() override;
63 
66  std::string m_PXDInterceptListName;
67  std::string m_ROIListName;
68  std::string m_recoTracksListName;
70  double m_toleranceZ;
71  double m_tolerancePhi;
73  double m_sigmaSystU;
74  double m_sigmaSystV;
75  double m_numSigmaTotU;
76  double m_numSigmaTotV;
77  double m_maxWidthU;
78  double m_maxWidthV;
82  };
84 }
Base class for Modules.
Definition: Module.h:72
The PXDInterceptor class fills a StoreArray of PXDIntercepts that will be used to define the PXD ROIs...
The PXD ROI Finder Module.
double m_maxWidthV
maximum V width of the ROI
std::string m_recoTracksListName
track list name
std::string m_ROIListName
ROI list name.
ROIPixelTranslator * m_thePixelTranslator
the pixel translator object
void initialize() override
Initializes the module.
std::string m_PXDInterceptListName
intercept list name
double m_maxWidthU
maximum U width of the ROI
void event() override
This method is called for each event.
void endRun() override
This method is called at the end of the event processing.
double m_tolerancePhi
tolerance for finding sensor in phi coordinate (radians)
PXDROIFinderModule()
Constructor of the module.
double m_sigmaSystV
fixed width to add in quadrature to the extrapolation error and obtain the ROI V width
double m_numSigmaTotV
number of sigma (stat+syst) determining the U width of the ROI
void beginRun() override
Called when entering a new run.
double m_sigmaSystU
fixed width to add in quadrature to the extrapolation error and obtain the ROI U width
ROIinfo m_ROIinfo
contains the parameters that can be changed by the user
double m_numSigmaTotU
number of sigma (stat+syst) determining the U width of the ROI
double m_toleranceZ
tolerance for finding sensor in Z coordinate (cm)
PXDInterceptor * m_thePXDInterceptor
the pxd interceptor object
Translator for ROI-geometry-information into a list of pixels.
Abstract base class for different kinds of events.
ROIinfo contains the parameters that can be changed by the user in the python script.
Definition: ROIinfo.h:15