ATLAS Offline Software
Loading...
Searching...
No Matches
P4IPtCotThPhiMBase.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#ifndef FOURMOM_P4IPTCOTTHPHIMBASE_H
8#define FOURMOM_P4IPTCOTTHPHIMBASE_H
10#include "CLHEP/Vector/LorentzVector.h"
11#include <ostream>
12#include <cstdlib>
13
14
25
26
27class 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
I4Momentum is an abstract base class providing 4-momentum behavior.
Definition I4Momentum.h:31
P4IPtCotThPhiMBase is a base class for classes with 4-momentum behavior, for which 1/Pt,...
virtual double eta() const
pseudo rapidity
virtual CLHEP::HepLorentzVector hlv() const
CLHEP HepLorentzVector.
virtual double p() const
momentum magnitude
virtual double py() const
y component of momentum
virtual double pt() const
transverse momentum
virtual double m2() const
mass squared
virtual double sinPhi() const
sinus phi
virtual double et() const
transverse energy defined to be e*sin(theta)
virtual double pz() const
z component of momentum
virtual double p2() const
square of momentum magnitude
virtual double cosPhi() const
cosinus phi
virtual double cosTh() const
cosinus theta
virtual double px() const
x component of momentum
I4Momentum::Kind kind() const
tells what kind of P4XYZT this is
virtual double rapidity() const
rapidity
virtual ~P4IPtCotThPhiMBase()
virtual destructor needed by Pool
virtual const I4MomentumError * errors() const
Access to errors, if available; returns 0 if no errors.
virtual void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference DUMMY IMPLEMENTATION
virtual double e() const
energy
virtual double tanTh() const
tan theta
virtual double sinTh() const
sinus theta
-event-from-file