ATLAS Offline Software
P4PtEtaPhiMBase.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_P4PTETAPHIMBASE_H
8 #define FOURMOM_P4PTETAPHIMBASE_H
10 #include "CLHEP/Vector/LorentzVector.h"
11 #include <ostream>
12 
25 class P4PtEtaPhiMBase : public virtual I4Momentum
26 {
27  public:
29  virtual ~P4PtEtaPhiMBase();
30 
31  virtual double px() const ;
32  virtual double py() const ;
33  virtual double pz() const;
34  virtual double e() const;
37  virtual double p() const;
38  virtual double p2() const;
39  virtual double m2() const;
40  virtual double et() const;
41  virtual double iPt() const;
42  virtual double rapidity() const;
43  virtual double cosPhi() const;
44  virtual double sinPhi() const;
45  virtual double cotTh() const;
46  virtual double cosTh() const;
47  virtual double sinTh() const;
48  virtual double tanTh() const;
53  virtual CLHEP::HepLorentzVector hlv() const;
54 
55  virtual const I4MomentumError* errors() const;
56 
58  virtual void set4Mom (const I4Momentum & theI4Mom );
60  virtual void set4Mom (const I4Momentum * const theI4Mom );
62  virtual void set4Mom (const CLHEP::HepLorentzVector & theHlv );
63 
65 
66  virtual std::ostream& dump( std::ostream& out ) const;
67 };
68 
69 
70 #endif
I4Momentum
Definition: I4Momentum.h:31
P4PtEtaPhiMBase::tanTh
virtual double tanTh() const
tan theta
Definition: P4PtEtaPhiMBase.cxx:87
P4PtEtaPhiMBase::rapidity
virtual double rapidity() const
rapidity
Definition: P4PtEtaPhiMBase.cxx:110
P4PtEtaPhiMBase::e
virtual double e() const
energy
Definition: P4PtEtaPhiMBase.cxx:13
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
P4PtEtaPhiMBase::cotTh
virtual double cotTh() const
cottan theta
Definition: P4PtEtaPhiMBase.cxx:65
P4PtEtaPhiMBase::p2
virtual double p2() const
square of momentum magnitude
Definition: P4PtEtaPhiMBase.cxx:40
I4Momentum.h
I4Momentum::Kind
Kind
Definition: I4Momentum.h:33
P4PtEtaPhiMBase::cosPhi
virtual double cosPhi() const
cosinus phi
Definition: P4PtEtaPhiMBase.cxx:55
P4PtEtaPhiMBase::py
virtual double py() const
y component of momentum
Definition: P4PtEtaPhiMBase.cxx:121
P4PtEtaPhiMBase::kind
I4Momentum::Kind kind() const
tells what kind of P4XYZT this is
Definition: P4PtEtaPhiMBase.h:64
P4PtEtaPhiMBase::~P4PtEtaPhiMBase
virtual ~P4PtEtaPhiMBase()
virtual destructor needed by pool
Definition: P4PtEtaPhiMBase.cxx:10
P4PtEtaPhiMBase::iPt
virtual double iPt() const
inverse of transverse momentum
Definition: P4PtEtaPhiMBase.cxx:106
I4MomentumError
Definition: I4MomentumError.h:28
P4PtEtaPhiMBase::m2
virtual double m2() const
mass squared
Definition: P4PtEtaPhiMBase.cxx:50
I4Momentum::P4PTETAPHIM
@ P4PTETAPHIM
Definition: I4Momentum.h:33
P4PtEtaPhiMBase::sinPhi
virtual double sinPhi() const
sinus phi
Definition: P4PtEtaPhiMBase.cxx:60
P4PtEtaPhiMBase::et
virtual double et() const
transverse energy defined to be e*sin(theta)
Definition: P4PtEtaPhiMBase.cxx:101
P4PtEtaPhiMBase::hlv
virtual CLHEP::HepLorentzVector hlv() const
HepLorentzVector Special implementation from Frank Paige : if negative energy, points in opposite dir...
Definition: P4PtEtaPhiMBase.cxx:128
P4PtEtaPhiMBase
Definition: P4PtEtaPhiMBase.h:26
P4PtEtaPhiMBase::dump
virtual std::ostream & dump(std::ostream &out) const
Print I4Momentum content.
Definition: P4PtEtaPhiMBase.cxx:147
P4PtEtaPhiMBase::px
virtual double px() const
x component of momentum
Definition: P4PtEtaPhiMBase.cxx:117
P4PtEtaPhiMBase::pz
virtual double pz() const
z component of momentum
Definition: P4PtEtaPhiMBase.cxx:125
P4PtEtaPhiMBase::cosTh
virtual double cosTh() const
cosinus theta
Definition: P4PtEtaPhiMBase.cxx:70
P4PtEtaPhiMBase::set4Mom
virtual void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference DUMMY IMPLEMENTATION
Definition: P4PtEtaPhiMBase.cxx:167
P4PtEtaPhiMBase::p
virtual double p() const
magnitude of 3-momentum.
Definition: P4PtEtaPhiMBase.cxx:27
P4PtEtaPhiMBase::sinTh
virtual double sinTh() const
sinus theta
Definition: P4PtEtaPhiMBase.cxx:75
P4PtEtaPhiMBase::errors
virtual const I4MomentumError * errors() const
Access to errors, if available; returns 0 if no errors.
Definition: P4PtEtaPhiMBase.cxx:162