ATLAS Offline Software
Loading...
Searching...
No Matches
P4EEtaPhiM_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// P4EEtaPhiM_p1.h
8// Header file for class P4EEtaPhiM_p1
9// Author: S.Binet<binet@cern.ch>
11#ifndef EVENTCOMMONTPCNV_P4EETAPHIM_P1_H
12#define EVENTCOMMONTPCNV_P4EETAPHIM_P1_H
13
14// STL includes
15
16
17// Gaudi includes
18
19// Forward declaration
21
23{
24
26 // Public methods:
28 public:
29
32 P4EEtaPhiM_p1( const float ene = 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_e;
40 float m_eta;
41 float m_phi;
42 float m_m;
43};
44
46// Inline methods:
48inline P4EEtaPhiM_p1::P4EEtaPhiM_p1( const float ene, const float eta,
49 const float phi, const float mass ) :
50 m_e ( ene ),
51 m_eta( eta ),
52 m_phi( phi ),
53 m_m ( mass )
54{}
55
56#endif //> EVENTCOMMONTPCNV_P4EETAPHIM_P1_H
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
P4EEtaPhiM_p1(const float ene=0., const float eta=0., const float phi=0., const float mass=0.)
Constructor: with 4 floats.