ATLAS Offline Software
P4EEtaPhiMBase.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_P4EETAPHIMBASE_H
8 #define FOURMOM_P4EETAPHIMBASE_H
10 #include "CLHEP/Vector/LorentzVector.h"
11 #include <ostream>
12 
25 class P4EEtaPhiMBase : public virtual I4Momentum
26 {
27  public:
29  virtual ~P4EEtaPhiMBase();
30 
31  virtual double px() const ;
32  virtual double py() const ;
33  virtual double pz() const;
34  virtual double et() const;
37  virtual double p() const;
38  virtual double p2() const;
39  virtual double m2() const;
40  virtual double pt() 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 
64 
66 
68  virtual std::ostream& dump( std::ostream& out = std::cout ) const;
69 };
70 
71 #endif
P4EEtaPhiMBase::cotTh
virtual double cotTh() const
cottan theta
Definition: P4EEtaPhiMBase.cxx:77
P4EEtaPhiMBase::pz
virtual double pz() const
z component of momentum
Definition: P4EEtaPhiMBase.cxx:130
P4EEtaPhiMBase::pt
virtual double pt() const
transverse momentum
Definition: P4EEtaPhiMBase.cxx:101
I4Momentum
Definition: I4Momentum.h:31
P4EEtaPhiMBase::cosPhi
virtual double cosPhi() const
cosinus phi
Definition: P4EEtaPhiMBase.cxx:54
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
P4EEtaPhiMBase::dump
virtual std::ostream & dump(std::ostream &out=std::cout) const
Print I4Momentum content.
Definition: P4EEtaPhiMBase.cxx:159
P4EEtaPhiMBase::kind
I4Momentum::Kind kind() const
tells what kind of P4XYZT this is
Definition: P4EEtaPhiMBase.h:65
I4Momentum.h
I4Momentum::Kind
Kind
Definition: I4Momentum.h:33
P4EEtaPhiMBase::rapidity
virtual double rapidity() const
rapidity
Definition: P4EEtaPhiMBase.cxx:115
P4EEtaPhiMBase::errors
virtual const I4MomentumError * errors() const
Access to errors, if available; returns 0 if no errors.
Definition: P4EEtaPhiMBase.cxx:175
P4EEtaPhiMBase::py
virtual double py() const
y component of momentum
Definition: P4EEtaPhiMBase.cxx:126
P4EEtaPhiMBase::hlv
virtual CLHEP::HepLorentzVector hlv() const
HepLorentzVector Special implementation from Frank Paige : if negative energy, points in opposite dir...
Definition: P4EEtaPhiMBase.cxx:134
I4MomentumError
Definition: I4MomentumError.h:28
P4EEtaPhiMBase::p2
virtual double p2() const
square of momentum magnitude
Definition: P4EEtaPhiMBase.cxx:39
P4EEtaPhiMBase::cosTh
virtual double cosTh() const
cosinus theta
Definition: P4EEtaPhiMBase.cxx:82
P4EEtaPhiMBase::~P4EEtaPhiMBase
virtual ~P4EEtaPhiMBase()
virtual destructor needed by pool
Definition: P4EEtaPhiMBase.cxx:11
P4EEtaPhiMBase::set4Mom
virtual void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference DUMMY IMPLEMENTATION
Definition: P4EEtaPhiMBase.cxx:181
P4EEtaPhiMBase::p
virtual double p() const
magnitude of 3-momentum.
Definition: P4EEtaPhiMBase.cxx:21
P4EEtaPhiMBase::sinTh
virtual double sinTh() const
sinus theta
Definition: P4EEtaPhiMBase.cxx:87
P4EEtaPhiMBase::sinPhi
virtual double sinPhi() const
sinus phi
Definition: P4EEtaPhiMBase.cxx:59
P4EEtaPhiMBase::tanTh
virtual double tanTh() const
tan theta
Definition: P4EEtaPhiMBase.cxx:64
P4EEtaPhiMBase
Definition: P4EEtaPhiMBase.h:26
P4EEtaPhiMBase::m2
virtual double m2() const
mass squared
Definition: P4EEtaPhiMBase.cxx:14
P4EEtaPhiMBase::et
virtual double et() const
transverse energy defined to be e*sin(theta)
Definition: P4EEtaPhiMBase.cxx:106
P4EEtaPhiMBase::iPt
virtual double iPt() const
inverse of transverse momentum
Definition: P4EEtaPhiMBase.cxx:111
I4Momentum::P4EETAPHIM
@ P4EETAPHIM
Definition: I4Momentum.h:33
P4EEtaPhiMBase::px
virtual double px() const
x component of momentum
Definition: P4EEtaPhiMBase.cxx:122