Belle II Software  release-08-01-10
SVDROIFinderModule.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 
9 #pragma once
10 
11 #include <framework/core/Module.h>
12 #include <tracking/svdROIFinder/SVDInterceptor.h>
13 #include <tracking/svdROIFinder/ROIStripTranslator.h>
14 #include <tracking/dataobjects/ROIid.h>
15 #include <tracking/dataobjects/SVDIntercept.h>
16 #include <tracking/dataobjects/RecoTrack.h>
17 #include <string>
18 #include <tracking/pxdDataReductionClasses/ROIinfo.h>
19 
20 namespace Belle2 {
32  class SVDROIFinderModule : public Module {
33 
34  public:
35 
40 
45 
49  void initialize() override;
50 
54  void beginRun() override;
55 
59  void event() override;
60 
64  void endRun() override;
65 
69  void terminate() override;
70 
71  protected:
75  std::string m_SVDInterceptListName;
76  std::string m_ROIListName;
77  std::string m_recoTracksListName;
83  double m_toleranceZ;
84  double m_tolerancePhi;
86  double m_sigmaSystU;
87  double m_sigmaSystV;
88  double m_numSigmaTotU;
89  double m_numSigmaTotV;
90  double m_maxWidthU;
91  double m_maxWidthV;
93  ROIinfo m_ROIinfo = {0, 0, 0, 0, 0, 0, "", "", "", ""};
95  private:
96 
97  };
99 }
100 
Base class for Modules.
Definition: Module.h:72
Translator for ROI-geometry-information into a list of pixels.
This Class implements the interceptor of the SVD tracks on the PXD layers.
The SVD ROI Finder Module.
double m_maxWidthV
maximum V width of the ROI
std::string m_recoTracksListName
track list name
SVDInterceptor * m_theSVDInterceptor
the svd interceptor object
std::string m_ROIListName
ROI list name.
StoreArray< SVDIntercept > m_intercepts
svd intercept store array
StoreArray< ROIid > m_rois
rois store array
void initialize() override
Initializes the Module.
SVDROIFinderModule()
Constructor of the module.
double m_maxWidthU
maximum U width of the ROI
void event() override
Event loop.
std::string m_SVDInterceptListName
intercept list name
void endRun() override
Deletion of objects at the end of the run.
void terminate() override
Termination action.
StoreArray< RecoTrack > m_recotracks
reco tracks store array
double m_tolerancePhi
determination of interesting planes, tolerance in phi
ROIStripTranslator * m_theStripTranslator
the strip translator object
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
Initializations at the beginning of the run.
~SVDROIFinderModule()
Destructor of the module.
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
determination of interesting planes, tolerance along Z
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