CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

JetReco::IndexedCandidate Class Reference

#include <JetRecoTypes.h>

List of all members.

Public Types

typedef reco::Candidate value_type

Public Member Functions

const value_typeget () const
unsigned index () const
 IndexedCandidate (const value_type *fCandidate, unsigned fIndex)
 IndexedCandidate ()
bool operator! () const
const bool operator!= (const IndexedCandidate &other) const
const value_typeoperator* () const
const value_typeoperator-> () const
const bool operator== (const IndexedCandidate &other) const

Private Attributes

const value_typemCandidate
unsigned mIndex

Detailed Description

Definition at line 12 of file JetRecoTypes.h.


Member Typedef Documentation

Definition at line 14 of file JetRecoTypes.h.


Constructor & Destructor Documentation

JetReco::IndexedCandidate::IndexedCandidate ( ) [inline]

Definition at line 15 of file JetRecoTypes.h.

      : mCandidate (0), mIndex(0) {}
JetReco::IndexedCandidate::IndexedCandidate ( const value_type fCandidate,
unsigned  fIndex 
) [inline]

Definition at line 17 of file JetRecoTypes.h.

      : mCandidate (fCandidate), mIndex (fIndex) {}

Member Function Documentation

const value_type* JetReco::IndexedCandidate::get ( void  ) const [inline]

Definition at line 24 of file JetRecoTypes.h.

References mCandidate.

{return mCandidate;}
unsigned JetReco::IndexedCandidate::index ( ) const [inline]

Definition at line 19 of file JetRecoTypes.h.

References mIndex.

{return mIndex;}
bool JetReco::IndexedCandidate::operator! ( ) const [inline]

Definition at line 25 of file JetRecoTypes.h.

References mCandidate.

{return !mCandidate;}
const bool JetReco::IndexedCandidate::operator!= ( const IndexedCandidate other) const [inline]

Definition at line 23 of file JetRecoTypes.h.

References operator==().

{return !operator==(other);}
const value_type& JetReco::IndexedCandidate::operator* ( void  ) const [inline]

Definition at line 20 of file JetRecoTypes.h.

References mCandidate.

{return *mCandidate;}
const value_type* JetReco::IndexedCandidate::operator-> ( ) const [inline]

Definition at line 21 of file JetRecoTypes.h.

References mCandidate.

{return mCandidate;}
const bool JetReco::IndexedCandidate::operator== ( const IndexedCandidate other) const [inline]

Definition at line 22 of file JetRecoTypes.h.

References mCandidate.

Referenced by operator!=().

{return mCandidate == other.mCandidate;}

Member Data Documentation

Definition at line 27 of file JetRecoTypes.h.

Referenced by get(), operator!(), operator*(), operator->(), and operator==().

Definition at line 28 of file JetRecoTypes.h.

Referenced by index().