ATLAS Offline Software
NeutralTrack.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef VXJETVERTEX_NEUTRACK_H
6 #define VXJETVERTEX_NEUTRACK_H
8 
9 namespace Trk {
10  class NeutralTrack : std::pair<Amg::Vector3D,Amg::Vector3D> {
11 
12  public:
14 
16 
17  const Amg::Vector3D & position() const {
18  return this->first;
19  }
20 
21  const Amg::Vector3D & momentum() const {
22  return this->second;
23  }
24 
25  };
26 
28  std::pair<Amg::Vector3D,Amg::Vector3D>(x,p) {
29  }
30 }
31 
32 
33 #endif
python.SystemOfUnits.second
int second
Definition: SystemOfUnits.py:120
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
Trk::NeutralTrack::momentum
const Amg::Vector3D & momentum() const
Definition: NeutralTrack.h:21
Trk::NeutralTrack::~NeutralTrack
~NeutralTrack()
Definition: NeutralTrack.h:15
EventPrimitives.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Amg
Definition of ATLAS Math & Geometry primitives (Amg)
Definition: AmgStringHelpers.h:19
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
Trk::NeutralTrack
Definition: NeutralTrack.h:10
DeMoScan.first
bool first
Definition: DeMoScan.py:534
Trk::NeutralTrack::NeutralTrack
NeutralTrack(Amg::Vector3D x, Amg::Vector3D p)
Definition: NeutralTrack.h:27
Trk::x
@ x
Definition: ParamDefs.h:61
Trk::NeutralTrack::position
const Amg::Vector3D & position() const
Definition: NeutralTrack.h:17