ATLAS Offline Software
Loading...
Searching...
No Matches
P4PxPyPzE_p1.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// P4PxPyPzE_p1.h
8// Header file for class P4PxPyPzE_p1
9// Author: S.Binet<binet@cern.ch>
11#ifndef EVENTCOMMONTPCNV_P4PXPYPZE_P1_H
12#define EVENTCOMMONTPCNV_P4PXPYPZE_P1_H
13
14// STL includes
15
16
17// Gaudi includes
18
19// Forward declaration
20class P4PxPyPzECnv_p1;
21
23{
24
26 // Public methods:
28 public:
29
32 P4PxPyPzE_p1( const float px = 0., const float py = 0.,
33 const float pz = 0., const float ene = 0. );
34
36 // Data: (don't bother encapsulate
38
39 float m_px;
40 float m_py;
41 float m_pz;
42 float m_ene;
43};
44
46// Inline methods:
48inline P4PxPyPzE_p1::P4PxPyPzE_p1( const float px, const float py,
49 const float pz, const float ene ) :
50 m_px ( px ),
51 m_py ( py ),
52 m_pz ( pz ),
53 m_ene ( ene )
54{}
55
56#endif //> EVENTCOMMONTPCNV_P4PXPYPZE_P1_H
P4PxPyPzE_p1(const float px=0., const float py=0., const float pz=0., const float ene=0.)
Constructor: with 4 floats.