Isnochys does Science #2

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@isnochys·
0.000 HBD
Isnochys does Science #2
<center><img style="padding:5px" src="https://i.postimg.cc/xCHxWmYV/citizien2-002.png">
<sup>[Credits: <a href="https://pixabay.com/fr/illustrations/%C3%A9quipe-l-informatique-grouper-homme-523239/">geralt (Pixabay)</a>]</sup></center> 

Where was I?
[What did I do last time](https://peakd.com/hive-163521/@isnochys/isnochys-does-science-1)?
Where did I install all the stuff?

![](https://files.peakd.com/file/peakd-hive/isnochys/Eq7QhCMQPHdanNsMPB3VZnM8TPBFMojfsEoJn8zVdjR9PzqxMLnr4dbkQ9U5osRXWYp.gif)

Ah, I don't mind and power through [this one today](https://peakd.com/hive-196387/@lemouth/citizen-science-on-hive-detector-effects-and-event-reconstruction), 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!


![](https://images.hive.blog/DQmcQDoV7qHrPZWgb5vUKr8QqoVUG1T2c2sc7qBQk1yfrQP/image.png)


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:

![](https://images.hive.blog/DQmSHRGq7ZLE5ZQPorxu8tRVucMHxtbefqriqTXgBx2i5Mz/image.png)


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


![](https://images.hive.blog/DQmWApCqrXxNTL6g5VW1PNp5CRU8gRPxGQrrwyMvpuLkwuN/image.png)


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](https://stemgeeks.net)
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,