BOSS 8.0.0
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
24#include "EvtDecayBase.hh"
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 static int getNMode( int ipar );
38
39 static EvtDecayBase* getDecay( int ipar, int imode );
40
41 static EvtDecayBase* gettheDecay( EvtId parent, int imode ); // pingrg
42
43 static void readDecayFile( const std::string dec_name );
44
45 static int findChannel( EvtId parent, std::string model, int ndaug, EvtId* daugs, int narg,
46 std::string* args );
47
48 static int inChannelList( EvtId parent, int ndaug, EvtId* daugs );
49
51
52 static void printSummary();
53
54private:
55};
56
57#endif
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