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 revisionBoth sides next revision
mem:mem [2013/07/05 11:51] decosamem:mem [2013/07/05 12:55] decosa
Line 1: Line 1:
  ====== How to run MadWeight ======  ====== How to run MadWeight ======
 +
 +In order to have MadWeight on the machine just check out it via bazaar (bazaar is installed on our tier 3):
 +  * ''bzr branch lp:~maddevelopers/madgraph5/madweight_mc_perm ''
 +This is the development branch, the most up to date. 
 +
  
 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 7: Line 12:
   * More info about the structure of LHCO files can be found at: http://madgraph.phys.ucl.ac.be/Manual/lhco.html   * More info about the structure of LHCO files can be found at: http://madgraph.phys.ucl.ac.be/Manual/lhco.html
  
-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''    * ''wget https://cp3.irmp.ucl.ac.be/projects/madgraph/raw-attachment/wiki/MadWeightTool/lhe2lhco.py.txt'' 
   * ''mv lhe2lhco.py.txt lhe2lhco.py''   * ''mv lhe2lhco.py.txt lhe2lhco.py''
  
-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: 
   * [[http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/GeneratorInterface/LHEInterface/test/testExternalLHEAsciiDumper_cfg.py?revision=1.2&view=markup]]    * [[http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/GeneratorInterface/LHEInterface/test/testExternalLHEAsciiDumper_cfg.py?revision=1.2&view=markup]] 
  
  
-To convert root files to LHCO files a standard tool does not exist, because it depends on the structure of the user root file. A root/lhco converter script to convert tH analysis root ntuples in lhco file is going to be implemented and it will be posted here as soon as it will be ready.+__**ROOT to LHCO**__: To convert root files to LHCO files a standard tool does not exist, because it depends on the structure of the user root file. A root/lhco converter script to convert tH analysis root ntuples in lhco file is going to be implemented and it will be posted here as soon as it will be ready.
    
 +
mem/mem.txt · Last modified: 2013/07/05 15:21 by decosa