BOSS 7.0.4
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 ,
  kPhoton , kElectron , kMuon , kChargedPion ,
  kChargedKaon , kProton , kExitElectron , kExitMuon ,
  kExitPion , kExitKaon , kExitProton , kMaxHypo
}
 
enum  Hypo {
  kPhoton , kElectron , kMuon , kChargedPion ,
  kChargedKaon , kProton , kExitElectron , kExitMuon ,
  kExitPion , kExitKaon , kExitProton , kMaxHypo ,
  kPhoton , kElectron , kMuon , kChargedPion ,
  kChargedKaon , kProton , kExitElectron , kExitMuon ,
  kExitPion , kExitKaon , kExitProton , kMaxHypo
}
 
typedef uint32_t Identifier
 
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)
 
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

Member Typedef Documentation

◆ Identifier [1/2]

◆ Identifier [2/2]

Member Enumeration Documentation

◆ Hypo [1/2]

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

Definition at line 60 of file Event/BesDChain/BesDChain-00-00-14/BesDChain/DBCandidate.h.

◆ Hypo [2/2]

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

Definition at line 60 of file InstallArea/include/BesDChain/BesDChain/DBCandidate.h.

60 {
61 kPhoton ,
62 kElectron ,
63 kMuon ,
66 kProton ,
68 kExitMuon ,
69 kExitPion ,
70 kExitKaon ,
73 } ;

Member Function Documentation

◆ hypoIsInward() [1/2]

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

Definition at line 85 of file Event/BesDChain/BesDChain-00-00-14/BesDChain/DBCandidate.h.

86 { return aHypo < kExitElectron ; }

◆ hypoIsInward() [2/2]

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

Definition at line 85 of file InstallArea/include/BesDChain/BesDChain/DBCandidate.h.

86 { return aHypo < kExitElectron ; }

◆ inwardHypo() [1/2]

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}

◆ inwardHypo() [2/2]

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

◆ mass() [1/2]

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

◆ mass() [2/2]

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

◆ outwardHypo() [1/2]

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}

◆ outwardHypo() [2/2]

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

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