Data from 2011 for dimuon from J/psi decay in photonuclear PbPb collision

Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided

I wish you can help me.
I am a master’s student studying physics in Jordan. The object of my thesis is to get the data from 2011 of invariant mass M, the transverse momentum pt and the rapidity y of dimuon from J/psi decay in Ultra-Peripheral photonuclear PbPb collisions. I am the first one who works in this field in my country.
I used root inside a docker container. The #screenshot_1 shows the folders inside the ubuntu folder, the root and docker folders are not accessible. The #screenshot_2 shows what each folder in the HiForestProducer’s path contains. All the commands from this GitHub - cms-opendata-analyses/HiForestProducerTool at 2011 were completed successfully except the last one “root -l forest2dimuon.C++”. After running it:

$ root -l forest2dimuon.C++
root [0]
Processing forest2dimuon.C++…
Info in TUnixSystem::ACLiC: creating shared library /TOP/www/example-app/HiForest/HiForestProducer/./
Error in TFile::TFile: file /TOP/www/example-app/HiForest/HiForestProducer/HiForestAOD_DATAtest2011.root does not exist

*** Break *** segmentation violation
Generating stack trace…
0x00007f47097f98a3 in from /opt/root/lib/
0x00007f47097f9fe3 in from /opt/root/lib/
0x00007f47097fa3b1 in from /opt/root/lib/
0x00007f47098c22e7 in from /opt/root/lib/
0x00007f470970fcbc in from /opt/root/lib/
0x00007f470972b358 in TCling::ProcessLine(char const*, TInterpreter::EErrorCode*) + 0xff8 from /opt/root/lib/
0x00007f470972b81b in TCling::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) + 0xeb from /opt/root/lib/
0x00007f470ddcfab5 in TApplication::ExecuteFile(char const*, int*, bool) at TApplication.cxx:? from /opt/root/bin/…/lib/
0x00007f470e1f32e0 in TRint::ProcessLineNr(char const*, char const*, int*) + 0x60 from /opt/root/bin/…/lib/
0x00007f470e1f51ec in TRint::Run(bool) + 0x31c from /opt/root/bin/…/lib/
0x000056129f0222f3 in main + 0x53 from /opt/root/bin/root.exe
0x00007f470d7c3d90 in from /lib/x86_64-linux-gnu/
0x00007f470d7c3e40 in __libc_start_main + 0x80 from /lib/x86_64-linux-gnu/
0x000056129f022345 in _start + 0x25 from /opt/root/bin/root.exe
Root >

Hi @Anas_Alaali,

It seems that at least one of the input data files, i.e. HiForestAOD_DATAtest2011.root, cannot be found. That might be causing the rest of your failures, as it seems that the rest of the code just assumes that the file was open successfully.


Thank you for the clarification, but how to get this file. What should I do?

Please, carefully read the instructions in the file in the repository that you referenced: HiForestProducerTool/ at 2011 · cms-opendata-analyses/HiForestProducerTool · GitHub (in particular the “Run the producer” section, which talks about how that file is generated).