CMS 3D CMS Logo

JetReco::IndexedCandidate Class Reference

#include <RecoJets/JetAlgorithms/interface/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 ()
const value_typeoperator * () const
bool operator! () const
const bool operator!= (const IndexedCandidate &other) 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

typedef reco::Candidate JetReco::IndexedCandidate::value_type

Definition at line 14 of file JetRecoTypes.h.


Constructor & Destructor Documentation

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

Definition at line 15 of file JetRecoTypes.h.

00016       : mCandidate (0), mIndex(0) {}

JetReco::IndexedCandidate::IndexedCandidate ( const value_type fCandidate,
unsigned  fIndex 
) [inline]

Definition at line 17 of file JetRecoTypes.h.

00018       : 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.

00024 {return mCandidate;}

unsigned JetReco::IndexedCandidate::index (  )  const [inline]

Definition at line 19 of file JetRecoTypes.h.

References mIndex.

00019 {return mIndex;}

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

Definition at line 20 of file JetRecoTypes.h.

References mCandidate.

00020 {return *mCandidate;}

bool JetReco::IndexedCandidate::operator! (  )  const [inline]

Definition at line 25 of file JetRecoTypes.h.

References mCandidate.

00025 {return !mCandidate;}

const bool JetReco::IndexedCandidate::operator!= ( const IndexedCandidate other  )  const [inline]

Definition at line 23 of file JetRecoTypes.h.

References operator==().

00023 {return !operator==(other);}

const value_type* JetReco::IndexedCandidate::operator-> ( void   )  const [inline]

Definition at line 21 of file JetRecoTypes.h.

References mCandidate.

00021 {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!=().

00022 {return mCandidate == other.mCandidate;}


Member Data Documentation

const value_type* JetReco::IndexedCandidate::mCandidate [private]

Definition at line 27 of file JetRecoTypes.h.

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

unsigned JetReco::IndexedCandidate::mIndex [private]

Definition at line 28 of file JetRecoTypes.h.

Referenced by index().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:47:47 2009 for CMSSW by  doxygen 1.5.4