]>
Commit | Line | Data |
---|---|---|
da0e9ce3 | 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) 2002 Caltech | |
10 | // | |
11 | // Module: EvtAmpSubIndex.hh | |
12 | // | |
13 | // Description:This class keeps track of indices on amplitude objects. | |
14 | // Used for a subset of indices in an EvtAmpIndex object. | |
15 | // | |
16 | // Modification history: | |
17 | // | |
18 | // Ryd Nov 22, 2002 Module created | |
19 | // | |
20 | //------------------------------------------------------------------------ | |
21 | ||
22 | #ifndef EVTAMPSUBINDEX_HH | |
23 | #define EVTAMPSUBINDEX_HH | |
24 | ||
25 | #include <vector> | |
26 | class EvtAmpIndex; | |
27 | ||
28 | class EvtAmpSubIndex { | |
29 | ||
30 | public: | |
31 | ||
32 | EvtAmpSubIndex(EvtAmpIndex* ind,std::vector<int> sub); | |
33 | virtual ~EvtAmpSubIndex() {} | |
34 | ||
35 | int index(); | |
36 | ||
37 | private: | |
38 | ||
39 | EvtAmpIndex* _ind; | |
40 | std::vector<int> _sub; | |
41 | int _size; | |
42 | std::vector<int> _nstate; | |
43 | ||
44 | }; | |
45 | ||
46 | ||
47 | #endif | |
48 |