BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtAmpIndex.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) 2002 Caltech, UCSB
10//
11// Module: EvtGen/EvtAmpIndex.hh
12//
13// Description:This class keeps track of indices on amplitude objects.
14//
15// Modification history:
16//
17// Ryd Nov 22, 2002 Module created
18//
19//------------------------------------------------------------------------
20
21#ifndef EVTAMPINDEX_HH
22#define EVTAMPINDEX_HH
23
24#include <vector>
25
27
28 friend class EvtAmpSubIndex;
29
30public:
31 EvtAmpIndex( std::vector<int> ind );
32 virtual ~EvtAmpIndex() {}
33
34 void reset();
35 bool next();
36
37 int index();
38
39private:
40 std::vector<int> _ind;
41 int _size;
42 std::vector<int> _state;
43 std::vector<int> _nstate;
44};
45
46#endif
EvtAmpIndex(std::vector< int > ind)
virtual ~EvtAmpIndex()
friend class EvtAmpSubIndex