Back to home page

EIC code displayed by LXR

 
 

    


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

0001 #ifndef CSSHOWER_Showers_SF_Key_H
0002 #define CSSHOWER_Showers_SF_Key_H
0003 
0004 #include <string>
0005 
0006 namespace MODEL {
0007   class Model_Base;
0008   class Single_Vertex;
0009 }
0010 
0011 namespace CSSHOWER {
0012 
0013   class SF_Coupling;
0014 
0015   struct cstp {
0016     enum code {
0017       FF   = 11,
0018       FI   = 12,
0019       IF   = 21,
0020       II   = 22,
0021       none = 0
0022     };
0023   };
0024 
0025   struct SF_Key {
0026   public:
0027     const MODEL::Single_Vertex *p_v;
0028     int m_mode, m_kfmode, m_qcdmode, m_ewmode, m_col;
0029     cstp::code m_type;
0030     SF_Coupling *p_cf;
0031     std::pair<double, double> m_pdfmin;
0032   public:
0033     inline SF_Key(const MODEL::Single_Vertex *v,
0034           const int mode,const cstp::code type,const int kfmode,
0035           const int qcdmode,const int ewmode,const int col,
0036                   std::pair<double, double>& pdfmin):
0037       p_v(v), m_mode(mode), m_kfmode(kfmode),
0038       m_qcdmode(qcdmode), m_ewmode(ewmode), m_col(col), m_type(type),
0039       p_cf(NULL), m_pdfmin{ pdfmin } {}
0040     std::string ID(const int mode) const;
0041   };
0042 
0043   std::ostream &operator<<(std::ostream &str,const SF_Key &k);
0044 
0045 }
0046 
0047 #endif