]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TEvtGen/EvtGen/EvtGenBase/EvtOrthogVector.hh
Converting TEvtGen to native cmake
[u/mrichter/AliRoot.git] / TEvtGen / EvtGen / EvtGenBase / EvtOrthogVector.hh
diff --git a/TEvtGen/EvtGen/EvtGenBase/EvtOrthogVector.hh b/TEvtGen/EvtGen/EvtGenBase/EvtOrthogVector.hh
new file mode 100644 (file)
index 0000000..be069f6
--- /dev/null
@@ -0,0 +1,54 @@
+//--------------------------------------------------------------------------
+// 
+// Environment: 
+// This software is part of the EvtGen package developed jointly 
+// for the BaBar and CLEO collaborations.  If you use all or part 
+// of it, please give an appropriate acknowledgement.
+// 
+// Copyright Information: See EvtGen/COPYRIGHT 
+// Copyright (C) 2000 Caltech, LLNL
+// 
+// Module: EvtGen/EvtOrthogVector.hh
+// 
+// Description:
+// 
+// Modification history: 
+//
+// Lange August 11, 2000 Created
+//
+//------------------------------------------------------------------------
+
+
+#ifndef EVTORTHOGVECTOR_HH
+#define EVTORTHOGVECTOR_HH
+
+#include <vector>
+
+class EvtOrthogVector {
+
+public:
+
+  EvtOrthogVector(int n,
+                 std::vector<double> *vectors);
+
+  ~EvtOrthogVector();
+
+  std::vector<double> getOrthogVector() {return _orthogVector;}
+
+
+private:
+
+  int _dimen;
+  std::vector<int> _holder;
+  void findOrthog(int dim, std::vector<int> invect,
+                 std::vector<double> *vectors);
+
+  std::vector<double> _orthogVector;
+
+  int findEvenOddSwaps();
+
+
+};
+
+#endif
+