File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed 
epochX/cudacpp/gg_tt.sa/SubProcesses/P1_Sigma_sm_gg_ttx Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1074,7 +1074,7 @@ namespace mg5amcCpu
10741074
10751075#endif  //  CUDA or C++
10761076
1077-     //  PART 2 - FINALISATION (after calculate_wavefunctions)
1077+     //  ===  PART 2 - FINALISATION (after calculate_wavefunctions) === 
10781078    //  Get the final |M|^2 as an average over helicities/colors of the running sum of |M|^2 over helicities for the given event
10791079    //  [NB 'sum over final spins, average over initial spins', eg see
10801080    //  https://www.uzh.ch/cmsssl/physik/dam/jcr:2e24b7b1-f4d7-4160-817e-47b13dbf1d7c/Handout_4_2016-UZH.pdf]
@@ -1090,10 +1090,12 @@ namespace mg5amcCpu
10901090    {
10911091      const  int  ievt0 = ipagV * neppV;
10921092      fptype* MEs = E_ACCESS::ieventAccessRecord ( allMEs, ievt0 );
1093+       fptype_sv& MEsTot_sv = E_ACCESS::kernelAccessIhel ( MEs, ncomb );
10931094      for ( int  ihel = 0 ; ihel < ncomb; ihel++ )
10941095      {
10951096        fptype_sv& MEs_sv = E_ACCESS::kernelAccessIhel ( MEs, ihel );
10961097        MEs_sv /= helcolDenominators[0 ];
1098+         MEsTot_sv += MEs_sv;
10971099      }
10981100#ifdef  MGONGPU_SUPPORTS_MULTICHANNEL
10991101      if ( channelId > 0  )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments