ATLAS Offline Software
Loading...
Searching...
No Matches
ParamDefs.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
6// ParamDefs.h, (c) ATLAS Detector software
8
9#ifndef TRKEVENTPRIMITIVES_PARAMDEFS_H
10#define TRKEVENTPRIMITIVES_PARAMDEFS_H
11
12#include <array>
13#include <string>
14
15namespace Trk {
16
31
33 // Enums for LocalParameters - LocalPosition/
34 loc1 = 0,
35 loc2 = 1,
36
37 locX = 0,
38 locY = 1,
39
42 locZ = 1,
43
44 locR = 0,
45 locPhi = 1,
46
47 iPhi = 0,
48 iEta = 1,
49
51 distEta = 1,
52
54 // Enums for const Amg::Vector3D & GlobalMomentum /
55 x = 0,
56 y = 1,
57 z = 2,
58
59 px = 0,
60 py = 1,
61 pz = 2,
62 // Enums for PerigParamDefsee //
63 d0 = 0,
64 z0 = 1,
65 phi0 = 2,
66 theta = 3,
67 qOverP = 4,
68 /* Enums for TrackState on Surfaces
69 The first two enums in the TrackParameters refer to the local Frame, i.e.
70 - LocalCartesian for AtanArbitraryPlane
71 - LocalCylindrical for AtaCylinder (includes line)
72 - LocalPolar for AtaDisc
73 The other three enums are standard \f$(\phi, \eta, \frac{q}{p_{T}})\f$
74 */
75 phi = 2,
77 u = 0,
78 v = 1,
79
82};
83
94 static constexpr std::array<ParamDefs, 6> pardef = {
96};
97
98 } // namespace Trk
99
100#endif // TRKEVENTPRIMITIVES_PARAMDEFS_H
101
Ensure that the ATLAS eigen extensions are properly loaded.
ParamDefs
This file defines the parameter enums in the Trk namespace.
Definition ParamDefs.h:32
@ driftRadius
trt, straws
Definition ParamDefs.h:53
@ iEta
(old readout) will be skipped
Definition ParamDefs.h:48
@ locY
local cartesian
Definition ParamDefs.h:38
@ x
Definition ParamDefs.h:55
@ locX
Definition ParamDefs.h:37
@ z
global position (cartesian)
Definition ParamDefs.h:57
@ pz
global momentum (cartesian)
Definition ParamDefs.h:61
@ iPhi
Definition ParamDefs.h:47
@ locR
Definition ParamDefs.h:44
@ v
Definition ParamDefs.h:78
@ locRPhi
Definition ParamDefs.h:40
@ u
Enums for curvilinear frames.
Definition ParamDefs.h:77
@ distEta
readout for silicon
Definition ParamDefs.h:51
@ phi0
Definition ParamDefs.h:65
@ distPhi
Definition ParamDefs.h:50
@ locPhiR
Definition ParamDefs.h:41
@ theta
Definition ParamDefs.h:66
@ qOverP
perigee
Definition ParamDefs.h:67
@ y
Definition ParamDefs.h:56
@ loc2
generic first and second local coordinate
Definition ParamDefs.h:35
@ phi
Definition ParamDefs.h:75
@ loc1
Definition ParamDefs.h:34
@ locZ
local cylindrical
Definition ParamDefs.h:42
@ d0
Definition ParamDefs.h:63
@ px
Definition ParamDefs.h:59
@ z0
Definition ParamDefs.h:64
@ trkMass
Extended perigee: mass.
Definition ParamDefs.h:81
@ py
Definition ParamDefs.h:60
@ locPhi
local polar
Definition ParamDefs.h:45
Simple struct to access the ParamDefs enum with ints.
Definition ParamDefs.h:92
static constexpr std::array< ParamDefs, 6 > pardef
Constructor.
Definition ParamDefs.h:94