Belle II Software development
PXDROIFinderModule.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 <framework/core/Module.h>
11#include <tracking/roiFinding/VXDInterceptor.h>
12#include <tracking/roiFinding/ROIToUnitTranslator.h>
13#include <tracking/roiFinding/ROIinfo.h>
14#include <framework/database/DBObjPtr.h>
15
16#include <string>
17
18namespace Belle2 {
23 class RecoTrack;
24 class PXDIntercept;
25 class ROIid;
26 class ROICalculationParameters;
27
34 class PXDROIFinderModule : public Module {
35
36 public:
37
42
43 private:
44
48 void initialize() override;
49
53 void beginRun() override;
54
58 void event() override;
59
63 void endRun() override;
64
71 std::string m_ROIListName;
77 double m_toleranceZ;
80 double m_sigmaSystU;
81 double m_sigmaSystV;
84 double m_maxWidthU;
85 double m_maxWidthV;
91 bool m_ROIFindingForDQM = false;
93 };
95}
Class for accessing objects in the database.
Definition: DBObjPtr.h:21
Base class for Modules.
Definition: Module.h:72
The PXD ROI Finder Module.
double m_maxWidthV
maximum V width of the ROI
bool m_overrideDBROICalculation
Override DB parameters for ROI calculation for debugging and testing.
std::string m_recoTracksListName
track list name
std::string m_ROIListName
ROI list name.
void initialize() override
Initializes the module.
std::string m_PXDInterceptListName
intercept list name
double m_maxWidthU
maximum U width of the ROI
void event() override
This method is called for each event.
void endRun() override
This method is called at the end of the event processing.
VXDInterceptor< PXDIntercept > * m_thePXDInterceptor
the pxd interceptor object
double m_tolerancePhi
tolerance for finding sensor in phi coordinate (radians)
PXDROIFinderModule()
Constructor of the module.
double m_sigmaSystV
fixed width to add in quadrature to the extrapolation error and obtain the ROI V width
bool m_ROIFindingForDQM
ROI finding for DQM or for data reduction.
double m_numSigmaTotV
number of sigma (stat+syst) determining the U width of the ROI
void beginRun() override
Called when entering a new run.
DBObjPtr< ROICalculationParameters > m_ROICalculationParameters
Configuration parameters for ROIs.
double m_sigmaSystU
fixed width to add in quadrature to the extrapolation error and obtain the ROI U width
StoreArray< PXDIntercept > m_PXDIntercepts
PXDIntercepts StoreArray.
ROIinfo m_ROIinfo
contains the parameters that can be changed by the user
double m_numSigmaTotU
number of sigma (stat+syst) determining the U width of the ROI
StoreArray< RecoTrack > m_RecoTracks
RecoTracks StoreArray.
ROIToUnitTranslator< PXDIntercept > * m_thePixelTranslator
the pixel translator object
double m_toleranceZ
tolerance for finding sensor in Z coordinate (cm)
StoreArray< ROIid > m_ROIs
ROIs StoreArray.
Translator for ROI-geometry-information into a list of pixels or strips.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
This Class implements the interceptor of the SVD tracks on the PXD layers.
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