Belle II Software development
SimplePXDStateFilter.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/ckf/pxd/filters/states/BasePXDStateFilter.h>
11#include <tracking/ckf/pxd/utilities/PXDKalmanStepper.h>
12
13namespace Belle2 {
20 public:
22 void beginRun() final;
23
26
27 TrackFindingCDC::Weight operator()(const BasePXDStateFilter::Object& pair) final;
28
29 private:
32
35
37 using MaximalValueArray = double[2][3];
38
41 {0.295060, 0.295060, 0.295060},
42 {0.295060, 0.295060, 0.295060}
43 };
44
46 static constexpr const MaximalValueArray m_param_maximumResidual = {
47 {0.679690, 0.677690, 0.427060},
48 {1.006930, 0.926120, 0.687030}
49 };
50
52 static constexpr const MaximalValueArray m_param_maximumChi2 = {
53 {10, 50, 125},
54 {20, 60, 85}
55 };
56 };
58}
Kalman stepper implementation for the PXD CKF.
A very simple filter for all space points.
TrackFindingCDC::Weight operator()(const BasePXDStateFilter::Object &pair) final
Function to evaluate the object.
static constexpr const MaximalValueArray m_param_maximumHelixDistanceXY
Maximum distance calculated with helix extrapolation in filter 1. Numbers calculated on MC.
SimplePXDStateFilter()=default
default constructor to silence the cppcheck warnings
static constexpr const MaximalValueArray m_param_maximumChi2
Maximum chi^2 in filter 3. Numbers calculated on MC.
void beginRun() final
Set the cached B field.
static constexpr const MaximalValueArray m_param_maximumResidual
Maximum distance calculated with normal extrapolation in filter 2. Numbers calculated on MC.
PXDKalmanStepper m_kalmanStepper
Kalman stepper (CKF) for PXD.
double m_cachedBField
Cache for the B field at the IP.
double[2][3] MaximalValueArray
Shortcut for a 2x3 array.
Base class for filters on a generic object type.
Definition: Filter.dcl.h:31
AObject Object
Type of the object to be analysed.
Definition: Filter.dcl.h:35
Abstract base class for different kinds of events.