Belle II Software development
InterceptDistancePXDPairFilter.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/relations/BasePXDPairFilter.h>
11#include <tracking/ckf/pxd/entities/CKFToPXDState.h>
12
13namespace Belle2 {
20 public:
22 TrackFindingCDC::Weight operator()(const std::pair<const CKFToPXDState*, const CKFToPXDState*>& relation) override;
24 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
25
26 private:
28 float deltaPhi(float phi1, float phi2);
30 float deltaEtaFromTheta(float theta1, float theta2);
32 float convertThetaToEta(float cosTheta);
33
52
54 std::string m_param_PXDInterceptsName = "PXDIntercepts";
55 };
57}
float deltaPhi(float phi1, float phi2)
Calculate delta phi.
double m_param_EtaHitHitCut
Filter potential relations in eta between hit states.
float deltaEtaFromTheta(float theta1, float theta2)
Calculate delta eta from theta.
double m_param_EtaRecoTrackToHitCut
Filter potential relations in eta between seed states (based on RecoTracks) and hit states.
double m_param_PhiHitHitCut
Filter potential relations in phi between hit states.
double m_param_PhiOverlapHitHitCut
Filter potential relations in phi between hit states in ladder overlap.
double m_param_EtaOverlapHitHitCut
Filter potential relations in eta between hit states in ladder overlap.
double m_param_PhiInterceptToHitCut
Filter potential relations in phi between seed states (based on PXDIntercepts) and hit states.
double m_param_EtaInterceptToHitCut
Filter potential relations in eta between seed states (based on PXDIntercepts) and hit states.
double m_param_PtThresholdTrackToHitCut
Threshold to apply inverse pT dependent cut [GeV].
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters.
double m_param_PhiRecoTrackToHitCut
Filter potential relations in phi between seed states (based on RecoTracks) and hit states.
float convertThetaToEta(float cosTheta)
Convert theta to eta (pseudorapidity)
std::string m_param_PXDInterceptsName
Name of the PXDIntercepts StoreArray.
TrackFindingCDC::Weight operator()(const std::pair< const CKFToPXDState *, const CKFToPXDState * > &relation) override
Return the weight based on azimuthal-angle separation.
The Module parameter list class.
Base class for filters on a generic object type.
Definition: Filter.dcl.h:31
Abstract base class for different kinds of events.