Isnochys does Science #2

in STEMGeeks8 months ago


[Credits: geralt (Pixabay)]

Where was I?
What did I do last time?
Where did I install all the stuff?

Ah, I don't mind and power through this one today, without knowing, what am I doing.
Welcome to the story of my life!

Task 1 -Getting started with MadAnalysis 5

Wait, I need to install more software?
geez

mkdir Mad5
cd Mad5
git clone https://github.com/MadAnalysis/madanalysis5
cd madanalysis5
./bin/ma5

Error in your description, @lemouth it is ma5, the program, not madanalysis5

Task 2 - Additional packages

But I continue and install zlib and fastjet
I click yes all the time, take the default option.

Task 3 - Top-antitop simulations

Now come on, let's do some physics!
Where did I put the last Chapters file?

<MG5aMC-installation-folder>/<some-name>/Events/run_02_decayed_1/tag_1_pythia8_events.hepmc.gz

Ok, I will search my home, it must be somwhere there:

find . |grep tag_1_pythia8_events
./mg5/MG5_aMC_v2_9_9/citizenscience/Events/run_01_decayed_1/tag_1_pythia8_events.hepmc.gz

yes, here we are.
So, let's fire up the ATLAS detector:

./bin/ma5 -R madanalysis/input/ATLAS_default.ma5

Now we are going to do some stuff for real:

import ~/mg5/MG5_aMC_v2_9_9/citizenscience/Events/run_01_decayed_1/tag_1_pythia8_events.hepmc.gz
MA5:    -> Storing the file 'tag_1_pythia8_events.hepmc.gz' in the dataset 'defaultset'.

set main.outputfile = myevents.lhe.gz
submit

BAAM!
The Computer is doing stuff!

Lots of errors, but I will just ignore them.

ANALYSIS_0/Output/SAF/_defaultset/lheEvents0_0/myevents.lhe.gz

Is 6.3 MB
Not great not terrible.

Task 4 - Some physics

import ANALYSIS_0/Output/SAF/_defaultset/lheEvents0_0/myevents.lhe.gz as ttbar
set ttbar.xsection = 505.491

Why?
my numbers were different and I did not write them down.
@lemouth, you should tell us, when to write something down.
Now I can use your numbers, but mine were:

505.8 +- 0.8033 pb

Are there logfiles to read the real number, as yours has 3 decimals, mine only 1

I continue with your values

plot NAPID
submit

And get this diagram:

So I get the exact same picture as you, @lemouth.

I did the same run again but this time with

set ttbar.xsection = 505.8

But at least the diagram looks the same.

What will we be using next time?
Do we need to write down anything?
I have now in dir ~/Mad5/madanalysis5/ subfolder ANALYSIS_ 0 -3
Because I did let it run more often

I cannot create PDFs, is this going to be some concern or will there be always HTML as output, that I can copy to a webserver to look at it from another computer?

We are now using 2 programs, Mad5 and MG5_aMC_v2_9_9
Will there be added more to it?
Because if yes, my home directory is going to be full of acronyms and very confusing;)

But it was fun again, see you next time!

Posted with STEMGeeks

Sort:  

Tanks a lot for taking part to this episode. You where the first to pull out a report!

Ah, I don't mind and power through this one today, without knowing, what am I doing.
Welcome to the story of my life!

Ahaha! This rings some bells to me too! We are thus two in this boat! Let’s maybe team up (ooww, we already did it somehow ;) ).

Error in your description, @lemouth it is ma5, the program, not madanalysis5

Good catch, good catch. @gentleshaid was trapped in there too. It has now been fixed in the main post. I will give you a bonus support from the @stemsocial trail for being the first to notice this (and @gentleshaid will get a bonus too) ;) . This was not on purpose, believe me.

Lots of errors, but I will just ignore them.

That’s OK. You probably don’t have any latex/pdflatex compiler installed on the system. In fact… you just persuaded me not to use latex so far ;) Let’s move on with the HTML output only. This answers one of the final questions of your report.

@lemouth, you should tell us, when to write something down.

I will in the future. For now, what we do is just a toy exercise to get used to the tools to use. This being said, there is a (not so secret) way to get back to your numbers. You however seem to have found by yourself ;) (~/mg5/MG5_aMC_v2_9_9/citizenscience/index.html is the key).

For the next exercise, just keep in mind the 505.8 pb value you have used. There is nothing more to know. Moreover, we won’t install more programs. Everything is fully setup.

Cheers!

I found the number in old screenshots from my last post:)
But good to know,it is stored in another place,too:))
Thanks for the upvotes!
!BEER

You are welcome! ^^

 8 months ago Reveal Comment

Great Post!

!1UP

I agree ^^

Great post! It is nice to see that some of you have carried out already this week's installation and calculations.

I share completely the view of not knowing what I am doing. 🤣

Your content has been voted as a part of Encouragement program. Keep up the good work!

Use Ecency daily to boost your growth on platform!

Support Ecency
Vote for new Proposal
Delegate HP and earn more

Don-1UP-Cheers-Cartel-250px.png

You have received a 1UP from @luizeba!

The following @oneup-cartel family members will soon upvote your post:
@cine-curator, @bee-curator, @stem-curator, @vyb-curator, @pob-curator
And they will bring !PIZZA 🍕

Learn more about our delegation service to earn daily rewards. Join the family on Discord.

 8 months ago Reveal Comment
 8 months ago Reveal Comment