BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
DBCandidate.cxx
Go to the documentation of this file.
1// -*- C++ -*-
2//
3// Package: CleoDB
4// Module: DBCandidate
5//
6// Description:
7//
8// Implimentation:
9// <Notes on implimentation>
10//
11// Author: Simon Patton
12// Created: Mon Apr 7 16:52:09 EDT 1997
13// $Id: DBCandidate.cxx,v 1.1.1.1 2009/03/03 06:05:56 maqm Exp $
14//
15// Revision history
16//
17// $Log: DBCandidate.cxx,v $
18// Revision 1.1.1.1 2009/03/03 06:05:56 maqm
19// first import of BesDChain
20//
21// Revision 1.7 1999/10/08 23:06:12 wsun
22// Added static functions outwardHypo(), inwardHypo(), and hypoIsInward().
23//
24// Revision 1.6 1999/06/04 07:39:15 wsun
25// Added two more significant figures to particle masses.
26//
27// Revision 1.5 1999/05/07 18:19:36 marsh
28// Added remaining outgoing hypotheses.
29//
30// Revision 1.4 1998/11/06 19:56:50 marsh
31// Removed unneeded 'const's.
32//
33// Revision 1.3 1997/08/22 18:04:07 sjp
34// Made mass into a function call
35//
36// Revision 1.2 1997/07/09 18:01:22 sjp
37// New <Package>/<File>.h structure
38// Modified so can also compile under cxx v5.5
39//
40// Revision 1.1 1997/05/28 16:09:49 sjp
41// New class used with Track Fit data
42//
43
44// system include files
45
46// user include files
47#include "BesDChain/DBCandidate.h"
48
49// STL classes
50
51//
52// constants, enums and typedefs
53//
54
55const double DBCandidate::book_mass[DBCandidate::kMaxHypo] = {
56 0.000000, 0.000511, 0.105658, 0.139570, 0.493677, 0.938272,
57 0.000511, 0.105658, 0.139570, 0.493677, 0.938272 };
58
59//
60// const member functions
61//
62
63double DBCandidate::mass( DBCandidate::Hypo aHypo ) { return ( book_mass[aHypo] ); }
64
76
static Hypo inwardHypo(DBCandidate::Hypo aHypo)
static double mass(DBCandidate::Hypo aHypo)
static Hypo outwardHypo(DBCandidate::Hypo aHypo)