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 11 of file JetRecoTypes.h.

Member Typedef Documentation

Definition at line 13 of file JetRecoTypes.h.

Constructor & Destructor Documentation

JetReco::IndexedCandidate::IndexedCandidate ( )
inline

Definition at line 14 of file JetRecoTypes.h.

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

Definition at line 16 of file JetRecoTypes.h.

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

Member Function Documentation

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

Definition at line 18 of file JetRecoTypes.h.

References mIndex.

Referenced by BeautifulSoup.PageElement::_invert().

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

Definition at line 24 of file JetRecoTypes.h.

References mCandidate.

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

Definition at line 22 of file JetRecoTypes.h.

References operator==().

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

Definition at line 19 of file JetRecoTypes.h.

References mCandidate.

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

Definition at line 20 of file JetRecoTypes.h.

References mCandidate.

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

Definition at line 21 of file JetRecoTypes.h.

References mCandidate.

Referenced by operator!=().

21 {return mCandidate == other.mCandidate;}
const value_type * mCandidate
Definition: JetRecoTypes.h:26

Member Data Documentation

const value_type* JetReco::IndexedCandidate::mCandidate
private

Definition at line 26 of file JetRecoTypes.h.

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

unsigned JetReco::IndexedCandidate::mIndex
private

Definition at line 27 of file JetRecoTypes.h.

Referenced by index().