ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
jet::SimpleConstituentUserInfo Class Referenceabstract

#include <SimpleConstituentUserInfo.h>

Inheritance diagram for jet::SimpleConstituentUserInfo:
Collaboration diagram for jet::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. More...
 
virtual xAOD::JetConstitScale constitScale () const
 Return the constituent scale used to build the PseudoJet. More...
 

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 }

◆ 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.

34  {
35  return m_label;
36 }

◆ 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:
jet::SimpleConstituentUserInfo::m_ppar
const xAOD::IParticle * m_ppar
Definition: SimpleConstituentUserInfo.h:38
jet::SimpleConstituentUserInfo::m_label
Label m_label
Definition: SimpleConstituentUserInfo.h:39
xAOD::CalibratedJetConstituent
@ CalibratedJetConstituent
Definition: JetTypes.h:22