~sebastien-wertz/mg5amcnlo/standalone_cpp_mem

« back to all changes in this revision

Viewing changes to madgraph/iolibs/export_cpp.py

  • Committer: Sébastien Wertz
  • Date: 2015-10-30 14:14:25 UTC
  • Revision ID: swertz@ingrid-ui1-20151030141425-0ymwh93fx6xhcrfs
Finished IOTest, small corrections to exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
2287
2287
    namespace = 'Pythia8'
2288
2288
    
2289
2289
    # Dictionaries for expression of MG5 SM parameters into Pythia 8
2290
 
    slha_to_expr = {('SMINPUTS', (1,)): '1./csm->alphaEM(pow(pd->m0(23),2))',
2291
 
                    ('SMINPUTS', (2,)): 'M_PI*csm->alphaEM(pow(pd->m0(23),2))*pow(pd->m0(23),2)/(sqrt(2.)*pow(pd->m0(24),2)*(pow(pd->m0(23),2)-pow(pd->m0(24),2)))',
 
2290
    slha_to_expr = {('SMINPUTS', (1,)): '1./csm->alphaEM(((pd->m0(23))*(pd->m0(23))))',
 
2291
                    ('SMINPUTS', (2,)): 'M_PI*csm->alphaEM(((pd->m0(23))*(pd->m0(23))))*((pd->m0(23))*(pd->m0(23)))/(sqrt(2.)*((pd->m0(24))*(pd->m0(24)))*(((pd->m0(23))*(pd->m0(23)))-((pd->m0(24))*(pd->m0(24)))))',
2292
2292
                    ('SMINPUTS', (3,)): 'alpS',
2293
2293
                    ('CKMBLOCK', (1,)): 'csm->VCKMgen(1,2)',
2294
2294
                    }