Belle II Software  release-08-01-10
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 #include <framework/database/DBObjPtr.h>
21 #include <tracking/dbobjects/ROICalculationParameters.h>
22 
23 namespace Belle2 {
35  class PXDROIFinderModule : public Module {
36 
37  public:
38 
43 
44  private:
45 
49  void initialize() override;
50 
54  void beginRun() override;
55 
59  void event() override;
60 
64  void endRun() override;
65 
71  std::string m_PXDInterceptListName;
72  std::string m_ROIListName;
73  std::string m_recoTracksListName;
78  double m_toleranceZ;
79  double m_tolerancePhi;
81  double m_sigmaSystU;
82  double m_sigmaSystV;
83  double m_numSigmaTotU;
84  double m_numSigmaTotV;
85  double m_maxWidthU;
86  double m_maxWidthV;
92  };
94 }
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
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
bool m_overrideDBROICalculation
Override DB parameters for ROI calculation for debugging and testing.
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.
DBObjPtr< ROICalculationParameters > m_ROICalculationParameters
Configuration parameters for ROIs.
double m_sigmaSystU
fixed width to add in quadrature to the extrapolation error and obtain the ROI U width
StoreArray< PXDIntercept > m_PXDIntercepts
PXDIntercepts StoreArray.
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
StoreArray< RecoTrack > m_RecoTracks
RecoTracks StoreArray.
double m_toleranceZ
tolerance for finding sensor in Z coordinate (cm)
PXDInterceptor * m_thePXDInterceptor
the pxd interceptor object
StoreArray< ROIid > m_ROIs
ROIs StoreArray.
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