| 1 | == RESTRICT MODEL |
| 2 | |
| 3 | === STATUS: |
| 4 | PART OF THE OFFICIAL RELEASE |
| 5 | |
| 6 | === PROBLEM: |
| 7 | |
| 8 | You want to set a mass to ZERO/ REMOVE PART of the model for speed point of view/... |
| 9 | |
| 10 | === SOLUTION: |
| 11 | you have to define a file |
| 12 | restrict_XXXX.dat in the UFO model |
| 13 | this file should be a valid param_card.dat |
| 14 | (so you can create this file by doing: python write_param_card.py in the UFO directory, then rename the output file) |
| 15 | from this file. |
| 16 | 1. All zero/one value are fixed in the model and can't be changed anymore |
| 17 | 2. If a Block has two identical value. Those two value are merged to a single one |
| 18 | 3. All couplings which are zero for this param_card are removed from the model. |
| 19 | |
| 20 | To load this restricted model in mg5. you have to do: |
| 21 | import model MODELNAME-XXXX |
| 22 | |
| 23 | if XXXX is default, then the import import model MODELNAME load automatically the restriction restrict_default.dat. The original model can then be retrieve by the command import model MODELNAME-full. |
| 24 | |
| 25 | |
| 26 | == ADD MODEL |
| 27 | |
| 28 | === STATUS: |
| 29 | Not yet in any official release (current one is 2.0.0) |
| 30 | available at: lp:~maddevelopers/madgraph5/plugin_model |
| 31 | |
| 32 | === SYNTAX: |
| 33 | ADD MODEL NAME [--recreate] [--output=XXX] |
| 34 | |
| 35 | === WHAT IT DOES: |
| 36 | - It create a new model named: NAME1__NAME2 (where NAME1 is the name of the current loaded model and NAME2 is the plugin one). |
| 37 | - The new model contains the SUM of all interactions of both model! The code didn't check if the same interactions appears in |
| 38 | both model. If this happens, the new model will contain TWO times the same interactions (and is then likely to be wrong). |
| 39 | - if the options "--recreate" is present and a model NAME1_NAME2 already exists then the code remove that model. |
| 40 | - if the options "--recreate" is NOT present and a model NAME1_NAME2 already exists then code just import NAME1__NAME2 model. |
| 41 | - The options output allows to specify the name of the resulting model (can then be imported via "import model XXX") |
| 42 | |
| 43 | |
| 44 | === MORE DETAILS |
| 45 | |
| 46 | 1) ALL external parameter which correspond to the same block/id are expected to be identical between the two model. |
| 47 | Be carefull if you use this with some "frblock" since they are likely to have different physical meaning betwen different model. |
| 48 | |
| 49 | 2) ALL particles are identified by their PDG_CODE. If a particles of the plugin model has a pdg_code of one particle of the original model |
| 50 | then we assume the two particles to be identical and to have the same mass/same width. IF one of the two model has that particle defined with |
| 51 | a ZERO mass and not the other, the resulting mass will ALWAYS be the non zero one. |
| 52 | |
| 53 | 3) If two parameters have the same name for different physical quantity, then the plugin variable will be renamed automatically. |
| 54 | |
| 55 | 4) The coupling order takes the minimal value of the coupling order found in both model. This might not be what you want => Probably need to modify |
| 56 | that file manually! |