expert mode segmentation error
Hi Ma5 Team,
I am a new user of MadAnalysis. I am trying to implement an analysis in the expert mode and have encountered a problem.
The process that I am studying is p p>z z +2jet(all inclusive). For that , I generated the events using Madgraph. I am interested in the reconstruction level analysis. So I imported the lhco.gz file to Madanalysis in the -R mode and it worked fine.
I then tried to write some code on my own (related to invariant mass) in addition to the codes generated in normal mode (i.e. codes in user.cpp) and tried to run it in the expert mode.My sample is still lhco.gz.
The .cpp file compiled without any problem.But after launching my sample via ./MadAnalysis5job, I got the following::
* SampleAnalyzer for MadAnalysis 5 - Welcome.
* Initializing all components
- version: 1.2 (2015/07/24)
- general: everything is default.
- extracting the list of event samples...
- analyzer 'myanalysis'
* Running over files ...
* 1/1 zz2jh_delphes_
=> file size: 452.69 ko
=> sample format: LHCO file produced by an unknown generator (cross section assumed in pb).
=> progress: [======
=> total number of events: 6933 ( analyzed: 6933 ; skipped: 0 )
* Finalizing all components ...
* Total number of processed events: 6933.
*** Break *** segmentation violation
=======
There was a crash (#7 0xb715eeab in SigHandler(
This is the entire stack trace of all threads:
=======
#0 0xb777b424 in __kernel_vsyscall ()
#1 0xb6c708f3 in waitpid () from /lib/i386-
#2 0xb6bf7c23 in ?? () from /lib/i386-
#3 0xb6d70e2b in system () from /lib/i386-
#4 0xb715782b in TUnixSystem:
#5 0xb715c210 in TUnixSystem:
#6 0xb715ed97 in TUnixSystem:
#7 0xb715eeab in SigHandler(
#8 0xb71558d2 in sighandler(int) () from /home/rimpi/
#9 <signal handler called>
#10 0xb6e4c0d2 in std::ostream:
#11 0xb6e4c876 in std::basic_
#12 0x08053e96 in MA5::myanalysis
#13 0xb77175db in MA5::SampleAnal
#14 0x0804f4de in main ()
=======
The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://
from above as an attachment in addition to anything else
that might help us fixing this issue.
=======
#10 0xb6e4c0d2 in std::ostream:
#11 0xb6e4c876 in std::basic_
#12 0x08053e96 in MA5::myanalysis
#13 0xb77175db in MA5::SampleAnal
#14 0x0804f4de in main ()
=======
Segmentation fault (core dumped)
#######
To see what is happening I tried to print some variable (e.g. invariant mass) and well, it printed without any complication.
I am not understanding the issue at all.Please help.
Regards,
Nabanita.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Benjamin Fuks
- Solved:
- Last query:
- Last reply: