ATLAS Offline Software
P4PxPyPzEBase.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 #ifndef FOURMOM_P4PXPYPZEBASE_H
8 #define FOURMOM_P4PXPYPZEBASE_H
10 #include "CLHEP/Vector/LorentzVector.h"
11 #include <ostream>
12 
24 class P4PxPyPzEBase : public virtual I4Momentum
25 
26 {
27  public:
28 
30  virtual ~P4PxPyPzEBase();
31 
32  virtual double m() const ;
33  virtual double m2() const ;
34  virtual double eta() const ;
35  virtual double phi() const ;
36  virtual double p() const;
37  virtual double p2() const;
38  virtual double pt() const;
39  virtual double et() const;
40  virtual double iPt() const;
41  virtual double rapidity() const;
42  virtual double cosPhi() const;
43  virtual double sinPhi() const;
44  virtual double tanTh() const;
45  virtual double cotTh() const;
46  virtual double cosTh() const;
47  virtual double sinTh() const;
48  virtual CLHEP::HepLorentzVector hlv() const;
49 
50  virtual const I4MomentumError* errors() const;
51 
53  virtual void set4Mom (const I4Momentum & theI4Mom );
55  virtual void set4Mom (const I4Momentum * const theI4Mom );
57  virtual void set4Mom (const CLHEP::HepLorentzVector & theHlv );
58 
59  virtual I4Momentum::Kind kind() const { return I4Momentum::P4PXPYPZE; };
60 
61  virtual std::ostream& dump( std::ostream& out ) const;
62 };
63 
64 
65 #endif
I4Momentum
Definition: I4Momentum.h:31
P4PxPyPzEBase::p
virtual double p() const
momentum magnitude
Definition: P4PxPyPzEBase.cxx:68
P4PxPyPzEBase::errors
virtual const I4MomentumError * errors() const
Access to errors, if available; returns 0 if no errors.
Definition: P4PxPyPzEBase.cxx:169
P4PxPyPzEBase::eta
virtual double eta() const
pseudo rapidity
Definition: P4PxPyPzEBase.cxx:32
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
P4PxPyPzEBase::et
virtual double et() const
transverse energy defined to be e*sin(theta)
Definition: P4PxPyPzEBase.cxx:125
P4PxPyPzEBase::sinTh
virtual double sinTh() const
sinus theta
Definition: P4PxPyPzEBase.cxx:106
P4PxPyPzEBase::~P4PxPyPzEBase
virtual ~P4PxPyPzEBase()
virtual destructor needed by pool
Definition: P4PxPyPzEBase.cxx:11
I4Momentum.h
I4Momentum::Kind
Kind
Definition: I4Momentum.h:33
P4PxPyPzEBase::p2
virtual double p2() const
square of momentum magnitude
Definition: P4PxPyPzEBase.cxx:59
P4PxPyPzEBase::m
virtual double m() const
mass
Definition: P4PxPyPzEBase.cxx:25
I4MomentumError
Definition: I4MomentumError.h:28
P4PxPyPzEBase::cosPhi
virtual double cosPhi() const
cosinus phi
Definition: P4PxPyPzEBase.cxx:77
P4PxPyPzEBase::pt
virtual double pt() const
transverse momentum
Definition: P4PxPyPzEBase.cxx:114
P4PxPyPzEBase::cosTh
virtual double cosTh() const
cosinus theta
Definition: P4PxPyPzEBase.cxx:98
P4PxPyPzEBase::rapidity
virtual double rapidity() const
rapidity
Definition: P4PxPyPzEBase.cxx:136
P4PxPyPzEBase
Definition: P4PxPyPzEBase.h:26
P4PxPyPzEBase::iPt
virtual double iPt() const
inverse of transverse momentum
Definition: P4PxPyPzEBase.cxx:131
P4PxPyPzEBase::tanTh
virtual double tanTh() const
tan theta
Definition: P4PxPyPzEBase.cxx:87
P4PxPyPzEBase::hlv
virtual CLHEP::HepLorentzVector hlv() const
CLHEP HepLorentzVector.
Definition: P4PxPyPzEBase.cxx:147
P4PxPyPzEBase::cotTh
virtual double cotTh() const
cottan theta
Definition: P4PxPyPzEBase.cxx:92
P4PxPyPzEBase::sinPhi
virtual double sinPhi() const
sinus phi
Definition: P4PxPyPzEBase.cxx:82
P4PxPyPzEBase::kind
virtual I4Momentum::Kind kind() const
tells what kind of P4XYZT this is
Definition: P4PxPyPzEBase.h:59
P4PxPyPzEBase::phi
virtual double phi() const
phi in [-pi,pi[
Definition: P4PxPyPzEBase.cxx:50
P4PxPyPzEBase::m2
virtual double m2() const
mass squared
Definition: P4PxPyPzEBase.cxx:14
P4PxPyPzEBase::set4Mom
virtual void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference DUMMY IMPLEMENTATION
Definition: P4PxPyPzEBase.cxx:175
P4PxPyPzEBase::dump
virtual std::ostream & dump(std::ostream &out) const
Print I4Momentum content.
Definition: P4PxPyPzEBase.cxx:152
I4Momentum::P4PXPYPZE
@ P4PXPYPZE
Definition: I4Momentum.h:33