Belle II Software development
OffOriginExtension.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/legendre/quadtree/BaseCandidateReceiver.h>
11
12#include <vector>
13
14namespace Belle2 {
19 namespace TrackFindingCDC {
20 class CDCWireHit;
21 class Vector2D;
22
27
28 public:
30 explicit OffOriginExtension(std::vector<const CDCWireHit*> allAxialWireHits, double levelPrecision = 9);
31
33 void operator()(const std::vector<const CDCWireHit*>& inputWireHits, void* qt) final;
34
36 std::vector<const CDCWireHit*> roadSearch(const std::vector<const CDCWireHit*>& wireHits);
45 std::vector<const CDCWireHit*> getHitsWRTtoRefPos(const Vector2D& refPos, float curv, float theta);
46
47 private:
48
51 //.5 - 0.24 * exp(-4.13118 * TrackCandidate::convertRhoToPt(fabs(track_par.second)) + 2.74);
52 };
53 }
55}
Base class that receives candidates found by quadtree.
Class performs extension (adding new hits) of given candidate using conformal transformation w....
void operator()(const std::vector< const CDCWireHit * > &inputWireHits, void *qt) final
Main entry point for the post processing call from the QuadTreeProcessor.
double m_levelPrecision
Precision level for the width of the off origin hough search.
std::vector< const CDCWireHit * > roadSearch(const std::vector< const CDCWireHit * > &wireHits)
Perform transformation for set of given hits; reference position taken as POCA of the fitted trajecto...
std::vector< const CDCWireHit * > getHitsWRTtoRefPos(const Vector2D &refPos, float curv, float theta)
Get hits which are compatible with given trajectory.
A two dimensional vector which is equipped with functions for correct handeling of orientation relat...
Definition: Vector2D.h:32
Abstract base class for different kinds of events.