Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

LesHouchesEvents: how to read .lhe file

  1. Nov 30, 2016 #1
    Hello,

    I have a .lhe file for the u u > u u interaction and i want to extract the initial and final values of momenta but i don't know how. I could write a c++ program and insert them in arrays but how to exclude all the rest (MG5 Proc card, warnings etc) ?

    sorry for any language mistakes
     
  2. jcsd
  3. Nov 30, 2016 #2

    phinds

    User Avatar
    Gold Member
    2016 Award

    Read in everything in the file and only keep what you want; that's the normal way of doing such things. You might ever be able to find on-line code that already has everything to read the file.
     
  4. Dec 1, 2016 #3

    ChrisVer

    User Avatar
    Gold Member

    maybe if you search for the LheAnalysis tool in the CERN Twiki it can help you?
     
  5. Dec 1, 2016 #4
    I see.. Thank you !

    I didn't have a clue about it, thanks a lot!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted