#include <EvtAmpSubIndex.hh>
◆ EvtAmpSubIndex() [1/2]
EvtAmpSubIndex::EvtAmpSubIndex |
( |
EvtAmpIndex * |
ind, |
|
|
std::vector< int > |
sub |
|
) |
| |
Definition at line 28 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtAmpSubIndex.cc.
28 :
29 _ind(ind),
30 _sub(sub),
31 _size(sub.size()),
32 _nstate(sub.size())
33{
34 int i;
35
36 for(i=0;i<_size;i++) {
37 if (i==0){
38 _nstate[i]=1;
39 }
40 else{
41 _nstate[i]=_nstate[i-1]*_ind->_ind[sub[i-1]];
42 }
43 }
44}
◆ ~EvtAmpSubIndex() [1/2]
virtual EvtAmpSubIndex::~EvtAmpSubIndex |
( |
| ) |
|
|
inlinevirtual |
◆ EvtAmpSubIndex() [2/2]
EvtAmpSubIndex::EvtAmpSubIndex |
( |
EvtAmpIndex * |
ind, |
|
|
std::vector< int > |
sub |
|
) |
| |
◆ ~EvtAmpSubIndex() [2/2]
virtual EvtAmpSubIndex::~EvtAmpSubIndex |
( |
| ) |
|
|
inlinevirtual |
◆ index() [1/2]
int EvtAmpSubIndex::index |
( |
| ) |
|
◆ index() [2/2]
int EvtAmpSubIndex::index |
( |
| ) |
|
The documentation for this class was generated from the following files: