ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
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) {}

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:
xAOD::JetAttributeAccessor::Named::m_name
std::string m_name
Definition: JetAccessors.h:45
xAOD::JetAttributeAccessor::FourMomAccessor::m_p0
SG::AuxElement::Accessor< float > m_p0
Definition: JetAccessors.h:146
xAOD::JetAttributeAccessor::Named::name
const std::string & name() const
Definition: JetAccessors.h:43
xAOD::e
setPy e
Definition: CompositeParticle_v1.cxx:166
xAOD::JetAttributeAccessor::FourMomAccessor::m_p3
SG::AuxElement::Accessor< float > m_p3
Definition: JetAccessors.h:149
Rtt_histogram.n1
n1
Definition: Rtt_histogram.py:21
xAOD::JetAttributeAccessor::FourMomAccessor::m_p1
SG::AuxElement::Accessor< float > m_p1
Definition: JetAccessors.h:147
xAOD::JetAttributeAccessor::FourMomAccessor::m_p2
SG::AuxElement::Accessor< float > m_p2
Definition: JetAccessors.h:148
xAOD::JetAttributeAccessor::Named::Named
Named(const std::string &n)
Definition: JetAccessors.h:42