File indexing completed on 2025-04-19 09:10:06
0001 #ifndef METOOLS_Explicit_Lorentz_Calculator_H
0002 #define METOOLS_Explicit_Lorentz_Calculator_H
0003
0004 #include "METOOLS/Explicit/Color_Calculator.H"
0005 #include "ATOOLS/Org/Getter_Function.H"
0006 #include "ATOOLS/Math/Vector.H"
0007
0008 namespace METOOLS {
0009
0010 class Lorentz_Calculator {
0011 protected:
0012
0013 Vertex *p_v;
0014
0015 std::vector<int> m_r;
0016
0017 public:
0018
0019
0020 Lorentz_Calculator(const Vertex_Key &key);
0021
0022
0023 virtual ~Lorentz_Calculator();
0024
0025
0026 virtual std::string Label() const = 0;
0027
0028 virtual CObject *Evaluate(const CObject_Vector &j) = 0;
0029
0030 virtual void Evaluate();
0031
0032 };
0033
0034 typedef std::vector<Lorentz_Calculator*> LC_Vector;
0035
0036 typedef ATOOLS::Getter_Function<Lorentz_Calculator,Vertex_Key,
0037 std::less<std::string> > LC_Getter;
0038
0039 }
0040
0041 #endif