Belle II Software development
ROICalculator.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#pragma once
9
10#include <tracking/trackFindingCDC/findlets/base/Findlet.h>
11#include <framework/datastore/StoreArray.h>
12
13#include <string>
14#include <vector>
15
16namespace Belle2 {
21 class ModuleParamList;
22 class VxdID;
23 class ROIid;
24
28 class ROICalculator : public TrackFindingCDC::Findlet<const std::pair<VxdID, long>, const std::pair<VxdID, long>> {
30 using Super = TrackFindingCDC::Findlet<const std::pair<VxdID, long>, const std::pair<VxdID, long>>;
31
32 public:
35
37 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
38
40 void initialize() override;
41
43 void apply(const std::vector<std::pair<VxdID, long>>& uExtrapolations,
44 const std::vector<std::pair<VxdID, long>>& vExtrapolations) override;
45
46 private:
47
49 std::string m_param_ROIsStoreArrayName = "DATCONFPGAROIs";
52
61
62 };
63
64}
The Module parameter list class.
void initialize() override
Create the store arrays.
short m_param_uROIsizeL2
ROI size in u direction on L2.
short m_param_uROIsizeL1
ROI size in u direction on L1.
void apply(const std::vector< std::pair< VxdID, long > > &uExtrapolations, const std::vector< std::pair< VxdID, long > > &vExtrapolations) override
Load in the prepared hits and create tracks for extrapolation to PXD.
short m_param_vROIsizeL2
ROI size in v direction on L2.
ROICalculator()
Find intercepts in the 2D Hough space.
short m_param_vROIsizeL1
ROI size in v direction on L1.
StoreArray< ROIid > m_storeDATCONROIs
PXDIntercept StoreArray.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
TrackFindingCDC::Findlet< const std::pair< VxdID, long >, const std::pair< VxdID, long > > Super
Parent class.
std::string m_param_ROIsStoreArrayName
name of the PXDIntercept StoreArray
ROIid stores the U and V ids and the sensor id of the Region Of Interest.
Definition ROIid.h:25
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition Findlet.h:26
Class to uniquely identify a any structure of the PXD and SVD.
Definition VxdID.h:33
Abstract base class for different kinds of events.