ATLAS Offline Software
P4IPtCotThPhiMBase.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_P4IPTCOTTHPHIMBASE_H
8 #define FOURMOM_P4IPTCOTTHPHIMBASE_H
10 #include "CLHEP/Vector/LorentzVector.h"
11 #include <ostream>
12 #include <cstdlib>
13 
14 
27 class P4IPtCotThPhiMBase : public virtual I4Momentum
28 {
29  public:
31  virtual ~P4IPtCotThPhiMBase();
32 
33  virtual double e() const ;
34  virtual double eta() const ;
35  virtual double px() const ;
36  virtual double py() const ;
37  virtual double pz() const;
38  virtual double et() const;
39  virtual double m2() const;
40  virtual double p() const;
41  virtual double p2() const;
42  virtual double pt() const;
43  virtual double rapidity() const;
44  virtual double cosPhi() const;
45  virtual double sinPhi() const;
46  virtual double tanTh() const;
47  virtual double cosTh() const;
48  virtual double sinTh() const;
49  virtual CLHEP::HepLorentzVector hlv() const;
50 
51  virtual const I4MomentumError* errors() const;
52 
54  virtual void set4Mom (const I4Momentum & theI4Mom );
56  virtual void set4Mom (const I4Momentum * const theI4Mom );
58  virtual void set4Mom (const CLHEP::HepLorentzVector & theHlv );
59 
61 
62  virtual std::ostream& dump( std::ostream& out ) const;
63 };
64 
65 
66 
67 #endif
P4IPtCotThPhiMBase::sinPhi
virtual double sinPhi() const
sinus phi
Definition: P4IPtCotThPhiMBase.cxx:108
P4IPtCotThPhiMBase
Definition: P4IPtCotThPhiMBase.h:28
I4Momentum
Definition: I4Momentum.h:31
P4IPtCotThPhiMBase::pz
virtual double pz() const
z component of momentum
Definition: P4IPtCotThPhiMBase.cxx:99
I4Momentum::P4IPTCOTTHPHIM
@ P4IPTCOTTHPHIM
Definition: I4Momentum.h:33
P4IPtCotThPhiMBase::px
virtual double px() const
x component of momentum
Definition: P4IPtCotThPhiMBase.cxx:91
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
P4IPtCotThPhiMBase::rapidity
virtual double rapidity() const
rapidity
Definition: P4IPtCotThPhiMBase.cxx:84
I4Momentum.h
I4Momentum::Kind
Kind
Definition: I4Momentum.h:33
P4IPtCotThPhiMBase::hlv
virtual CLHEP::HepLorentzVector hlv() const
CLHEP HepLorentzVector.
Definition: P4IPtCotThPhiMBase.cxx:113
P4IPtCotThPhiMBase::p
virtual double p() const
momentum magnitude
Definition: P4IPtCotThPhiMBase.cxx:18
P4IPtCotThPhiMBase::m2
virtual double m2() const
mass squared
Definition: P4IPtCotThPhiMBase.cxx:31
P4IPtCotThPhiMBase::~P4IPtCotThPhiMBase
virtual ~P4IPtCotThPhiMBase()
virtual destructor needed by Pool
Definition: P4IPtCotThPhiMBase.cxx:9
P4IPtCotThPhiMBase::e
virtual double e() const
energy
Definition: P4IPtCotThPhiMBase.cxx:61
P4IPtCotThPhiMBase::eta
virtual double eta() const
pseudo rapidity
Definition: P4IPtCotThPhiMBase.cxx:76
I4MomentumError
Definition: I4MomentumError.h:28
P4IPtCotThPhiMBase::dump
virtual std::ostream & dump(std::ostream &out) const
Print I4Momentum content.
Definition: P4IPtCotThPhiMBase.cxx:126
P4IPtCotThPhiMBase::p2
virtual double p2() const
square of momentum magnitude
Definition: P4IPtCotThPhiMBase.cxx:24
P4IPtCotThPhiMBase::set4Mom
virtual void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference DUMMY IMPLEMENTATION
Definition: P4IPtCotThPhiMBase.cxx:148
P4IPtCotThPhiMBase::cosPhi
virtual double cosPhi() const
cosinus phi
Definition: P4IPtCotThPhiMBase.cxx:103
P4IPtCotThPhiMBase::errors
virtual const I4MomentumError * errors() const
Access to errors, if available; returns 0 if no errors.
Definition: P4IPtCotThPhiMBase.cxx:142
P4IPtCotThPhiMBase::py
virtual double py() const
y component of momentum
Definition: P4IPtCotThPhiMBase.cxx:95
P4IPtCotThPhiMBase::cosTh
virtual double cosTh() const
cosinus theta
Definition: P4IPtCotThPhiMBase.cxx:47
P4IPtCotThPhiMBase::kind
I4Momentum::Kind kind() const
tells what kind of P4XYZT this is
Definition: P4IPtCotThPhiMBase.h:60
P4IPtCotThPhiMBase::et
virtual double et() const
transverse energy defined to be e*sin(theta)
Definition: P4IPtCotThPhiMBase.cxx:69
P4IPtCotThPhiMBase::pt
virtual double pt() const
transverse momentum
Definition: P4IPtCotThPhiMBase.cxx:12
P4IPtCotThPhiMBase::sinTh
virtual double sinTh() const
sinus theta
Definition: P4IPtCotThPhiMBase.cxx:41
P4IPtCotThPhiMBase::tanTh
virtual double tanTh() const
tan theta
Definition: P4IPtCotThPhiMBase.cxx:36