Belle II Software development
ROIToUnitTranslator.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/roiFinding/ROIinfo.h>
13
14namespace Belle2 {
19 class ROIid;
20
23 template<class aIntercept>
25
26 public:
27
30 explicit ROIToUnitTranslator(const ROIinfo* theROIinfo);
31
34 ROIToUnitTranslator(double sigmaSystU, double sigmaSystV,
35 double numSigmaTotU, double numSigmaTotV,
36 double maxWidthU, double maxWidthV);
37
41
44 void fillRoiIDList(StoreArray<aIntercept>* listOfIntercepts,
45 StoreArray<ROIid>* ROIidList);
46
47 protected:
48 double m_sigmaSystU;
49 double m_sigmaSystV;
52 double m_maxWidthU;
53 double m_maxWidthV;
54 };
56}
Translator for ROI-geometry-information into a list of pixels or strips.
double m_maxWidthV
ROI maximum width allowed in the V direction.
double m_maxWidthU
ROI maximum width allowed in the U direction.
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
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
void fillRoiIDList(StoreArray< aIntercept > *listOfIntercepts, StoreArray< ROIid > *ROIidList)
Append the ROIid to the list listToBeFilled.
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