| 1 | |
| 2 | |
| 3 | == Software.MadWeight Analyzer == |
| 4 | |
| 5 | |
| 6 | |
| 7 | === Automatic Documentation === |
| 8 | [http://cp3wks05.fynu.ucl.ac.be/MW_epydoc/frames.html Automatic Documentation of Python script in MW (done by epydoc)] |
| 9 | === Aim of the tool === |
| 10 | |
| 11 | MadWeight Analyzer creates a fortran code specific for each process. This gives the best(s) parametrization of the phase space for perform an integration with the matrix Element comming from the specified Feynman Diagram and from the Transfert functions. As we remind below, the phase space parametrization can be consider like a big puzzle where we have to find the piece which match the best. For this purpose, MadWeight Analyzer returns all the possibility which minimizes the number of unaligned peaked. |
| 12 | |
| 13 | === Object Structuration === |
| 14 | |
| 15 | As we have said the change of variable is a combinaison a puzzle piece, more exactely we have a set of local change of variable that we use to parametrize the all pahse space parametrisation. We made a distinction between two type of change of variable. Those wich restore the Energy impulsion conservation and the others (Enlarged Constraint Sector). All impulsion needed in this change of variable are treated in a second type of structure : the blob |
| 16 | |
| 17 | ==== Enlarged Constraint Sector ==== |
| 18 | We have 6 different analytical change of variable |
| 19 | * A: zero neutrino |
| 20 | * B: one neutrino |
| 21 | * C: one neutrino and one non massive particle |
| 22 | * D: 2 neutrinos (ttbar like) |
| 23 | * E: 2 neutrinos (HWW like) |
| 24 | * F: 2 neutrinos (WW in T channel like) |
| 25 | |
| 26 | Remarq that a blob can be a fuse particle, that authorizes us to choose wich propagator to allign (among the mother of the neutrino) |
| 27 | ==== Blob Generation ==== |
| 28 | |
| 29 | A blob is generated step by step in choosing a block at each step. |
| 30 | ===== Building Blok ===== |
| 31 | We have 5 different analytical change of variable |
| 32 | * A: 1 neut+3 free propagator -> allign 3 invariant mass |
| 33 | * B: 1 neut+2 free propagator -> allign 2 invariant mass and generated one angle for the neutrino |
| 34 | * C: 1 neut+1 free propagator -> allign 1 invariant mass and generated the two angles for the neutrino |
| 35 | * D: 0 neut -> allign 1 invariant mass |
| 36 | * E: 0 neut -> allign 2 invariant mass |
| 37 | |
| 38 | |
| 39 | ===== Blob Solution ===== |
| 40 | |
| 41 | A lot of combinaison of this Bloks are possible. The first choice is trivial: We have to take the Block A if we can, then B and C. But the choice to do an D or an E (or nothing) is relativly equivalent and a lot of choice are available. MadWeight Analyzer will only give (up to) tree possibility: |
| 42 | |
| 43 | * Take at most at possible D-E (in this order) |
| 44 | * Do not perform any change of variable of the type D-E |
| 45 | * Do not perform any change of variable of the type E |
| 46 | |
| 47 | === Python Code === |
| 48 | ==== Step of the program ==== |
| 49 | |
| 50 | The code works in each Subprocesses in 4 step: |
| 51 | |
| 52 | 1. Read the Feynam diagram, store the info in objects and reorganize the information for later purpose |
| 53 | 1. Find the best(s) Enlarged constraint sector for this diagram. |
| 54 | 1. define how to generate each blob |
| 55 | 1. Write the output file (fortran code) |
| 56 | |
| 57 | ==== Request Input ==== |
| 58 | |
| 59 | MadWeight Analyzer read 4 files: |
| 60 | |
| 61 | 1. SubProcesses/MW_P..../python_data.txt (come from madgraph) |
| 62 | This file contains all the feynman diagram information |
| 63 | 1. SubProcesses/MW_P..../leshouches.inc (come from madgraph) |
| 64 | In This file we read the pid number of the external particle |
| 65 | 1. Soure/Transfer_fct/ordering_file.inc |
| 66 | Gives the information (from the transfer functions) on which type of particle have a sufficient large TF on this momenta to enter in a D or E change of variable. |
| 67 | 1. Card/param_card.dat |
| 68 | Give the parameter. (we use only the width of the particle) |
| 69 | ==== Output ==== |
| 70 | MadWeight Analyzer returns 4 types of file: |
| 71 | |
| 72 | 1. main_code.f : gives the different step of the change of variable : [attachment:main_code.f main_code.f] |
| 73 | 2. data.inc: initialize some parameter for fortran: [attachment:data.inc data.inc] |
| 74 | 3. pmass2.inc: create a unique vector for the mass/width of particle.: [attachment:pmass2.inc pmass2.inc] |
| 75 | 4. multi_channel.f: defines the importance off each change of variables points by poins in the PS |
| 76 | |
| 77 | ==== Option ==== |
| 78 | |
| 79 | In the MadWeight_card.dat you can choose an number of option |
| 80 | || Options || |
| 81 | || '''Block_name''' || '''TAG''' || * default value* || '''utility''' || |
| 82 | || MW_Gen || 1. || 1 || In ECS, choice which propagator to allign 1: thiner 2: nearest of the neutrino|| |
| 83 | || MW_Gen || 2. || 1 || In Blob, choice which propagator to allign 1: thiner 2: nearest || |
| 84 | || MW_Gen || 3. || 4 || Maximal number of ECS consider|| |
| 85 | || MW_Gen || 4. || T || Use type 1 solution for blob|| |
| 86 | || MW_Gen || 5. || T || Use type 2 solution for blob|| |
| 87 | || MW_Gen || 6. || T || Use type 3 solution for blob|| |
| 88 | || MW_Gen || 11. || T || Authorize ECS type A || |
| 89 | || MW_Gen || 12. || T || Authorize ECS type B || |
| 90 | || MW_Gen || 13. || T || Authorize ECS type C || |
| 91 | || MW_Gen || 14. || T || Authorize ECS type D || |
| 92 | || MW_Gen || 15. || T || Authorize ECS type E|| |
| 93 | || MW_Gen || 16. || T || Authorize ECS type F|| |
| 94 | || '''MW_Run''' || 3. || T ||control the efficiency of each block|| |
| 95 | |
| 96 | ==== More Code information: Class ==== |
| 97 | |
| 98 | [http://cp3wks05.fynu.ucl.ac.be/MW_epydoc/frames.html Automatic Documentation of Python script in MW (done by epydoc)] |
| 99 | |
| 100 | We Have 4 mother Class in Madweight Analyzer |
| 101 | |
| 102 | 1. Particle |
| 103 | 2. Propagator |
| 104 | 2. Ext_part |
| 105 | 1. Diagram |
| 106 | 2. MG_diagram |
| 107 | 2. ECS_sector |
| 108 | 2. Blob_sector |
| 109 | 1. Level_generation |
| 110 | 2. Blob_solution |
| 111 | 2. ECS_sector |
| 112 | 1. Block_sector |
| 113 | 2. Block_b |
| 114 | 2.Block_ecs |
| 115 | |
| 116 | We have also defined three 'tool' object |
| 117 | |
| 118 | 1. Mod_file |
| 119 | 1. Multi_list |
| 120 | 1. Option |
| 121 | For more information look at MadWeightDiagramClass |
| 122 | |
| 123 | |
| 124 | -- Main.OlivierMattelaer - 22 Feb 2008 |
| 125 | |
| 126 | |
| 127 | |
| 128 | |
| 129 | |
| 130 | |
| 131 | |
| 132 | |
| 133 | |
| 134 | |
| 135 | |
| 136 | |
| 137 | |