ATLAS Offline Software
Loading...
Searching...
No Matches
xAODJetAsIJet.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGHLTJETHYPO_XAODJETASIJET_H
6#define TRIGHLTJETHYPO_XAODJETASIJET_H
7
11#include "xAODJet/Jet.h"
12
13class TLorentzVector;
14
15namespace HypoJet{
16 class xAODJetAsIJet: virtual public IJet, private JetBase{
17 public:
18 xAODJetAsIJet(const xAOD::Jet* jet, unsigned int position);
20 double pt() const override;
21 double eta() const override;
22 double phi() const override;
23 double m() const override;
24 double e() const override;
25 double et() const override;
26 double rapidity() const override;
27 TLorentzVector p4() const override;
28 unsigned int position() const override;
29
30
31 virtual std::optional<const xAOD::Jet*> xAODJet() const override;
32 bool getAttribute(const std::string&, float&) const override;
33 bool getAttribute(const std::string&, bool&) const override;
34
35 private:
37 unsigned int m_position;
38 };
39}
40#endif
xAODJetAsIJet(const xAOD::Jet *jet, unsigned int position)
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
Jet_v1 Jet
Definition of the current "jet version".