ATLAS Offline Software
Loading...
Searching...
No Matches
SimpleConstituentUserInfo Class Referenceabstract

#include <SimpleConstituentUserInfo.h>

Inheritance diagram for SimpleConstituentUserInfo:
Collaboration diagram for SimpleConstituentUserInfo:

Public Types

typedef int Index
typedef std::string Label

Public Member Functions

 SimpleConstituentUserInfo ()
 SimpleConstituentUserInfo (const xAOD::IParticle &par, std::string label)
const xAOD::IParticleparticle () const
Label label () const
virtual const SG::AuxElementelement () const =0
virtual Index index () const
virtual const LabelIndexlabelMap () const
virtual bool isGhost () const
 Returns true if this constituent is a ghost.
virtual xAOD::JetConstitScale constitScale () const
 Return the constituent scale used to build the PseudoJet.

Private Attributes

const xAOD::IParticlem_ppar
Label m_label

Detailed Description

Definition at line 19 of file SimpleConstituentUserInfo.h.

Member Typedef Documentation

◆ Index

typedef int jet::IConstituentUserInfo::Index
inherited

Definition at line 30 of file IConstituentUserInfo.h.

◆ Label

typedef std::string jet::IConstituentUserInfo::Label
inherited

Definition at line 31 of file IConstituentUserInfo.h.

Constructor & Destructor Documentation

◆ SimpleConstituentUserInfo() [1/2]

SimpleConstituentUserInfo::SimpleConstituentUserInfo ( )

Definition at line 17 of file SimpleConstituentUserInfo.cxx.

18: m_ppar(nullptr) { }

◆ SimpleConstituentUserInfo() [2/2]

jet::SimpleConstituentUserInfo::SimpleConstituentUserInfo ( const xAOD::IParticle & par,
std::string label )

Member Function Documentation

◆ constitScale()

xAOD::JetConstitScale IConstituentUserInfo::constitScale ( ) const
virtualinherited

Return the constituent scale used to build the PseudoJet.

Reimplemented in jet::BaseIndexedConstituentUserInfo.

Definition at line 32 of file IConstituentUserInfo.cxx.

32 {
34}
@ CalibratedJetConstituent
Definition JetTypes.h:22

◆ element()

virtual const SG::AuxElement * jet::IConstituentUserInfo::element ( ) const
pure virtualinherited

◆ index()

IConstituentUserInfo::Index IConstituentUserInfo::index ( ) const
virtualinherited

Reimplemented in jet::BaseIndexedConstituentUserInfo.

Definition at line 14 of file IConstituentUserInfo.cxx.

14 {
15 return 0;
16}

◆ isGhost()

bool IConstituentUserInfo::isGhost ( ) const
virtualinherited

Returns true if this constituent is a ghost.

Reimplemented in jet::BaseIndexedConstituentUserInfo.

Definition at line 26 of file IConstituentUserInfo.cxx.

26 {
27 return false;
28}

◆ label()

Label SimpleConstituentUserInfo::label ( ) const
virtual

Implements jet::IConstituentUserInfo.

Definition at line 34 of file SimpleConstituentUserInfo.cxx.

◆ labelMap()

const LabelIndex * IConstituentUserInfo::labelMap ( ) const
virtualinherited

Reimplemented in jet::BaseIndexedConstituentUserInfo.

Definition at line 20 of file IConstituentUserInfo.cxx.

20 {
21 return nullptr;
22}

◆ particle()

const xAOD::IParticle * SimpleConstituentUserInfo::particle ( ) const
virtual

Implements jet::IConstituentUserInfo.

Definition at line 28 of file SimpleConstituentUserInfo.cxx.

28 {
29 return m_ppar;
30}

Member Data Documentation

◆ m_label

Label jet::SimpleConstituentUserInfo::m_label
private

Definition at line 39 of file SimpleConstituentUserInfo.h.

◆ m_ppar

const xAOD::IParticle* jet::SimpleConstituentUserInfo::m_ppar
private

Definition at line 38 of file SimpleConstituentUserInfo.h.


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