Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-19 09:09:45

0001 #ifndef AMEGIC__Amplitude__Single_Vertex_H
0002 #define AMEGIC__Amplitude__Single_Vertex_H
0003 
0004 #include "ATOOLS/Math/MyComplex.H"
0005 #include "ATOOLS/Math/Kabbala.H"
0006 #include "ATOOLS/Phys/Flavour.H"
0007 #include "MODEL/Main/Color_Function.H"
0008 #include "AMEGIC++/Amplitude/Lorentz_Function.H"
0009 #include <vector>
0010 
0011 namespace AMEGIC {
0012   class Single_Vertex {
0013   public:
0014     int               nleg;        // number of legs
0015     ATOOLS::Flavour   in[4];       // flavours at the legs 
0016     short int         on;          // flag if vertex is on
0017     int               t,dec;
0018     std::vector<int>  order;
0019  
0020     std::vector<ATOOLS::Kabbala> cpl;      // coupling constants
0021     std::vector<MODEL::Color_Function>   Color;       // color structure 
0022     std::vector<MODEL::Lorentz_Function*> Lorentz;     // lorentz structure
0023 
0024     // constructors and destructor
0025     Single_Vertex();
0026     Single_Vertex(const Single_Vertex& v);
0027     ~Single_Vertex(); 
0028     
0029     Complex Coupling(size_t i) const;
0030 
0031     int CheckCoupling() const;
0032     int Compare(const Single_Vertex *v) const;
0033     // operators
0034     Single_Vertex&       operator= (const Single_Vertex&);
0035     bool                 operator==(const Single_Vertex&);
0036     friend std::ostream &operator<<(std::ostream&, const Single_Vertex&);
0037   };   
0038 
0039   /*! 
0040     \file
0041     \brief this file contains the class AMEGIC::Single_Vertex
0042   */
0043   /*! 
0044     \class Single_Vertex 
0045     \brief Contains all the information about a \f$ 1\to 2\f$ or \f$ 1\to 3\f$ 
0046     Feynman rule. Especially the three or four flavours, the associated color and 
0047     Lorentz structure, the left and right handed coupling constants and a
0048     representation by a charakter string.  
0049   */ 
0050 } // end of namespace
0051 #endif