~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to tests/unit_tests/loop/test_loop_diagram_generation.py

  • Committer: olivier Mattelaer
  • Date: 2015-03-05 00:14:16 UTC
  • mfrom: (258.1.9 2.3)
  • mto: (258.8.1 2.3)
  • mto: This revision was merged to the branch mainline in revision 259.
  • Revision ID: olivier.mattelaer@uclouvain.be-20150305001416-y9mzeykfzwnl9t0j
partial merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1527
1527
        vx12_tag=base_objects.Vertex({'legs':base_objects.LegList([l24, l18, l12]), 'id': 1})
1528
1528
        closing_vx=base_objects.Vertex({'legs':base_objects.LegList([l12, lfinal]), 'id': -1})
1529
1529
        goal_vertices=base_objects.VertexList([vx18_tag,vx12_tag,closing_vx])
1530
 
        myBubbleDiag.tag(myStructRep,8,9,self.myproc)
 
1530
        myBubbleDiag.tag(myStructRep,self.myproc['model'],8,9)
1531
1531
        self.assertEqual(myBubbleDiag.get('canonical_tag'), goal_tag)
1532
1532
        self.assertEqual(myBubbleDiag.get('vertices'), goal_vertices)
1533
1533
 
1575
1575
        myStruct=loop_base_objects.FDStructure()
1576
1576
        
1577
1577
        goal_tag=[[1, [0], 3], [1, [1], 3], [1, [2], 3], [1, [3], 3], [1, [4], 3]]
1578
 
        myPentaDiag1.tag(myStructRep,7,8,self.myproc)
 
1578
        myPentaDiag1.tag(myStructRep, self.myproc['model'], 7, 8)
1579
1579
        self.assertEqual(myPentaDiag1.get('canonical_tag'), goal_tag)
1580
1580
 
1581
1581
        vx17_tag=base_objects.Vertex({'legs':base_objects.LegList([l1, l7, l17]), 'id': 3})
1629
1629
                                         'state':True}))
1630
1630
 
1631
1631
        ordersChoices=[({},['QCD'],{},8),\
1632
 
                       ({},['QED'],{},224),\
1633
 
                       ({},['QCD','QED'],{},232)]
 
1632
                       ({},['QED'],{},204),\
 
1633
                       ({},['QCD','QED'],{},212)]
1634
1634
        for (bornOrders,pert,sqOrders,nDiagGoal) in ordersChoices:
1635
1635
            myproc = base_objects.Process({'legs':copy.copy(myleglist),
1636
1636
                                           'model':self.myloopmodel,
1677
1677
                                         'state':True}))
1678
1678
 
1679
1679
        ordersChoices=[
1680
 
                       ({},['QCD','QED'],{},697,171,260),
1681
 
                       ({},['QCD'],{},164,71,188),
1682
 
                       ({},['QED'],{},533,100,72)]
 
1680
                       ({},['QCD','QED'],{},637,171,260),
 
1681
                       ({},['QCD'],{},140,71,188),
 
1682
                       ({},['QED'],{},497,100,72)]
1683
1683
        
1684
1684
                
1685
1685
        for (bornOrders,pert,sqOrders,nLoopGoal,nR2Goal,nUVGoal) in ordersChoices:
1733
1733
                                         'state':True}))
1734
1734
 
1735
1735
        ordersChoices=[
1736
 
                       ({},['QCD','QED'],{},1075,256,154),
 
1736
                       ({},['QCD','QED'],{},947,256,154),
1737
1737
                       ({},['QCD'],{},20,16,40),
1738
 
                       ({},['QED'],{},1055,240,114)]
 
1738
                       ({},['QED'],{},927,240,114)]
1739
1739
        
1740
1740
                
1741
1741
        for (bornOrders,pert,sqOrders,nLoopGoal,nR2Goal,nUVGoal) in ordersChoices:
1789
1789
                                         'state':True}))
1790
1790
 
1791
1791
        ordersChoices=[
1792
 
                       ({},['QCD','QED'],{},425,136,108),
1793
 
                       ({},['QCD'],{},46,18,52),
1794
 
                       ({},['QED'],{},379,118,56)]
 
1792
                       ({},['QCD','QED'],{},369,136,108),
 
1793
                       ({},['QCD'],{},34,18,52),
 
1794
                       ({},['QED'],{},335,118,56)]
1795
1795
        
1796
1796
                
1797
1797
        for (bornOrders,pert,sqOrders,nLoopGoal,nR2Goal,nUVGoal) in ordersChoices:
1845
1845
                                         'state':True}))
1846
1846
 
1847
1847
        ordersChoices=[
1848
 
                       ({},['QCD','QED'],{},1348,413,535),
1849
 
                       ({},['QCD'],{},556,234,431),
1850
 
                       ({},['QED'],{},792,179,104)]
 
1848
                       ({},['QCD','QED'],{},1032,413,535),
 
1849
                       ({},['QCD'],{},384,234,431),
 
1850
                       ({},['QED'],{},648,179,104)]
1851
1851
        
1852
1852
                
1853
1853
        for (bornOrders,pert,sqOrders,nLoopGoal,nR2Goal,nUVGoal) in ordersChoices:
1899
1899
                                         'state':True}))
1900
1900
 
1901
1901
        ordersChoices=[
1902
 
                       ({},['QCD','QED'],{},442,77,50),
 
1902
                       ({},['QCD','QED'],{},409,77,50),
1903
1903
                       ({},['QCD'],{},7,6,18),
1904
 
                       ({},['QED'],{},435,71,32)]
 
1904
                       ({},['QED'],{},402,71,32)]
1905
1905
        
1906
1906
                
1907
1907
        for (bornOrders,pert,sqOrders,nLoopGoal,nR2Goal,nUVGoal) in ordersChoices:
1953
1953
                                         'state':True}))
1954
1954
 
1955
1955
        ordersChoices=[
1956
 
                       ({},['QED'],{},611,63,34)]
 
1956
                       ({},['QED'],{},559,63,34)]
1957
1957
        
1958
1958
                
1959
1959
        for (bornOrders,pert,sqOrders,nLoopGoal,nR2Goal,nUVGoal) in ordersChoices:
2005
2005
                                         'state':True}))
2006
2006
 
2007
2007
        ordersChoices=[
2008
 
                       ({},['QCD','QED'],{},101,53,16),
 
2008
                       ({},['QCD','QED'],{},79,53,16),
2009
2009
                       ({},['QCD'],{},2,2,0),
2010
 
                       ({},['QED'],{},99,51,16)]
 
2010
                       ({},['QED'],{},77,51,16)]
2011
2011
        
2012
2012
                
2013
2013
        for (bornOrders,pert,sqOrders,nLoopGoal,nR2Goal,nUVGoal) in ordersChoices:
2059
2059
                                         'state':True}))
2060
2060
 
2061
2061
        ordersChoices=[
2062
 
                       ({},['QCD'],{},23,6,14),
 
2062
                       ({},['QCD'],{},17,6,14),
2063
2063
                       ({},['QED'],{},27,12,12),
2064
 
                       ({},['QCD','QED'],{},50,18,26)]
 
2064
                       ({},['QCD','QED'],{},44,18,26)]
2065
2065
        
2066
2066
                
2067
2067
        for (bornOrders,pert,sqOrders,nLoopGoal,nR2Goal,nUVGoal) in ordersChoices:
2113
2113
                                         'state':True}))
2114
2114
 
2115
2115
        ordersChoices=[
2116
 
                       ({},['QED'],{},603,20,20)]
 
2116
                       ({},['QED'],{},582,20,20)]
2117
2117
        
2118
2118
                
2119
2119
        for (bornOrders,pert,sqOrders,nLoopGoal,nR2Goal,nUVGoal) in ordersChoices:
2167
2167
                                         'state':True}))
2168
2168
 
2169
2169
        ordersChoices=[
2170
 
                       ({},['QED'],{},8075,210,210)]
 
2170
                       ({},['QED'],{},7841,210,210)]
2171
2171
        
2172
2172
                
2173
2173
        for (bornOrders,pert,sqOrders,nLoopGoal,nR2Goal,nUVGoal) in ordersChoices:
2221
2221
                                         'state':True}))
2222
2222
 
2223
2223
        ordersChoices=[
2224
 
                       ({},['QCD'],{},2075,735,575)]
 
2224
                       ({},['QCD'],{},1139,735,575)]
2225
2225
        
2226
2226
                
2227
2227
        for (bornOrders,pert,sqOrders,nLoopGoal,nR2Goal,nUVGoal) in ordersChoices: