ATLAS Offline Software
Loading...
Searching...
No Matches
xAODJetAsIJet.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6#include <TLorentzVector.h>
7
9
12
14
15double xAODJetAsIJet::pt() const {return m_jet->pt();}
16
17double xAODJetAsIJet::eta() const {return m_jet->eta();}
18
19double xAODJetAsIJet::phi() const {return m_jet->phi();}
20
21double xAODJetAsIJet::m() const {return m_jet->m();}
22
23double xAODJetAsIJet::e() const {return m_jet->e();}
24
25double xAODJetAsIJet::et() const {return (m_jet->p4()).Et();}
26
27double xAODJetAsIJet::rapidity() const {return m_jet->rapidity();}
28
29TLorentzVector xAODJetAsIJet::p4() const {return m_jet->p4();}
30
31unsigned int xAODJetAsIJet::position() const {return m_position;}
32
33bool xAODJetAsIJet::getAttribute(const std::string &name, float& val) const{
34 return m_jet->getAttribute<float>(name, val);
35}
36
37bool xAODJetAsIJet::getAttribute(const std::string &name, bool& val) const{
38 return m_jet->getAttribute<bool>(name, val);
39}
40
41std::optional<const xAOD::Jet*> xAODJetAsIJet::xAODJet() const{
42 return std::make_optional<const xAOD::Jet*>(m_jet);
43}
bool getAttribute(const std::string &, float &) const override
double e() const override
double pt() const override
TLorentzVector p4() const override
unsigned int position() const override
double eta() const override
double et() const override
const xAOD::Jet * m_jet
double phi() const override
virtual std::optional< const xAOD::Jet * > xAODJet() const override
double rapidity() const override
double m() const override
xAODJetAsIJet(const xAOD::Jet *jet, unsigned int position)
Jet_v1 Jet
Definition of the current "jet version".