ATLAS Offline Software
P4PtEtaPhiM_p1.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // P4PtEtaPhiM_p1.h
8 // Header file for class P4PtEtaPhiM_p1
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef EVENTCOMMONTPCNV_P4PTETAPHIM_P1_H
12 #define EVENTCOMMONTPCNV_P4PTETAPHIM_P1_H
13 
14 // STL includes
15 
16 
17 // Gaudi includes
18 
19 // Forward declaration
20 class P4PtEtaPhiMCnv_p1;
21 
23 {
24 
26  // Public methods:
28  public:
29 
32  P4PtEtaPhiM_p1( const float pt = 0., const float eta = 0.,
33  const float phi = 0., const float mass = 0. );
34 
36  // Data: (don't bother encapsulate
38 
39  float m_pt;
40  float m_eta;
41  float m_phi;
42  float m_mass;
43 };
44 
46 // Inline methods:
48 inline P4PtEtaPhiM_p1::P4PtEtaPhiM_p1( const float pt, const float eta,
49  const float phi, const float mass ) :
50  m_pt ( pt ),
51  m_eta ( eta ),
52  m_phi ( phi ),
53  m_mass( mass )
54 {}
55 
56 #endif //> EVENTCOMMONTPCNV_P4PTETAPHIM_P1_H
P4PtEtaPhiM_p1::m_eta
float m_eta
Definition: P4PtEtaPhiM_p1.h:40
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
Base_Fragment.mass
mass
Definition: Sherpa_i/share/common/Base_Fragment.py:59
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:83
P4PtEtaPhiM_p1::m_pt
float m_pt
Definition: P4PtEtaPhiM_p1.h:39
test_pyathena.pt
pt
Definition: test_pyathena.py:11
P4PtEtaPhiM_p1::m_mass
float m_mass
Definition: P4PtEtaPhiM_p1.h:42
P4PtEtaPhiM_p1::P4PtEtaPhiM_p1
P4PtEtaPhiM_p1(const float pt=0., const float eta=0., const float phi=0., const float mass=0.)
Constructor: with 4 floats.
Definition: P4PtEtaPhiM_p1.h:48
P4PtEtaPhiM_p1::m_phi
float m_phi
Definition: P4PtEtaPhiM_p1.h:41
P4PtEtaPhiM_p1
Definition: P4PtEtaPhiM_p1.h:23
P4PtEtaPhiMCnv_p1
Definition: P4PtEtaPhiMCnv_p1.h:35