Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DBCandidate Class Reference

#include <DBCandidate.h>

List of all members.

Public Types

enum  Hypo {
  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
}
typedef uint32_t Identifier
typedef uint32_t Identifier

Static Public Member Functions

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

Static Private Attributes

const double book_mass [kMaxHypo]


Member Typedef Documentation

typedef uint32_t DBCandidate::Identifier
 

typedef uint32_t DBCandidate::Identifier
 


Member Enumeration Documentation

enum DBCandidate::Hypo
 

Enumeration values:
kPhoton 
kElectron 
kMuon 
kChargedPion 
kChargedKaon 
kProton 
kExitElectron 
kExitMuon 
kExitPion 
kExitKaon 
kExitProton 
kMaxHypo 
00060                 {
00061          kPhoton ,
00062          kElectron ,
00063          kMuon ,
00064          kChargedPion ,
00065          kChargedKaon ,
00066          kProton ,
00067          kExitElectron ,
00068          kExitMuon ,
00069          kExitPion ,
00070          kExitKaon ,
00071          kExitProton ,
00072          kMaxHypo
00073       } ;

enum DBCandidate::Hypo
 

Enumeration values:
kPhoton 
kElectron 
kMuon 
kChargedPion 
kChargedKaon 
kProton 
kExitElectron 
kExitMuon 
kExitPion 
kExitKaon 
kExitProton 
kMaxHypo 
00060                 {
00061          kPhoton ,
00062          kElectron ,
00063          kMuon ,
00064          kChargedPion ,
00065          kChargedKaon ,
00066          kProton ,
00067          kExitElectron ,
00068          kExitMuon ,
00069          kExitPion ,
00070          kExitKaon ,
00071          kExitProton ,
00072          kMaxHypo
00073       } ;


Member Function Documentation

bool DBCandidate::hypoIsInward DBCandidate::Hypo  aHypo  )  [inline, static]
 

00086       { return aHypo < kExitElectron ; }

bool DBCandidate::hypoIsInward DBCandidate::Hypo  aHypo  )  [inline, static]
 

00086       { return aHypo < kExitElectron ; }

Hypo DBCandidate::inwardHypo DBCandidate::Hypo  aHypo  )  [static]
 

DBCandidate::Hypo DBCandidate::inwardHypo DBCandidate::Hypo  aHypo  )  [static]
 

00100 {
00101    switch( aHypo )
00102    {
00103       case DBCandidate::kExitElectron:
00104          return DBCandidate::kElectron ;
00105       case DBCandidate::kExitMuon:
00106          return DBCandidate::kMuon ;
00107       case DBCandidate::kExitPion:
00108          return DBCandidate::kChargedPion ;
00109       case DBCandidate::kExitKaon:
00110          return DBCandidate::kChargedKaon ;
00111       case DBCandidate::kExitProton:
00112          return DBCandidate::kProton ;
00113       default:
00114          return aHypo ;
00115    }
00116 }

double DBCandidate::mass DBCandidate::Hypo  aHypo  )  [static]
 

double DBCandidate::mass DBCandidate::Hypo  aHypo  )  [static]
 

00074 {
00075    return ( book_mass [ aHypo ] ) ;
00076 }

Hypo DBCandidate::outwardHypo DBCandidate::Hypo  aHypo  )  [static]
 

DBCandidate::Hypo DBCandidate::outwardHypo DBCandidate::Hypo  aHypo  )  [static]
 

00080 {
00081    switch( aHypo )
00082    {
00083       case DBCandidate::kElectron:
00084          return DBCandidate::kExitElectron ;
00085       case DBCandidate::kMuon:
00086          return DBCandidate::kExitMuon ;
00087       case DBCandidate::kChargedPion:
00088          return DBCandidate::kExitPion ;
00089       case DBCandidate::kChargedKaon:
00090          return DBCandidate::kExitKaon ;
00091       case DBCandidate::kProton:
00092          return DBCandidate::kExitProton ;
00093       default:
00094          return aHypo ;
00095    }
00096 }


Member Data Documentation

const double DBCandidate::book_mass [static, private]
 

Initial value:

 { 0.000000,
                                                              0.000511,
                                                              0.105658,
                                                              0.139570,
                                                              0.493677,
                                                              0.938272,
                                                              0.000511,
                                                              0.105658,
                                                              0.139570,
                                                              0.493677,
                                                              0.938272 }


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 15:56:42 2011 for BOSS6.5.5 by  doxygen 1.3.9.1