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