Belle II Software  release-05-01-25
ROIPixelTranslator.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Giulia Casarosa, Eugenio Paoloni *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <framework/datastore/StoreArray.h>
14 #include <tracking/dataobjects/PXDIntercept.h>
15 #include <tracking/dataobjects/ROIid.h>
16 #include <tracking/pxdDataReductionClasses/ROIinfo.h>
17 
18 namespace Belle2 {
26  class ROIPixelTranslator {
27 
28  public:
29 
32  explicit ROIPixelTranslator(const ROIinfo* theROIinfo);
33 
36  ROIPixelTranslator(double sigmaSystU, double sigmaSystV,
37  double numSigmaTotU, double numSigmaTotV,
38  double maxWidthU, double maxWidthV);
39 
40 
44 
47  void fillRoiIDList(StoreArray<PXDIntercept>* listOfIntercepts,
48  StoreArray<ROIid>* ROIidList);
49 
50  protected:
51  double m_sigmaSystU;
52  double m_sigmaSystV;
53  double m_numSigmaTotU;
54  double m_numSigmaTotV;
55  double m_maxWidthU;
56  double m_maxWidthV;
57  };
59 }
Belle2::ROIPixelTranslator::m_numSigmaTotV
double m_numSigmaTotV
number of standard deviations to be taken to define a ROI along V
Definition: ROIPixelTranslator.h:62
Belle2::ROIPixelTranslator::ROIPixelTranslator
ROIPixelTranslator(const ROIinfo *theROIinfo)
Constructor.
Definition: ROIPixelTranslator.cc:31
Belle2::ROIPixelTranslator::m_maxWidthU
double m_maxWidthU
ROI maximum width allowed in the U direction.
Definition: ROIPixelTranslator.h:63
Belle2::ROIPixelTranslator::m_numSigmaTotU
double m_numSigmaTotU
number of standard deviations to be taken to define a ROI along U
Definition: ROIPixelTranslator.h:61
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ROIPixelTranslator::m_sigmaSystU
double m_sigmaSystU
systematic error along the U coordinate
Definition: ROIPixelTranslator.h:59
Belle2::ROIPixelTranslator::m_sigmaSystV
double m_sigmaSystV
systematic error along the V coordinate
Definition: ROIPixelTranslator.h:60
Belle2::ROIPixelTranslator::fillRoiIDList
void fillRoiIDList(StoreArray< PXDIntercept > *listOfIntercepts, StoreArray< ROIid > *ROIidList)
Append the ROIid to the list listToBeFilled.
Definition: ROIPixelTranslator.cc:46
Belle2::ROIPixelTranslator::m_maxWidthV
double m_maxWidthV
ROI maximum width allowed in the V direction.
Definition: ROIPixelTranslator.h:64
ROIinfo
ROIinfo contains the parameters that can be changed by the user in the python script.
Definition: ROIinfo.h:8
Belle2::ROIPixelTranslator::~ROIPixelTranslator
~ROIPixelTranslator()
Destructor.
Definition: ROIPixelTranslator.cc:41