Belle II Software  release-05-01-25
ROIStripTranslator.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/SVDIntercept.h>
15 #include <tracking/dataobjects/ROIid.h>
16 #include <tracking/pxdDataReductionClasses/ROIinfo.h>
17 
18 namespace Belle2 {
26  class ROIStripTranslator {
27 
28  public:
29 
32  explicit ROIStripTranslator(const ROIinfo* theROIinfo);
33 
36  ROIStripTranslator(double sigmaSystU, double sigmaSystV,
37  double numSigmaTotU, double numSigmaTotV,
38  double maxWidthU, double maxWidthV);
39 
40 
44 
47  void fillRoiIDList(StoreArray<SVDIntercept>* 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::ROIStripTranslator::m_sigmaSystU
double m_sigmaSystU
systematic error along the U coordinate
Definition: ROIStripTranslator.h:59
Belle2::ROIStripTranslator::m_numSigmaTotU
double m_numSigmaTotU
number of standard deviations to be taken to define a ROI along U
Definition: ROIStripTranslator.h:61
Belle2::ROIStripTranslator::m_maxWidthU
double m_maxWidthU
ROI maximum width allowed in the U direction.
Definition: ROIStripTranslator.h:63
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ROIStripTranslator::m_sigmaSystV
double m_sigmaSystV
systematic error along the V coordinate
Definition: ROIStripTranslator.h:60
Belle2::ROIStripTranslator::ROIStripTranslator
ROIStripTranslator(const ROIinfo *theROIinfo)
Constructor.
Definition: ROIStripTranslator.cc:30
Belle2::ROIStripTranslator::~ROIStripTranslator
~ROIStripTranslator()
Destructor.
Definition: ROIStripTranslator.cc:40
ROIinfo
ROIinfo contains the parameters that can be changed by the user in the python script.
Definition: ROIinfo.h:8
Belle2::ROIStripTranslator::m_maxWidthV
double m_maxWidthV
ROI maximum width allowed in the V direction.
Definition: ROIStripTranslator.h:64
Belle2::ROIStripTranslator::fillRoiIDList
void fillRoiIDList(StoreArray< SVDIntercept > *listOfIntercepts, StoreArray< ROIid > *ROIidList)
Append the ROIid to the list listToBeFilled.
Definition: ROIStripTranslator.cc:45
Belle2::ROIStripTranslator::m_numSigmaTotV
double m_numSigmaTotV
number of standard deviations to be taken to define a ROI along V
Definition: ROIStripTranslator.h:62