Belle II Software development
ThreeHitFilter.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/vxdHoughTracking/filters/pathFilters/BasePathFilter.h>
11#include <tracking/vxdHoughTracking/filters/pathFilters/ThreeHitVariables.h>
12
13namespace Belle2 {
18 namespace vxdHoughTracking {
19
25 class ThreeHitFilter : public BasePathFilter {
26
27 public:
32 TrackFindingCDC::Weight operator()(const BasePathFilter::Object& pair) override;
34 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
35
37 void beginRun() override;
38
39 private:
42
44 double m_cosRZCut = 0.95;
48 };
49
50 }
52}
The Module parameter list class.
std::pair< const std::vector< TrackFindingCDC::WithWeight< const VXDHoughState * > >, VXDHoughState * > Object
Definition Filter.dcl.h:35
TrackFindingCDC::Weight operator()(const BasePathFilter::Object &pair) override
Return the weight based on the ThreeHitVariables.
ThreeHitVariables m_threeHitVariables
Construct empty ThreeHitVariables instance.
void beginRun() override
set BField value for estimator
double m_cosRZCut
cut for cosine in RZ between the two vectors (oHit - cHit) and (cHit - iHit)
double m_circleIPDistanceCut
cut on the difference between circle radius and circle center position in the x-y plane to check if t...
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters.
Class that allows the calculation of simple variables to estimate the quality of a triplet of hits.
STL class.
Abstract base class for different kinds of events.