CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

JetReco::CorrectedIndexedCandidate Class Reference

#include <JetRecoTypes.h>

List of all members.

Public Types

typedef reco::Candidate value_type

Public Member Functions

 CorrectedIndexedCandidate ()
 CorrectedIndexedCandidate (const value_type *cCandidate, const value_type *fCandidate, unsigned fIndex)
 CorrectedIndexedCandidate (const value_type *fCandidate, unsigned fIndex)
const value_typeget () const
const value_typegetOriginal () const
unsigned index () const
bool operator! () const
const bool operator!= (const CorrectedIndexedCandidate &other) const
const value_typeoperator* () const
const value_typeoperator-> () const
const bool operator== (const CorrectedIndexedCandidate &other) const
void setBase (const value_type *a)
void setIndex (unsigned nIndex)
void setOriginal (const value_type *a)

Private Attributes

const value_typemCandidate
unsigned mIndex
const value_typeoCandidate

Detailed Description

Definition at line 32 of file JetRecoTypes.h.


Member Typedef Documentation

Definition at line 34 of file JetRecoTypes.h.


Constructor & Destructor Documentation

JetReco::CorrectedIndexedCandidate::CorrectedIndexedCandidate ( ) [inline]

Definition at line 35 of file JetRecoTypes.h.

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

Definition at line 37 of file JetRecoTypes.h.

      : mCandidate (cCandidate), oCandidate(fCandidate), mIndex (fIndex) {}
JetReco::CorrectedIndexedCandidate::CorrectedIndexedCandidate ( const value_type fCandidate,
unsigned  fIndex 
) [inline]

Definition at line 39 of file JetRecoTypes.h.

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

Member Function Documentation

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

Definition at line 46 of file JetRecoTypes.h.

References mCandidate.

{return mCandidate;}
const value_type* JetReco::CorrectedIndexedCandidate::getOriginal ( ) const [inline]

Definition at line 47 of file JetRecoTypes.h.

References oCandidate.

{return oCandidate;}
unsigned JetReco::CorrectedIndexedCandidate::index ( ) const [inline]

Definition at line 41 of file JetRecoTypes.h.

References mIndex.

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

Definition at line 51 of file JetRecoTypes.h.

References mCandidate.

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

Definition at line 45 of file JetRecoTypes.h.

References operator==().

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

Definition at line 42 of file JetRecoTypes.h.

References mCandidate.

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

Definition at line 43 of file JetRecoTypes.h.

References mCandidate.

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

Definition at line 44 of file JetRecoTypes.h.

References mCandidate.

Referenced by operator!=().

{return mCandidate == other.mCandidate;}
void JetReco::CorrectedIndexedCandidate::setBase ( const value_type a) [inline]

Definition at line 48 of file JetRecoTypes.h.

References a, and mCandidate.

void JetReco::CorrectedIndexedCandidate::setIndex ( unsigned  nIndex) [inline]

Definition at line 50 of file JetRecoTypes.h.

References mIndex.

{mIndex=nIndex;}
void JetReco::CorrectedIndexedCandidate::setOriginal ( const value_type a) [inline]

Definition at line 49 of file JetRecoTypes.h.

References a, and oCandidate.


Member Data Documentation

Definition at line 53 of file JetRecoTypes.h.

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

Definition at line 55 of file JetRecoTypes.h.

Referenced by index(), and setIndex().

Definition at line 54 of file JetRecoTypes.h.

Referenced by getOriginal(), and setOriginal().