Any methods to convert .root file information into CSV format.

Asked by Gokul Krishna B

I have generated some signals and backgrounds using Madgraph with MadAnalysis5 and obtained corresponding distributions. I can understand that MadAnalysis5 taken care of .root file to produce the histogram. .
Is there any way to filter the data from the .root file generated using MadGraph into a CSV format in which I can carry out data operations with python?

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jack Y. Araz (jackaraz) said :
#1

Hi

You can use ma5 with the expert mode to extract any information in any format you like.

Cheers

--
Jack Y. Araz

> On 29 Oct 2021, at 2:05 pm, Gokul Krishna B <email address hidden> wrote:
>
> [EXTERNAL EMAIL]
>
> New question #699271 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/699271
>
> I have generated some signals and backgrounds using Madgraph with MadAnalysis5 and obtained corresponding distributions. I can understand that MadAnalysis5 taken care of .root file to produce the histogram. .
> Is there any way to filter the data from the .root file generated using MadGraph into a CSV format in which I can carry out data operations with python?
>
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Gokul Krishna B (gokulb) said :
#2

Any tutorials or documentation is available on how to extract?

Revision history for this message
Jack Y. Araz (jackaraz) said :
#3

Hi

You can find tutorials on expert mode in our website. Also a reference card is available in your local ma5 under `docs` folder.

cheers


Jack Y. Araz

On Nov 1, 2021, at 1:15 PM, Gokul Krishna B <<email address hidden><mailto:<email address hidden>>> wrote:

[EXTERNAL EMAIL]

Question #699271 on MadAnalysis 5 changed:
https://answers.launchpad.net/madanalysis5/+question/699271

   Status: Answered => Open

Gokul Krishna B is still having a problem:
Any tutorials or documentation is available on how to extract?

--
You received this question notification because you are an answer
contact for MadAnalysis 5.

Can you help with this problem?

Provide an answer of your own, or ask Gokul Krishna B for more information if necessary.

To post a message you must log in.