ATLAS Offline Software
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 
38 namespace Trk
39 {
40  class IVertexLinearizedTrackFactory;
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
Trk::NeutralParticleParameterCalculator::theta
static double theta
Definition: NeutralParticleParameterCalculator.h:69
Trk::NeutralParticleParameterCalculator::initialize
virtual StatusCode initialize() override
Definition: NeutralParticleParameterCalculator.cxx:37
Trk::NeutralParticleParameterCalculator::m_linearizedTrackFactoryIsAvailable
bool m_linearizedTrackFactoryIsAvailable
Definition: NeutralParticleParameterCalculator.h:72
Trk::ParametersT
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition: EMErrorDetail.h:25
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:208
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
INeutralParticleParameterCalculator.h
Trk::NeutralParticleParameterCalculator::AmgMatrix
static AmgMatrix(3, 3) getPhiThetaQOverPToPxPyPzJacobian(double qOverP
Trk::INeutralParticleParameterCalculator
Definition: INeutralParticleParameterCalculator.h:39
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Trk::NeutralParticleParameterCalculator::NeutralParticleParameterCalculator
NeutralParticleParameterCalculator(const std::string &t, const std::string &n, const IInterface *p)
Default constructor due to Athena interface.
Definition: NeutralParticleParameterCalculator.cxx:26
Vertex.h
Trk::NeutralParticleParameterCalculator
Definition: NeutralParticleParameterCalculator.h:44
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::IVertexLinearizedTrackFactory
Definition: IVertexLinearizedTrackFactory.h:66
Trk::NeutralParticleParameterCalculator::phi
static double double phi
Definition: NeutralParticleParameterCalculator.h:69
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
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:47
Trk::NeutralParticleParameterCalculator::~NeutralParticleParameterCalculator
~NeutralParticleParameterCalculator()
Destructor.
Trk::qOverP
@ qOverP
perigee
Definition: ParamDefs.h:67
AthAlgTool
Definition: AthAlgTool.h:26
TrackParticleContainer.h
Trk::LinearizedTrack
Definition: LinearizedTrack.h:43