ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::JetAttributeAccessor::FourMomAccessor Class Reference

A base class holding accessors for 4 floats of a 4-vector. More...

#include <JetAccessors.h>

Inheritance diagram for xAOD::JetAttributeAccessor::FourMomAccessor:
Collaboration diagram for xAOD::JetAttributeAccessor::FourMomAccessor:

Public Member Functions

 FourMomAccessor (const std::string &name, const std::string &n0, const std::string &n1, const std::string &n2, const std::string &n3)
bool isAvailable (const SG::AuxElement &e) const
const std::string & name () const

Protected Attributes

SG::AuxElement::Accessor< floatm_p0
SG::AuxElement::Accessor< floatm_p1
SG::AuxElement::Accessor< floatm_p2
SG::AuxElement::Accessor< floatm_p3
std::string m_name

Detailed Description

A base class holding accessors for 4 floats of a 4-vector.

Definition at line 138 of file JetAccessors.h.

Constructor & Destructor Documentation

◆ FourMomAccessor()

xAOD::JetAttributeAccessor::FourMomAccessor::FourMomAccessor ( const std::string & name,
const std::string & n0,
const std::string & n1,
const std::string & n2,
const std::string & n3 )
inline

Definition at line 140 of file JetAccessors.h.

141 :Named(name) , m_p0(n0), m_p1(n1), m_p2(n2), m_p3(n3) {}
SG::AuxElement::Accessor< float > m_p3
SG::AuxElement::Accessor< float > m_p1
SG::AuxElement::Accessor< float > m_p2
SG::AuxElement::Accessor< float > m_p0
Named(const std::string &n)
const std::string & name() const

Member Function Documentation

◆ isAvailable()

bool xAOD::JetAttributeAccessor::FourMomAccessor::isAvailable ( const SG::AuxElement & e) const
inline

Definition at line 143 of file JetAccessors.h.

143{return m_p0.isAvailable(e);}

◆ name()

const std::string & xAOD::JetAttributeAccessor::Named::name ( ) const
inlineinherited

Definition at line 43 of file JetAccessors.h.

43{return m_name;}

Member Data Documentation

◆ m_name

std::string xAOD::JetAttributeAccessor::Named::m_name
protectedinherited

Definition at line 45 of file JetAccessors.h.

◆ m_p0

SG::AuxElement::Accessor< float > xAOD::JetAttributeAccessor::FourMomAccessor::m_p0
protected

Definition at line 146 of file JetAccessors.h.

◆ m_p1

SG::AuxElement::Accessor< float > xAOD::JetAttributeAccessor::FourMomAccessor::m_p1
protected

Definition at line 147 of file JetAccessors.h.

◆ m_p2

SG::AuxElement::Accessor< float > xAOD::JetAttributeAccessor::FourMomAccessor::m_p2
protected

Definition at line 148 of file JetAccessors.h.

◆ m_p3

SG::AuxElement::Accessor< float > xAOD::JetAttributeAccessor::FourMomAccessor::m_p3
protected

Definition at line 149 of file JetAccessors.h.


The documentation for this class was generated from the following file: