ATLAS Offline Software
PhysicsAnalysis
D3PDMaker
D3PDMakerTest
D3PDMakerTest
MyVec2.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
16
#ifndef D3PDMAKERTEST_MYVEC2_H
17
#define D3PDMAKERTEST_MYVEC2_H
18
19
20
namespace
D3PDTest
{
21
22
23
class
MyVec2
24
{
25
public
:
26
MyVec2
() :
m_pt
(0),
m_eta
(0),
m_phi
(0),
m_m
(0) {}
27
float
Pt
()
const
{
return
m_pt
; }
28
float
Eta
()
const
{
return
m_eta
; }
29
float
Phi
()
const
{
return
m_phi
; }
30
float
M
()
const
{
return
m_m
; }
31
void
SetPtEtaPhiM
(
float
pt
,
float
eta,
float
phi,
float
m
)
32
{
33
m_pt
=
pt
;
34
m_eta
= eta;
35
m_phi
= phi;
36
m_m
=
m
;
37
}
38
39
private
:
40
float
m_pt
;
41
float
m_eta
;
42
float
m_phi
;
43
float
m_m
;
44
};
45
46
47
}
// namespace D3PDTest
48
49
50
#endif // not D3PDMAKERTEST_MYVEC2_H
python.SystemOfUnits.m
int m
Definition:
SystemOfUnits.py:91
D3PDTest::MyVec2::m_eta
float m_eta
Definition:
MyVec2.h:41
D3PDTest::MyVec2::m_m
float m_m
Definition:
MyVec2.h:43
test_pyathena.pt
pt
Definition:
test_pyathena.py:11
D3PDTest::MyVec2::Phi
float Phi() const
Definition:
MyVec2.h:29
D3PDTest::MyVec2::m_pt
float m_pt
Definition:
MyVec2.h:40
D3PDTest::MyVec2::M
float M() const
Definition:
MyVec2.h:30
D3PDTest::MyVec2::Eta
float Eta() const
Definition:
MyVec2.h:28
D3PDTest::MyVec2
Definition:
MyVec2.h:24
D3PDTest::MyVec2::SetPtEtaPhiM
void SetPtEtaPhiM(float pt, float eta, float phi, float m)
Definition:
MyVec2.h:31
D3PDTest::MyVec2::m_phi
float m_phi
Definition:
MyVec2.h:42
D3PDTest::MyVec2::MyVec2
MyVec2()
Definition:
MyVec2.h:26
D3PDTest::MyVec2::Pt
float Pt() const
Definition:
MyVec2.h:27
D3PDTest
Definition:
MapDumper.h:25
Generated on Sun Dec 22 2024 21:15:35 for ATLAS Offline Software by
1.8.18