Belle II Software  release-08-01-10
ROIStripTranslator.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/datastore/StoreArray.h>
12 #include <tracking/dataobjects/SVDIntercept.h>
13 #include <tracking/dataobjects/ROIid.h>
14 #include <tracking/pxdDataReductionClasses/ROIinfo.h>
15 
16 namespace Belle2 {
25 
26  public:
27 
30  explicit ROIStripTranslator(const ROIinfo* theROIinfo);
31 
34  ROIStripTranslator(double sigmaSystU, double sigmaSystV,
35  double numSigmaTotU, double numSigmaTotV,
36  double maxWidthU, double maxWidthV);
37 
38 
42 
45  void fillRoiIDList(StoreArray<SVDIntercept>* listOfIntercepts,
46  StoreArray<ROIid>* ROIidList);
47 
48  protected:
49  double m_sigmaSystU;
50  double m_sigmaSystV;
51  double m_numSigmaTotU;
52  double m_numSigmaTotV;
53  double m_maxWidthU;
54  double m_maxWidthV;
55  };
57 }
Translator for ROI-geometry-information into a list of pixels.
double m_maxWidthV
ROI maximum width allowed in the V direction.
double m_maxWidthU
ROI maximum width allowed in the U direction.
ROIStripTranslator(const ROIinfo *theROIinfo)
Constructor.
double m_sigmaSystV
systematic error along the V coordinate
double m_numSigmaTotV
number of standard deviations to be taken to define a ROI along V
double m_sigmaSystU
systematic error along the U coordinate
void fillRoiIDList(StoreArray< SVDIntercept > *listOfIntercepts, StoreArray< ROIid > *ROIidList)
Append the ROIid to the list listToBeFilled.
double m_numSigmaTotU
number of standard deviations to be taken to define a ROI along U
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
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