BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
DBCandidate Class Reference

#include <DBCandidate.h>

Public Types

enum  Hypo {
  kPhoton , kElectron , kMuon , kChargedPion ,
  kChargedKaon , kProton , kExitElectron , kExitMuon ,
  kExitPion , kExitKaon , kExitProton , kMaxHypo
}
 
typedef uint32_t Identifier
 

Static Public Member Functions

static double mass (DBCandidate::Hypo aHypo)
 
static Hypo outwardHypo (DBCandidate::Hypo aHypo)
 
static Hypo inwardHypo (DBCandidate::Hypo aHypo)
 
static bool hypoIsInward (DBCandidate::Hypo aHypo)
 

Detailed Description

Definition at line 54 of file DBCandidate.h.

Member Typedef Documentation

◆ Identifier

Definition at line 58 of file DBCandidate.h.

Member Enumeration Documentation

◆ Hypo

Enumerator
kPhoton 
kElectron 
kMuon 
kChargedPion 
kChargedKaon 
kProton 
kExitElectron 
kExitMuon 
kExitPion 
kExitKaon 
kExitProton 
kMaxHypo 

Definition at line 60 of file DBCandidate.h.

Member Function Documentation

◆ hypoIsInward()

static bool DBCandidate::hypoIsInward ( DBCandidate::Hypo aHypo)
inlinestatic

Definition at line 85 of file DBCandidate.h.

86 { return aHypo < kExitElectron ; }

◆ inwardHypo()

DBCandidate::Hypo DBCandidate::inwardHypo ( DBCandidate::Hypo aHypo)
static

Definition at line 99 of file DBCandidate.cxx.

100{
101 switch( aHypo )
102 {
106 return DBCandidate::kMuon ;
112 return DBCandidate::kProton ;
113 default:
114 return aHypo ;
115 }
116}

◆ mass()

double DBCandidate::mass ( DBCandidate::Hypo aHypo)
static

Definition at line 73 of file DBCandidate.cxx.

74{
75 return ( book_mass [ aHypo ] ) ;
76}

Referenced by CDChargedVisible< H >::defaultKinematicData().

◆ outwardHypo()

DBCandidate::Hypo DBCandidate::outwardHypo ( DBCandidate::Hypo aHypo)
static

Definition at line 79 of file DBCandidate.cxx.

80{
81 switch( aHypo )
82 {
93 default:
94 return aHypo ;
95 }
96}

The documentation for this class was generated from the following files: