ATLAS Offline Software
Loading...
Searching...
No Matches
Chi2TrackCompatibilityEstimator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRKVERTEXADAPTIVEFITTERTOOLS_CHI2TRACKCOMPATIBILITYESTIMATOR_H
6#define TRKVERTEXADAPTIVEFITTERTOOLS_CHI2TRACKCOMPATIBILITYESTIMATOR_H
7
10
11#include "xAODTracking/Vertex.h"
12
27
28
29namespace Trk
30{
31 class PerigeeLinearizedTrack;
32
33 class Chi2TrackCompatibilityEstimator : public extends<AthAlgTool, IVertexTrackCompatibilityEstimator>
34 {
35 public:
36 virtual StatusCode initialize() override;
37 virtual StatusCode finalize() override;
38
42 using base_class::base_class;
43
47 virtual
48 void estimate(VxTrackAtVertex &,const Amg::Vector3D & vertex) const override;
49
53 virtual
54 float compatibility(VxTrackAtVertex & vtxTrack,const Amg::Vector3D & vertex) const override;
55
56 private:
57
61 template<class T> float _compatibility(T & plane,const Amg::Vector3D & vertex) const;
62
63 };
64}
65#endif
This object reweights the tracks according to a chi2 value constructed according to the distance to t...
virtual float compatibility(VxTrackAtVertex &vtxTrack, const Amg::Vector3D &vertex) const override
Compatibility method returning the compatibility value.
float _compatibility(T &plane, const Amg::Vector3D &vertex) const
Compatibility method returning the compatibility value.
virtual void estimate(VxTrackAtVertex &, const Amg::Vector3D &vertex) const override
Estimate method changing the state of VxTrackAtVertex.
The VxTrackAtVertex is a common class for all present TrkVertexFitters The VxTrackAtVertex is designe...
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.