ATLAS Offline Software
Loading...
Searching...
No Matches
CP::FlowElementPtr Struct Reference

For the flow elements we need a special derivate which also contains the weights. More...

#include <Defs.h>

Inheritance diagram for CP::FlowElementPtr:
Collaboration diagram for CP::FlowElementPtr:

Public Member Functions

 FlowElementPtr (const xAOD::FlowElement *ele, float weight_)
 FlowElementPtr ()=default
bool operator< (const FlowElementPtr &other) const
const xAOD::FlowElementget () const
const xAOD::FlowElementoperator-> () const
const xAOD::FlowElementoperator* () const
bool operator! () const
 operator bool () const
 operator const xAOD::FlowElement * () const
bool operator< (const SortedObjPtr< xAOD::FlowElement > &other) const

Public Attributes

float weight {1.f}

Private Attributes

const xAOD::FlowElementm_ptr

Detailed Description

For the flow elements we need a special derivate which also contains the weights.

Definition at line 60 of file PhysicsAnalysis/AnalysisCommon/IsolationSelection/IsolationSelection/Defs.h.

Constructor & Destructor Documentation

◆ FlowElementPtr() [1/2]

◆ FlowElementPtr() [2/2]

CP::FlowElementPtr::FlowElementPtr ( )
default

Member Function Documentation

◆ get()

const xAOD::FlowElement * CP::SortedObjPtr< xAOD::FlowElement >::get ( ) const
inlineinherited

Definition at line 45 of file PhysicsAnalysis/AnalysisCommon/IsolationSelection/IsolationSelection/Defs.h.

45{ return m_ptr; }
Small helper struct to have sets of particle pointers sorted by pt.

◆ operator bool()

CP::SortedObjPtr< xAOD::FlowElement >::operator bool ( ) const
inlineinherited

◆ operator const xAOD::FlowElement *()

CP::SortedObjPtr< xAOD::FlowElement >::operator const xAOD::FlowElement * ( ) const
inlineinherited

◆ operator!()

bool CP::SortedObjPtr< xAOD::FlowElement >::operator! ( ) const
inlineinherited

◆ operator*()

const xAOD::FlowElement & CP::SortedObjPtr< xAOD::FlowElement >::operator* ( ) const
inlineinherited

◆ operator->()

const xAOD::FlowElement * CP::SortedObjPtr< xAOD::FlowElement >::operator-> ( ) const
inlineinherited

◆ operator<() [1/2]

bool CP::FlowElementPtr::operator< ( const FlowElementPtr & other) const
inline

◆ operator<() [2/2]

bool CP::SortedObjPtr< xAOD::FlowElement >::operator< ( const SortedObjPtr< xAOD::FlowElement > & other) const
inlineinherited

Definition at line 51 of file PhysicsAnalysis/AnalysisCommon/IsolationSelection/IsolationSelection/Defs.h.

51 {
52 return other.get() != get() && get() &&
53 (!other || other->pt() < get()->pt() || (other->pt() == get()->pt() && other.get() < get()));
54 }
setRcore setEtHad setFside pt

Member Data Documentation

◆ m_ptr

◆ weight

float CP::FlowElementPtr::weight {1.f}

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