File indexing completed on 2025-04-19 09:10:11
0001 #ifndef PHASIC_Cluster_Color_Setter_H
0002 #define PHASIC_Cluster_Color_Setter_H
0003
0004 #include "PHASIC++/Main/Color_Integrator.H"
0005 #include "PHASIC++/Process/Single_Process.H"
0006
0007 namespace EXTRAXS { class ME2_Base; }
0008
0009 namespace PHASIC {
0010
0011 class Color_Setter {
0012 private:
0013
0014 typedef std::map<ATOOLS::Flavour_Vector,EXTRAXS::ME2_Base*> Flav_ME_Map;
0015
0016 PHASIC::Process_Base *p_xs;
0017
0018 static PHASIC::NLOTypeStringProcessMap_Map m_pmap;
0019 PHASIC::Process_Vector m_procs;
0020
0021 Flav_ME_Map m_xsmap;
0022
0023 int m_cmode;
0024
0025 bool SetRandomColors(ATOOLS::Cluster_Amplitude *const ampl);
0026 bool SetSumSqrColors(ATOOLS::Cluster_Amplitude *const ampl);
0027 bool SetLargeNCColors(ATOOLS::Cluster_Amplitude *const ampl);
0028
0029 public:
0030
0031 Color_Setter(const int cmode);
0032
0033 ~Color_Setter();
0034
0035 bool Initialize(ATOOLS::Cluster_Amplitude *const ampl);
0036
0037 Process_Base *GetProcess(ATOOLS::Cluster_Amplitude *const ampl);
0038
0039 void SetColors(ATOOLS::Cluster_Amplitude *const ampl);
0040
0041 };
0042
0043 }
0044
0045 #endif