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