ATLAS Offline Software
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 
13 class TLorentzVector;
14 
15 namespace 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:
36  const xAOD::Jet* m_jet;
37  unsigned int m_position;
38  };
39 }
40 #endif
Jet.h
JetBase.h
HypoJetDefs.h
IJet.h
HypoJet::xAODJetAsIJet::xAODJetAsIJet
xAODJetAsIJet(const xAOD::Jet *jet, unsigned int position)
Definition: xAODJetAsIJet.cxx:10
HypoJet::xAODJetAsIJet::~xAODJetAsIJet
~xAODJetAsIJet()
Definition: xAODJetAsIJet.cxx:13
HypoJet::xAODJetAsIJet::et
double et() const override
Definition: xAODJetAsIJet.cxx:25
HypoJet::xAODJetAsIJet::position
unsigned int position() const override
Definition: xAODJetAsIJet.cxx:31
HypoJet::xAODJetAsIJet::m_jet
const xAOD::Jet * m_jet
Definition: xAODJetAsIJet.h:36
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
HypoJet::xAODJetAsIJet::m_position
unsigned int m_position
Definition: xAODJetAsIJet.h:37
HypoJet::IJet
Definition: IJet.h:16
HypoJet::xAODJetAsIJet::phi
double phi() const override
Definition: xAODJetAsIJet.cxx:19
HypoJet::xAODJetAsIJet::m
double m() const override
Definition: xAODJetAsIJet.cxx:21
HypoJet::xAODJetAsIJet::p4
TLorentzVector p4() const override
Definition: xAODJetAsIJet.cxx:29
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
HypoJet::xAODJetAsIJet::e
double e() const override
Definition: xAODJetAsIJet.cxx:23
HypoJet::xAODJetAsIJet::eta
double eta() const override
Definition: xAODJetAsIJet.cxx:17
HypoJet::xAODJetAsIJet::rapidity
double rapidity() const override
Definition: xAODJetAsIJet.cxx:27
HypoJet::xAODJetAsIJet::pt
double pt() const override
Definition: xAODJetAsIJet.cxx:15
HypoJet::xAODJetAsIJet
Definition: xAODJetAsIJet.h:16
HypoJet::xAODJetAsIJet::getAttribute
bool getAttribute(const std::string &, float &) const override
Definition: xAODJetAsIJet.cxx:33
HypoJet::JetBase
Definition: JetBase.h:12
HypoJet
Definition: AcceptAllCondition.h:19
HypoJet::xAODJetAsIJet::xAODJet
virtual std::optional< const xAOD::Jet * > xAODJet() const override
Definition: xAODJetAsIJet.cxx:41