Citizen Science Episode 3

In this new episode of Citizen Science on Hive @lemouth introduce us to detector effects and event reconstruction.

Step3.titre.jpg

All the steps including links to previous episodes can be found in his post:
https://stemgeeks.net/hive-196387/@lemouth/citizen-science-on-hive-detector-effects-and-event-reconstruction

The first task of this episode consisted in the installation of a new tool: MadAnalysis 5


The command to use was:

git clone https://github.com/MadAnalysis/madanalysis5

It worked fine for me:

step3.1.jpg

But when i wanted to launch the tool with:

cd madanalysis5
./bin/ma5

I had an error message about python:

erreur python.jpg

I should mention that my Ubuntu is running in Virtualbox and it asked me to update when it was launched for this session. I did restart, and python3 also updated, but it doesn't seem to be accessible anymore. I have done a lot of research for this problem and will save you all the unsuccessful attempts to solve it. So I give the solution that allowed me to remove this error message and to be able to launch Ma5:

sudo apt install python-is-python3

step3.6.jpg

I give the source where i found the solution:
https://stackoverflow.com/questions/3655306/ubuntu-usr-bin-env-python-no-such-file-or-directory

So I was able to continue in the task:

step3.7.jpg

step3.8.jpg

Pdflatex and Latex where missing, i tried to install them using the link provided by @lemouth but for some reason it didn't work.
So i did another research and i found a solution here:
https://doc.ubuntu-fr.org/latex
and I installed the full version:

apt://texlive-full

And it worked fine:

step3.10.jpg


For the task 2 of this episode I had to install 2 more packages:

ma5>install zlib

(this one was already installed during my tests to solve Python problem)

ma5>install fastjet

step3.12.jpg


So we are now ready for Task 3: Top-antitop simulations

I started Ma5 as described:

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

and the following commands:

import <path-to-our-events>
set main.outputfile = myevents.lhe.gz
submit

I had some problems again to enter the path correctly but i did it:

step3.13.jpg

step3.14.jpg

We are now on the last task "Some physics - task 4"

I restarted Ma5

./bin/ma5

and I entered the following commands:

ma5> import ANALYSIS_0/Output/SAF/_defaultset/lheEvents0_0/myevents.lhe.gz as ttbar
ma5> set ttbar.xsection = 505.491
ma5> plot NAPID
ma5> submit

step3.15.jpg

step3.16.jpg

The reward is this beautiful graphic that you get when you enter:

open

step3.17.jpg

Conclusion:

I had some problems, probably related to my lack of practice with Linux, but nothing insurmountable, I progress and I usually find the solution by using a search engine with the right keywords.

Posted with STEMGeeks

0.19704955 BEE
5 comments

I am sorry to read that you had issues with python and texlive. System issues are always unpredictable… Note that this is the first time I see the python issue, and I could not have warned you at all here. I am however happy you managed to solve everything through searches online. At least, now, if others have issues I will now refer to your post ^^

I take also the opportunity to tag @gentleshaid here, as I know he has issues with entering the path to the event sample. Here, it is better to enter the full path to the events, as you did.

0E-8 BEE

I actually like to solve problems so it's ok for me :)
Thanks

8.3E-7 BEE

Ahaha! You can count on me for extra challenges, sooner or later. ^^

8.3E-7 BEE

Thanks for your contribution to the STEMsocial community. Feel free to join us on discord to get to know the rest of us!

Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).

Thanks for including @stemsocial as a beneficiary, which gives you stronger support. 
 

0E-8 BEE

Great! Thanks to your report I hope not to have the same problems when preparing my calculations! It looks like doing something new is never a straight forward task...

0E-8 BEE

Thanks
If it was too easy it would lose some of its interest.

8.3E-7 BEE

!BEER

0E-8 BEE

Hey @servelle, here is a little bit of BEER from @eii for you. Enjoy it!

Learn how to earn FREE BEER each day by staking your BEER.

0E-8 BEE