FairRoot/PandaRoot
Public Member Functions | Public Attributes | List of all members
KFPartMatch Struct Reference

#include <KFPartMatch.h>

Public Member Functions

 KFPartMatch ()
 
bool IsMatched () const
 
bool IsMatchedWithPdg () const
 
int GetBestMatch () const
 
int GetBestMatchWithPdg () const
 

Public Attributes

vector< int > ids
 
vector< int > idsMI
 

Detailed Description

Definition at line 4 of file KFPartMatch.h.

Constructor & Destructor Documentation

KFPartMatch::KFPartMatch ( )
inline

Definition at line 6 of file KFPartMatch.h.

6 :ids(),idsMI(){};
vector< int > idsMI
Definition: KFPartMatch.h:20
vector< int > ids
Definition: KFPartMatch.h:18

Member Function Documentation

int KFPartMatch::GetBestMatch ( ) const
inline

Definition at line 10 of file KFPartMatch.h.

References ids, and idsMI.

10  {
11  if (ids.size() != 0) return ids[0];
12  else if (idsMI.size() != 0) return idsMI[0];
13  else return -1;
14  };
vector< int > idsMI
Definition: KFPartMatch.h:20
vector< int > ids
Definition: KFPartMatch.h:18
int KFPartMatch::GetBestMatchWithPdg ( ) const
inline

Definition at line 15 of file KFPartMatch.h.

References ids.

15  {
16  if (ids.size() != 0) return ids[0];
17  else return -1;
18  };
vector< int > ids
Definition: KFPartMatch.h:18
bool KFPartMatch::IsMatched ( ) const
inline

Definition at line 8 of file KFPartMatch.h.

References ids, and idsMI.

8 { return ids.size() != 0 || idsMI.size() != 0; };
vector< int > idsMI
Definition: KFPartMatch.h:20
vector< int > ids
Definition: KFPartMatch.h:18
bool KFPartMatch::IsMatchedWithPdg ( ) const
inline

Definition at line 9 of file KFPartMatch.h.

References ids.

9 { return ids.size() != 0; };
vector< int > ids
Definition: KFPartMatch.h:18

Member Data Documentation

vector<int> KFPartMatch::ids

Definition at line 18 of file KFPartMatch.h.

Referenced by GetBestMatch(), GetBestMatchWithPdg(), IsMatched(), and IsMatchedWithPdg().

vector<int> KFPartMatch::idsMI

Definition at line 20 of file KFPartMatch.h.

Referenced by GetBestMatch(), and IsMatched().


The documentation for this struct was generated from the following file: