ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
TrkVertexFitter
TrkVertexFitterUtils
src
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
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ToolHandle.h"
10
#include "
TrkVertexFitterInterfaces/INeutralParticleParameterCalculator.h
"
11
12
#include "
xAODTracking/TrackParticleContainer.h
"
13
#include "
xAODTracking/Vertex.h
"
14
15
16
17
37
38
namespace
Trk
39
{
40
class
IVertexLinearizedTrackFactory
;
41
class
LinearizedTrack
;
42
43
class
NeutralParticleParameterCalculator
:
public
AthAlgTool
,
virtual
public
INeutralParticleParameterCalculator
44
{
45
public
:
46
virtual
StatusCode
initialize
()
override
;
47
51
NeutralParticleParameterCalculator
(
const
std::string& t,
const
std::string& n,
const
IInterface* p);
52
56
~NeutralParticleParameterCalculator
();
57
61
virtual
NeutralPerigee
*
createNeutralTrackFromVertex
(
const
xAOD::Vertex
& )
const override
;
62
63
private
:
64
65
std::pair<
AmgMatrix
(3,3),
AmgMatrix
(3,3)>
getPosMomentumAndMomentumCovMatrix
(
const
Trk::LinearizedTrack
* linTrack,
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
71
ToolHandle<
Trk
::
IVertexLinearizedTrackFactory
>
m_LinearizedTrackFactory
;
72
bool
m_linearizedTrackFactoryIsAvailable
;
73
74
};
75
76
}
77
78
#endif
AthAlgTool.h
AmgMatrix
#define AmgMatrix(rows, cols)
Definition
EventPrimitives.h:49
TrackParticleContainer.h
Vertex.h
INeutralParticleParameterCalculator.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
Trk::INeutralParticleParameterCalculator
interface for tools taking a two-track vertex and creating a neutral track from it.
Definition
INeutralParticleParameterCalculator.h:39
Trk::IVertexLinearizedTrackFactory
An Abstract Base Class for the LinearizedTrackFactories.
Definition
IVertexLinearizedTrackFactory.h:66
Trk::LinearizedTrack
Definition
LinearizedTrack.h:43
Trk::NeutralParticleParameterCalculator::m_linearizedTrackFactoryIsAvailable
bool m_linearizedTrackFactoryIsAvailable
Definition
NeutralParticleParameterCalculator.h:72
Trk::NeutralParticleParameterCalculator::theta
static double theta
Definition
NeutralParticleParameterCalculator.h:69
Trk::NeutralParticleParameterCalculator::m_LinearizedTrackFactory
ToolHandle< Trk::IVertexLinearizedTrackFactory > m_LinearizedTrackFactory
Definition
NeutralParticleParameterCalculator.h:71
Trk::NeutralParticleParameterCalculator::getPosMomentumAndMomentumCovMatrix
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
Definition
NeutralParticleParameterCalculator.cxx:206
Trk::NeutralParticleParameterCalculator::phi
static double double phi
Definition
NeutralParticleParameterCalculator.h:69
Trk::NeutralParticleParameterCalculator::AmgMatrix
static AmgMatrix(3, 3) getPhiThetaQOverPToPxPyPzJacobian(double qOverP
Trk::NeutralParticleParameterCalculator::NeutralParticleParameterCalculator
NeutralParticleParameterCalculator(const std::string &t, const std::string &n, const IInterface *p)
Default constructor due to Athena interface.
Definition
NeutralParticleParameterCalculator.cxx:24
Trk::NeutralParticleParameterCalculator::~NeutralParticleParameterCalculator
~NeutralParticleParameterCalculator()
Destructor.
Trk::NeutralParticleParameterCalculator::initialize
virtual StatusCode initialize() override
Definition
NeutralParticleParameterCalculator.cxx:35
Trk::NeutralParticleParameterCalculator::createNeutralTrackFromVertex
virtual NeutralPerigee * createNeutralTrackFromVertex(const xAOD::Vertex &) const override
method that makes the parameters of a V0 or photon before decay to two tracks
Definition
NeutralParticleParameterCalculator.cxx:45
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Trk::NeutralPerigee
ParametersT< NeutralParametersDim, Neutral, PerigeeSurface > NeutralPerigee
Definition
NeutralParameters.h:31
Trk::qOverP
@ qOverP
perigee
Definition
ParamDefs.h:67
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition
Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
Generated on
for ATLAS Offline Software by
1.17.0