User Tools

Site Tools


mem:mem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
mem:mem [2013/07/05 14:28] decosamem:mem [2013/07/05 14:44] decosa
Line 4: Line 4:
 This is the development branch, the most up to date.  This is the development branch, the most up to date. 
  
- +<code> 
-  * ''bzr branch lp:~maddevelopers/madgraph5/madweight_mc_perm ''+bzr branch lp:~maddevelopers/madgraph5/madweight_mc_perm  
 +</code>
  
 Once MadWeight is on the working machine, the first step is to calculate the matrix elements for the process to consider: the hypothesis HP. Once MadWeight is on the working machine, the first step is to calculate the matrix elements for the process to consider: the hypothesis HP.
 It is possible to it by launching MadGraph and defining the hypothesis process. It is possible to it by launching MadGraph and defining the hypothesis process.
  
-  * ''cd madweight_mc_perm'' +<code> 
-  * ''./bin/mdg5''                                                         # launching MadGraph +cd madweight_mc_perm 
-  * ''generate p p > t h b~ j $$ w+ w-, h > b b~ , t > b l+ vl''           # generating the process +./bin/mdg5                                                         # launching MadGraph 
-  * ''add process p p > t~ h b j $$ w+ w-, h > b b~ , t~ > b~ l- vl~''     # adding the complementary channel +generate p p > t h b~ j $$ w+ w-, h > b b~ , t > b l+ vl           # generating the process 
-  * ''output madweight tHbb_HP''                                           # saving the output in the tHbb folder (tHbb_HP folder will be automatically created)+add process p p > t~ h b j $$ w+ w-, h > b b~ , t~ > b~ l- vl~     # adding the complementary channel 
 +output madweight tHbb_HP                                           # saving the output in the tHbb folder (tHbb_HP folder will be automatically created) 
 +</code> 
  
 Madweight requires as input a **set of datacards** and an **LHCO file**. Madweight requires as input a **set of datacards** and an **LHCO file**.
Line 20: Line 24:
 The datacards to customize are three: param_card.dat, run_card.dat and Madweight_card.dat The datacards to customize are three: param_card.dat, run_card.dat and Madweight_card.dat
  
-  * param_card.dat: In this datacard it is stored the model, to change it, just replace existing values of particles mass, width, couplings. For instance, in the case of tH analysis, the Higgs boson mass has to be set to 125 and the Higgs-top coupling to -173. +  * __**param_card.dat**__: In this datacard it is stored the model, to change it, just replace existing values of particles mass, width, couplings. For instance, in the case of tH analysis, the Higgs boson mass has to be set to 125 and the Higgs-top coupling to -173. 
-  *  run_card.dat: Information about colliding particles are stored here, proton-proton collisions are considered. The value of per-beam-energy has to be changed, default is 8 teV per beam.  +  *  __**run_card.dat**__: Information about colliding particles are stored here, proton-proton collisions are considered. The value of per-beam-energy has to be changed, default is 8 teV per beam.  
-  *  Madweight_card.dat: This is the Madweight configuration card. The first thing to change is the name of the job that is going to be submitted. Among the other parameters to set there are the number of events and the parameter of interest. Example: if the mass of the Higgs is the parameter of interests of the specific analysis, then it has to be specified in the following way: +  *  __**Madweight_card.dat**__: This is the Madweight configuration card. The first thing to change is the name of the job that is going to be submitted. Among the other parameters to set there are the number of events and the parameter of interest. Example: if the mass of the Higgs is the parameter of interests of the specific analysis, then it has to be specified in the following way: 
 +<code> 
 + 11   mass  # The parameter of interest 
 + 12   25    # Id of the particle for wich the parameter must be changed 
 + 13   115   # Different values of the parameter for which a scan will be performed 
 + 13   125 
 + 13   130 
 +</code>
  
 +  * run_card.dat and param_card.dat have to remain unchanged once the hypothesis is defined. The parameter ''name'' in Madweight_card.dat has to be changed each time the hypothesis has to be run over a different sample. It is very important to change this value because otherwise the previous results will be overwritten.
 +  * Also the lhco file has to be updated each time MadWeight has to be run over a new sample: the lhco file related to the specific sample must be placed in the Events directory and named ''input.lhco''.
  
  
Line 34: Line 46:
  
 __**LHE to LHCO**__: lhco files can be converted from LHE files. To do this a script is available from MadGraph website. Download it in the working directory: __**LHE to LHCO**__: lhco files can be converted from LHE files. To do this a script is available from MadGraph website. Download it in the working directory:
-  * ''wget https://cp3.irmp.ucl.ac.be/projects/madgraph/raw-attachment/wiki/MadWeightTool/lhe2lhco.py.txt''  + 
-  * ''mv lhe2lhco.py.txt lhe2lhco.py''+<code> 
 +wget https://cp3.irmp.ucl.ac.be/projects/madgraph/raw-attachment/wiki/MadWeightTool/lhe2lhco.py.txt  
 +mv lhe2lhco.py.txt lhe2lhco.py 
 +</code>
  
 __**EDM LHE to LHCO**__: lhco files can converted also from EDM LHE files using a standard tool provided within the CMS framework (ExternalLHEAsciiDumper). Copy it and change the name of the input file:  __**EDM LHE to LHCO**__: lhco files can converted also from EDM LHE files using a standard tool provided within the CMS framework (ExternalLHEAsciiDumper). Copy it and change the name of the input file: 
mem/mem.txt · Last modified: 2013/07/05 15:21 by decosa