]>
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) 2000 Caltech, LLNL | |
10 | // | |
11 | // Module: EvtGen/EvtOrthogVector.hh | |
12 | // | |
13 | // Description: | |
14 | // | |
15 | // Modification history: | |
16 | // | |
17 | // Lange August 11, 2000 Created | |
18 | // | |
19 | //------------------------------------------------------------------------ | |
20 | ||
21 | ||
22 | #ifndef EVTORTHOGVECTOR_HH | |
23 | #define EVTORTHOGVECTOR_HH | |
24 | ||
25 | #include <vector> | |
26 | ||
27 | class EvtOrthogVector { | |
28 | ||
29 | public: | |
30 | ||
31 | EvtOrthogVector(int n, | |
32 | std::vector<double> *vectors); | |
33 | ||
34 | ~EvtOrthogVector(); | |
35 | ||
36 | std::vector<double> getOrthogVector() {return _orthogVector;} | |
37 | ||
38 | ||
39 | private: | |
40 | ||
41 | int _dimen; | |
42 | std::vector<int> _holder; | |
43 | void findOrthog(int dim, std::vector<int> invect, | |
44 | std::vector<double> *vectors); | |
45 | ||
46 | std::vector<double> _orthogVector; | |
47 | ||
48 | int findEvenOddSwaps(); | |
49 | ||
50 | ||
51 | }; | |
52 | ||
53 | #endif | |
54 |