Changes between Version 14 and Version 15 of FormFactors
- Timestamp:
- Nov 9, 2019, 11:06:33 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FormFactors
v14 v15 30 30 AAA = FormFactor(name = 'AAA', 31 31 type = 'real', 32 value = '(-2*MH if MH - P(-1,1)*P(-1,3) > 0 else MH)'32 value = '(-2*MH* P(-1,1)*P(-1,3) )' 33 33 }}} 34 34 … … 36 36 2. You can use any type of object define in the ALOHA syntax (see the [ALOHA paper http://arxiv.org/abs/arXiv:1108.2041] for the convention). This includes the momenta P(x,y). This first index is the lorentz index which should be contracted, while the second index refers to the particle ordering of the vertex. 37 37 3. If you need to add an additional parameter in your model, you can do it in the parameters.py file. 38 4. If statement are not supported here but you can use the trick to define such function in functions_library.py With a function like (ExprTrue if condition.real>=0.0 else ExprFalse) 38 39 39 40