ATLAS Offline Software
Trigger
EFTracking
FPGATrackSim
FPGATrackSimObjects
FPGATrackSimObjects
FPGATrackSimTrackPars.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGFPGATrackSimOBJECTS_FPGATrackSimTRACKPARS_H
6
#define TRIGFPGATrackSimOBJECTS_FPGATrackSimTRACKPARS_H
7
8
17
#include <string>
18
#include <iostream>
19
#include <cmath>
20
21
class
FPGATrackSimTrackPars
22
{
23
public
:
24
double
phi
;
25
double
qOverPt
;
26
double
d0
;
27
double
z0
;
28
double
eta
;
29
31
// Methods
32
33
FPGATrackSimTrackPars
(
double
init
= std::nan(
""
)) :
34
phi
(
init
),
35
qOverPt
(
init
),
36
d0
(
init
),
37
z0
(
init
),
38
eta
(
init
)
39
{
40
}
41
const
double
&
operator[]
(
unsigned
i
)
const
;
42
double
&
operator[]
(
unsigned
i
);
43
45
// Statics
46
47
friend
std::ostream&
operator<<
(std::ostream&
os
,
const
FPGATrackSimTrackPars
&
pars
);
48
49
enum
pars_index
{
IPHI
,
IHIP
,
ID0
,
IZ0
,
IETA
,
NPARS
};
50
static
std::string
parName
(
unsigned
i
);
51
};
52
53
54
// Useful to store bin numbers, i.e.
55
class
FPGATrackSimTrackParsI
56
{
57
public
:
58
int
phi
;
59
int
qOverPt
;
60
int
d0
;
61
int
z0
;
62
int
eta
;
63
64
const
int
&
operator[]
(
unsigned
i
)
const
;
65
int
&
operator[]
(
unsigned
i
);
66
67
friend
std::ostream&
operator<<
(std::ostream&
os
,
const
FPGATrackSimTrackParsI
&
pars
);
68
69
FPGATrackSimTrackParsI
(
int
init
= 0) :
70
phi
(
init
),
71
qOverPt
(
init
),
72
d0
(
init
),
73
z0
(
init
),
74
eta
(
init
)
75
{
76
}
77
};
78
79
80
81
#endif
make_hlt_rep.pars
pars
Definition:
make_hlt_rep.py:90
FPGATrackSimTrackPars::IHIP
@ IHIP
Definition:
FPGATrackSimTrackPars.h:49
FPGATrackSimTrackPars::ID0
@ ID0
Definition:
FPGATrackSimTrackPars.h:49
FPGATrackSimTrackPars::phi
double phi
Definition:
FPGATrackSimTrackPars.h:24
FPGATrackSimTrackParsI::eta
int eta
Definition:
FPGATrackSimTrackPars.h:62
FPGATrackSimTrackPars
Definition:
FPGATrackSimTrackPars.h:22
FPGATrackSimTrackPars::qOverPt
double qOverPt
Definition:
FPGATrackSimTrackPars.h:25
FPGATrackSimTrackPars::IZ0
@ IZ0
Definition:
FPGATrackSimTrackPars.h:49
FPGATrackSimTrackPars::d0
double d0
Definition:
FPGATrackSimTrackPars.h:26
FPGATrackSimTrackPars::operator<<
friend std::ostream & operator<<(std::ostream &os, const FPGATrackSimTrackPars &pars)
Definition:
FPGATrackSimTrackPars.cxx:85
FPGATrackSimTrackParsI::d0
int d0
Definition:
FPGATrackSimTrackPars.h:60
FPGATrackSimTrackPars::eta
double eta
Definition:
FPGATrackSimTrackPars.h:28
FPGATrackSimTrackParsI::operator<<
friend std::ostream & operator<<(std::ostream &os, const FPGATrackSimTrackParsI &pars)
Definition:
FPGATrackSimTrackPars.cxx:95
lumiFormat.i
int i
Definition:
lumiFormat.py:85
FPGATrackSimTrackPars::FPGATrackSimTrackPars
FPGATrackSimTrackPars(double init=std::nan(""))
Definition:
FPGATrackSimTrackPars.h:33
ReadFromCoolCompare.os
os
Definition:
ReadFromCoolCompare.py:231
FPGATrackSimTrackPars::operator[]
const double & operator[](unsigned i) const
Definition:
FPGATrackSimTrackPars.cxx:16
FPGATrackSimTrackPars::pars_index
pars_index
Definition:
FPGATrackSimTrackPars.h:49
FPGATrackSimTrackPars::parName
static std::string parName(unsigned i)
Definition:
FPGATrackSimTrackPars.cxx:72
python.PyKernel.init
def init(v_theApp, v_rootStream=None)
Definition:
PyKernel.py:45
FPGATrackSimTrackPars::IPHI
@ IPHI
Definition:
FPGATrackSimTrackPars.h:49
FPGATrackSimTrackParsI::phi
int phi
Definition:
FPGATrackSimTrackPars.h:58
FPGATrackSimTrackParsI::FPGATrackSimTrackParsI
FPGATrackSimTrackParsI(int init=0)
Definition:
FPGATrackSimTrackPars.h:69
FPGATrackSimTrackPars::z0
double z0
Definition:
FPGATrackSimTrackPars.h:27
FPGATrackSimTrackPars::NPARS
@ NPARS
Definition:
FPGATrackSimTrackPars.h:49
FPGATrackSimTrackParsI::z0
int z0
Definition:
FPGATrackSimTrackPars.h:61
FPGATrackSimTrackParsI::operator[]
const int & operator[](unsigned i) const
Definition:
FPGATrackSimTrackPars.cxx:44
FPGATrackSimTrackParsI::qOverPt
int qOverPt
Definition:
FPGATrackSimTrackPars.h:59
FPGATrackSimTrackParsI
Definition:
FPGATrackSimTrackPars.h:56
FPGATrackSimTrackPars::IETA
@ IETA
Definition:
FPGATrackSimTrackPars.h:49
Generated on Sun Dec 22 2024 21:10:39 for ATLAS Offline Software by
1.8.18