ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TLorentzVectorAsIJet Class Reference

#include <TLorentzVectorAsIJet.h>

Inheritance diagram for TLorentzVectorAsIJet:
Collaboration diagram for TLorentzVectorAsIJet:

Public Member Functions

 TLorentzVectorAsIJet (const TLorentzVector &tl)
 
virtual double pt () const override
 
virtual double eta () const override
 
virtual double phi () const override
 
virtual double m () const override
 
virtual double e () const override
 
virtual double et () const override
 
virtual double rapidity () const override
 
virtual TLorentzVector p4 () const override
 
virtual unsigned int position () const override
 
virtual bool getAttribute (const std::string &, float &) const override
 
virtual bool getAttribute (const std::string &, bool &) const override
 
virtual std::string toString () const override
 
virtual std::optional< const xAOD::Jet * > xAODJet () const override
 

Private Attributes

double m_pt
 
double m_phi
 
double m_m
 
double m_e
 
double m_et
 
double m_eta
 
TLorentzVector m_tl
 
unsigned int m_position
 

Detailed Description

Definition at line 12 of file TLorentzVectorAsIJet.h.

Constructor & Destructor Documentation

◆ TLorentzVectorAsIJet()

TLorentzVectorAsIJet::TLorentzVectorAsIJet ( const TLorentzVector &  tl)
inline

Definition at line 14 of file TLorentzVectorAsIJet.h.

15  :m_pt(tl.Et()),
16  m_phi(tl.Phi()),
17  m_m(tl.M()),
18  m_e(tl.E()),
19  m_et(tl.Et()),
20  // m_eta(tl.Rapidity()),
21  m_eta(tl.Eta()),
22  m_tl(tl),
23  m_position(0){
24  }

Member Function Documentation

◆ e()

virtual double TLorentzVectorAsIJet::e ( ) const
inlineoverridevirtual

Implements HypoJet::IJet.

Definition at line 30 of file TLorentzVectorAsIJet.h.

30 {return m_e;}

◆ et()

virtual double TLorentzVectorAsIJet::et ( ) const
inlineoverridevirtual

Implements HypoJet::IJet.

Definition at line 31 of file TLorentzVectorAsIJet.h.

31 {return m_et;}

◆ eta()

virtual double TLorentzVectorAsIJet::eta ( ) const
inlineoverridevirtual

Implements HypoJet::IJet.

Definition at line 27 of file TLorentzVectorAsIJet.h.

27 {return m_eta;}

◆ getAttribute() [1/2]

virtual bool TLorentzVectorAsIJet::getAttribute ( const std::string &  ,
bool &   
) const
inlineoverridevirtual

Implements HypoJet::IJet.

Definition at line 36 of file TLorentzVectorAsIJet.h.

36 {return true;}

◆ getAttribute() [2/2]

virtual bool TLorentzVectorAsIJet::getAttribute ( const std::string &  ,
float &   
) const
inlineoverridevirtual

Implements HypoJet::IJet.

Definition at line 35 of file TLorentzVectorAsIJet.h.

35 {return true;}

◆ m()

virtual double TLorentzVectorAsIJet::m ( ) const
inlineoverridevirtual

Implements HypoJet::IJet.

Definition at line 29 of file TLorentzVectorAsIJet.h.

29 {return m_m;}

◆ p4()

virtual TLorentzVector TLorentzVectorAsIJet::p4 ( ) const
inlineoverridevirtual

Implements HypoJet::IJet.

Definition at line 33 of file TLorentzVectorAsIJet.h.

33 {return m_tl;}

◆ phi()

virtual double TLorentzVectorAsIJet::phi ( ) const
inlineoverridevirtual

Implements HypoJet::IJet.

Definition at line 28 of file TLorentzVectorAsIJet.h.

28 {return m_phi;}

◆ position()

virtual unsigned int TLorentzVectorAsIJet::position ( ) const
inlineoverridevirtual

Implements HypoJet::IJet.

Definition at line 34 of file TLorentzVectorAsIJet.h.

34 {return m_position;}

◆ pt()

virtual double TLorentzVectorAsIJet::pt ( ) const
inlineoverridevirtual

Implements HypoJet::IJet.

Definition at line 26 of file TLorentzVectorAsIJet.h.

26 {return m_pt;}

◆ rapidity()

virtual double TLorentzVectorAsIJet::rapidity ( ) const
inlineoverridevirtual

Implements HypoJet::IJet.

Definition at line 32 of file TLorentzVectorAsIJet.h.

32 {return m_eta;}

◆ toString()

virtual std::string TLorentzVectorAsIJet::toString ( ) const
inlineoverridevirtual

Implements HypoJet::IJet.

Definition at line 37 of file TLorentzVectorAsIJet.h.

37 {return "TLorentzVectorAsIJet";}

◆ xAODJet()

virtual std::optional<const xAOD::Jet*> TLorentzVectorAsIJet::xAODJet ( ) const
inlineoverridevirtual

Implements HypoJet::IJet.

Definition at line 38 of file TLorentzVectorAsIJet.h.

38  {
39  return std::optional<const xAOD::Jet*>();
40  }

Member Data Documentation

◆ m_e

double TLorentzVectorAsIJet::m_e
private

Definition at line 46 of file TLorentzVectorAsIJet.h.

◆ m_et

double TLorentzVectorAsIJet::m_et
private

Definition at line 47 of file TLorentzVectorAsIJet.h.

◆ m_eta

double TLorentzVectorAsIJet::m_eta
private

Definition at line 48 of file TLorentzVectorAsIJet.h.

◆ m_m

double TLorentzVectorAsIJet::m_m
private

Definition at line 45 of file TLorentzVectorAsIJet.h.

◆ m_phi

double TLorentzVectorAsIJet::m_phi
private

Definition at line 44 of file TLorentzVectorAsIJet.h.

◆ m_position

unsigned int TLorentzVectorAsIJet::m_position
private

Definition at line 50 of file TLorentzVectorAsIJet.h.

◆ m_pt

double TLorentzVectorAsIJet::m_pt
private

Definition at line 43 of file TLorentzVectorAsIJet.h.

◆ m_tl

TLorentzVector TLorentzVectorAsIJet::m_tl
private

Definition at line 49 of file TLorentzVectorAsIJet.h.


The documentation for this class was generated from the following file:
TLorentzVectorAsIJet::m_position
unsigned int m_position
Definition: TLorentzVectorAsIJet.h:50
TLorentzVectorAsIJet::m_eta
double m_eta
Definition: TLorentzVectorAsIJet.h:48
TLorentzVectorAsIJet::m_tl
TLorentzVector m_tl
Definition: TLorentzVectorAsIJet.h:49
TLorentzVectorAsIJet::m_phi
double m_phi
Definition: TLorentzVectorAsIJet.h:44
TLorentzVectorAsIJet::m_m
double m_m
Definition: TLorentzVectorAsIJet.h:45
TLorentzVectorAsIJet::m_et
double m_et
Definition: TLorentzVectorAsIJet.h:47
dqt_zlumi_alleff_HIST.tl
tl
Definition: dqt_zlumi_alleff_HIST.py:73
TLorentzVectorAsIJet::m_pt
double m_pt
Definition: TLorentzVectorAsIJet.h:43
TLorentzVectorAsIJet::m_e
double m_e
Definition: TLorentzVectorAsIJet.h:46