BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtDecayTable.hh
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of the EvtGen package developed jointly
5// for the BaBar and CLEO collaborations. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/COPYRIGHT
9// Copyright (C) 1998 Caltech, UCSB
10//
11// Module: EvtGen/EvtDecayTable.hh
12//
13// Description:
14//
15// Modification history:
16//
17// DJL/RYD September 25, 1996 Module created
18//
19//------------------------------------------------------------------------
20
21#ifndef EVTDECAYTABLE_HH
22#define EVTDECAYTABLE_HH
23
25//#include <fstream.h>
26class EvtId;
27
28//Class to read in and handle the decays available
29//to EvtGen for each particle, and the model to be
30//used for each one.
31
33
35
36public:
37
38 static int getNMode(int ipar);
39
40 static EvtDecayBase* getDecay(int ipar, int imode);
41
42 static EvtDecayBase* gettheDecay(EvtId parent, int imode); //pingrg
43
44 static void readDecayFile(const std::string dec_name);
45
46 static int findChannel(EvtId parent,std::string model,int ndaug, EvtId *daugs,
47 int narg, std::string *args);
48
49 static int inChannelList(EvtId parent, int ndaug, EvtId *daugs);
50
52
53 static void printSummary();
54
55private:
56
57};
58
59#endif
60
61
EvtDecayBase * EvtDecayBasePtr
static EvtDecayBase * gettheDecay(EvtId parent, int imode)
static int findChannel(EvtId parent, std::string model, int ndaug, EvtId *daugs, int narg, std::string *args)
static int getNMode(int ipar)
static int inChannelList(EvtId parent, int ndaug, EvtId *daugs)
static EvtDecayBase * getDecayFunc(EvtParticle *)
static EvtDecayBase * getDecay(int ipar, int imode)
static void readDecayFile(const std::string dec_name)
static void printSummary()
Definition: EvtId.hh:27