Belle II Software  release-06-00-14
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 
49  void beginRun() override;
50 
51  void event() override;
52 
53  void endRun() override;
54 
57  std::string m_PXDInterceptListName;
58  std::string m_ROIListName;
59  std::string m_recoTracksListName;
61  double m_toleranceZ;
62  double m_tolerancePhi;
64  double m_sigmaSystU;
65  double m_sigmaSystV;
66  double m_numSigmaTotU;
67  double m_numSigmaTotV;
68  double m_maxWidthU;
69  double m_maxWidthV;
73  };
75 }
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 the core of the module.
void endRun() override
This method is called if the current run ends.
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