ATLAS Offline Software
Loading...
Searching...
No Matches
NeutralParticleParameterCalculator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRKVERTEXFITTERUTILS_NEUTRALPARTICLEPARCALCULATOR_H
6#define TRKVERTEXFITTERUTILS_NEUTRALPARTICLEPARCALCULATOR_H
7
9#include "GaudiKernel/ToolHandle.h"
11
13#include "xAODTracking/Vertex.h"
14
15
16
17
37
38namespace Trk
39{
41 class LinearizedTrack;
42
44 {
45 public:
46 virtual StatusCode initialize() override;
47
51 NeutralParticleParameterCalculator(const std::string& t, const std::string& n, const IInterface* p);
52
57
61 virtual NeutralPerigee* createNeutralTrackFromVertex(const xAOD::Vertex& ) const override;
62
63 private:
64
66 const AmgMatrix(3,3) & vrt_cov,
67 const AmgMatrix(3,3) & vrt_weight) const;
68
69 static AmgMatrix(3,3) getPhiThetaQOverPToPxPyPzJacobian(double qOverP,double theta,double phi) ;
70
73
74 };
75
76}
77
78#endif
#define AmgMatrix(rows, cols)
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
interface for tools taking a two-track vertex and creating a neutral track from it.
An Abstract Base Class for the LinearizedTrackFactories.
ToolHandle< Trk::IVertexLinearizedTrackFactory > m_LinearizedTrackFactory
std::pair< AmgMatrix(3, 3), AmgMatrix(3, 3)> getPosMomentumAndMomentumCovMatrix(const Trk::LinearizedTrack *linTrack, const AmgMatrix(3, 3) &vrt_cov, const AmgMatrix(3, 3) &vrt_weight) const
static AmgMatrix(3, 3) getPhiThetaQOverPToPxPyPzJacobian(double qOverP
NeutralParticleParameterCalculator(const std::string &t, const std::string &n, const IInterface *p)
Default constructor due to Athena interface.
virtual NeutralPerigee * createNeutralTrackFromVertex(const xAOD::Vertex &) const override
method that makes the parameters of a V0 or photon before decay to two tracks
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersT< NeutralParametersDim, Neutral, PerigeeSurface > NeutralPerigee
@ qOverP
perigee
Definition ParamDefs.h:67
Vertex_v1 Vertex
Define the latest version of the vertex class.