ATLAS Offline Software
Loading...
Searching...
No Matches
jet::JetCellAccessor Class Reference

#include <JetCellAccessor.h>

Collaboration diagram for jet::JetCellAccessor:

Classes

class  const_iterator

Public Types

typedef CaloClusterCellLink::const_iterator cell_iterator
typedef std::vector< ElementLink< xAOD::IParticleContainer > >::const_iterator constit_iterator
typedef double weight_t

Public Member Functions

 JetCellAccessor (const xAOD::Jet *jet)

Static Public Member Functions

static const_iterator begin (const xAOD::Jet *jet)
static const_iterator end (const xAOD::Jet *jet)

Detailed Description

Definition at line 35 of file JetCellAccessor.h.

Member Typedef Documentation

◆ cell_iterator

◆ constit_iterator

◆ weight_t

Definition at line 41 of file JetCellAccessor.h.

Constructor & Destructor Documentation

◆ JetCellAccessor()

jet::JetCellAccessor::JetCellAccessor ( const xAOD::Jet * jet)

Member Function Documentation

◆ begin()

JetCellAccessor::const_iterator JetCellAccessor::begin ( const xAOD::Jet * jet)
static

Definition at line 76 of file JetCellAccessor.cxx.

76 {
77 const std::vector< ElementLink< xAOD::IParticleContainer > >& vec = jet->constituentLinks();
78 return {vec.begin(),vec.end()};
79 }
std::vector< size_t > vec
const std::vector< ElementLink< IParticleContainer > > & constituentLinks() const
Direct access to constituents. WARNING expert use only.
Definition Jet_v1.cxx:162

◆ end()

JetCellAccessor::const_iterator JetCellAccessor::end ( const xAOD::Jet * jet)
static

Definition at line 81 of file JetCellAccessor.cxx.

81 {
82 const std::vector< ElementLink< xAOD::IParticleContainer > >& vec = jet->constituentLinks();
83 return {vec.begin(),vec.end(), true};
84 }

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