mc()->xsection() for .lhco and .root file
Hi,
I am working in MadAnalysis v1.3 with -R -E mode. I want to analysis a .lhco file generated by MadGraph+
In the .cpp file, I use
double xsec = sample.
to set cross section.
However, after make and ./MadAnalysis5job list, I get the following error.
* SampleAnalyzer for MadAnalysis 5 - Welcome.
* Initializing all components
- version: 1.3 (2016/03/01)
- general: everything is default.
- extracting the list of event samples...
- analyzer 'gmZ_j'
* Running over files ...
* 1/1 /home/xbyuan/
=> file size: 1.20 Mo
=> sample format: LHCO file produced by an unknown generator (cross section assumed in pb).
=> progress: [> ]
*** Break *** segmentation violation
=======
There was a crash.
This is the entire stack trace of all threads:
=======
#0 0x0000003753cac61e in waitpid () from /lib64/libc.so.6
#1 0x0000003753c3e609 in do_system () from /lib64/libc.so.6
#2 0x00007f1d59727d9f in TUnixSystem:
#3 0x00007f1d5972989c in TUnixSystem:
#4 <signal handler called>
#5 0x000000000040d9b7 in MA5::gmZ_
#6 0x000000000040c468 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.
=======
#5 0x000000000040d9b7 in MA5::gmZ_
#6 0x000000000040c468 in main ()
=======
I have checked:
1. If I replace double xsec = sample.
2. The .lhco contains the cross section information (similar as .lhe file)
#<MGGenerationInfo>
## Number of Events : 40000
## Integrated weight (pb) : 3027.95178552
#</MGGeneration
The number in Integrated weight is the same with the cross section.
3. There is the same error for .root file generated by MadGraph+
Thank you for your time.
Best Regards,
Xing-Bo Yuan
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Benjamin Fuks
- Solved:
- Last query:
- Last reply: