Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-19 09:10:06

0001 #ifndef METOOLS_Explicit_Form_Factor_H
0002 #define METOOLS_Explicit_Form_Factor_H
0003 
0004 #include "METOOLS/Explicit/Vertex_Key.H"
0005 #include "ATOOLS/Org/Getter_Function.H"
0006 
0007 namespace METOOLS {
0008 
0009   class Vertex;
0010 
0011   class Form_Factor {
0012   protected:
0013 
0014     Vertex *p_v;
0015 
0016     std::string m_id;
0017 
0018   public:
0019 
0020     Form_Factor(const std::string &id,const Vertex_Key &key);
0021 
0022     virtual ~Form_Factor();
0023 
0024     virtual double FF(double) const = 0;
0025 
0026     inline const std::string &ID() const { return m_id; }    
0027 
0028   };// end of class FormFactor
0029   
0030   typedef ATOOLS::Getter_Function<Form_Factor,Vertex_Key,
0031                   std::less<std::string> > FF_Getter;
0032 
0033   std::ostream &operator<<(std::ostream &str,const Form_Factor &c);
0034 
0035   typedef std::vector<Form_Factor*> FF_Vector;
0036 
0037 }// end of namespace METOOLS
0038 
0039 #endif