CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
JetReco::IndexedCandidate Class Reference

#include <JetRecoTypes.h>

Public Types

typedef reco::Candidate value_type
 

Public Member Functions

const value_typeget () const
 
unsigned index () const
 
 IndexedCandidate ()
 
 IndexedCandidate (const value_type *fCandidate, unsigned fIndex)
 
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.

16  : mCandidate (0), mIndex(0) {}
const value_type * mCandidate
Definition: JetRecoTypes.h:27
JetReco::IndexedCandidate::IndexedCandidate ( const value_type fCandidate,
unsigned  fIndex 
)
inline

Definition at line 17 of file JetRecoTypes.h.

18  : mCandidate (fCandidate), mIndex (fIndex) {}
const value_type * mCandidate
Definition: JetRecoTypes.h:27

Member Function Documentation

const value_type* JetReco::IndexedCandidate::get ( void  ) const
inline
unsigned JetReco::IndexedCandidate::index ( ) const
inline

Definition at line 19 of file JetRecoTypes.h.

References mIndex.

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

Definition at line 25 of file JetRecoTypes.h.

References mCandidate.

25 {return !mCandidate;}
const value_type * mCandidate
Definition: JetRecoTypes.h:27
const bool JetReco::IndexedCandidate::operator!= ( const IndexedCandidate other) const
inline

Definition at line 23 of file JetRecoTypes.h.

References operator==().

23 {return !operator==(other);}
const bool operator==(const IndexedCandidate &other) const
Definition: JetRecoTypes.h:22
const value_type& JetReco::IndexedCandidate::operator* ( void  ) const
inline

Definition at line 20 of file JetRecoTypes.h.

References mCandidate.

20 {return *mCandidate;}
const value_type * mCandidate
Definition: JetRecoTypes.h:27
const value_type* JetReco::IndexedCandidate::operator-> ( ) const
inline

Definition at line 21 of file JetRecoTypes.h.

References mCandidate.

21 {return mCandidate;}
const value_type * mCandidate
Definition: JetRecoTypes.h:27
const bool JetReco::IndexedCandidate::operator== ( const IndexedCandidate other) const
inline

Definition at line 22 of file JetRecoTypes.h.

References mCandidate.

Referenced by operator!=().

22 {return mCandidate == other.mCandidate;}
const value_type * mCandidate
Definition: JetRecoTypes.h:27

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().