Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract observable specific data from event shower. #159

Closed
pimherbschleb opened this issue Dec 20, 2022 · 6 comments
Closed

Extract observable specific data from event shower. #159

pimherbschleb opened this issue Dec 20, 2022 · 6 comments
Labels
MG5 MadGraph integration NormalMode Normal Mode ❓question Further information is requested

Comments

@pimherbschleb
Copy link

I'm sorry if this question could be better asked at madgraph as opposed to madanalysis, but I'm quite new and I don't understand the inner workings of either yet.
I'm trying to shower a particle level event and from that event extract information on the observables e.g. differential cross section at different centre of mass energies or (and I don't understand jets that well yet) transverse momenta of certain jets. Essentially I would like the data out of which the histograms are made in the pdf report at parton or hadron level.
Could you explain how to get this data in a way that a person who is not that familiar with coding could apply.
I have heard of lhe reading software and for the unweighted events I've been able to extract this information, but not on the showered events. Thanks in advance.

best,
pim herbschleb

@jackaraz
Copy link
Member

jackaraz commented Dec 20, 2022

Hi @pimherbschleb, all the data is stored in the <workspace name>/Output/SAF/<sample name> folder. There you can find Histos.saf file which contains all the information that is used to generate the histograms in your report. If you like to have a package to parse that file I suggest ma5-expert plugin (the file is human readable).

@jackaraz jackaraz added ❓question Further information is requested NormalMode Normal Mode labels Dec 20, 2022
@pimherbschleb
Copy link
Author

pimherbschleb commented Jan 10, 2023 via email

@jackaraz
Copy link
Member

Hi @pimherbschleb, madgraph might be removing the raw files generated by madanalysis and using only the PDF or HTML file, but I'm sure they are storing it somewhere in your event folder it is unlikely that they delete the madanalysis workspace. Normaly when you run madanalysis standalone you can find all the information about your analysis in the path I wrote above.

@pimherbschleb
Copy link
Author

pimherbschleb commented Jan 10, 2023 via email

@jackaraz
Copy link
Member

Hi @pimherbschleb, LHE files are the event files that you generate using madgraph. MadAnalysis reads and analyses LHE, HEPMC, ROOT, FIFO, LHCO etc types of files and provides you with histogram and cutflow files with the extension .saf.

@jackaraz jackaraz added the MG5 MadGraph integration label Jan 10, 2023
@jackaraz
Copy link
Member

I'm assuming this issue has been resolved, closing the topic. Please don't hesitate to reopen if you need more information on this specific title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MG5 MadGraph integration NormalMode Normal Mode ❓question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants