BOSS
7.0.2
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
26
class
EvtAmpIndex
{
27
28
friend
class
EvtAmpSubIndex
;
29
30
public
:
31
32
EvtAmpIndex
(std::vector<int> ind);
33
virtual
~EvtAmpIndex
() {}
34
35
void
reset
();
36
bool
next
();
37
38
int
index
();
39
40
private
:
41
42
std::vector<int> _ind;
43
int
_size;
44
std::vector<int> _state;
45
std::vector<int> _nstate;
46
47
};
48
49
50
#endif
51
EvtAmpIndex
Definition:
EvtAmpIndex.hh:26
EvtAmpIndex::reset
void reset()
Definition:
EvtAmpIndex.cc:47
EvtAmpIndex::next
bool next()
Definition:
EvtAmpIndex.cc:54
EvtAmpIndex::index
int index()
Definition:
EvtAmpIndex.cc:68
EvtAmpIndex::~EvtAmpIndex
virtual ~EvtAmpIndex()
Definition:
EvtAmpIndex.hh:33
EvtAmpSubIndex
Definition:
EvtAmpSubIndex.hh:28
source
Generator
BesEvtGen
BesEvtGen-00-03-58
src
EvtGen
EvtGenBase
EvtAmpIndex.hh
Generated by
1.9.6