GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » PYTHIA6 usage
PYTHIA6 usage [message #23646] Thu, 21 February 2019 12:25 Go to next message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
Dear Ralf and Tobias,

Turning back again to PYTHIA. I haven't use Pandaroot for several years. And now I see that there were changed a lot.

The way which I used before (just reading by PandaRoot the ntuple, generated by Pythia6 - see attached run_sim_sttcombi_DUB.C file) doesn't work any more. I tryed to do the same in the modern format - see tut_sim_my.C. I doesn't work as well. I found that even the files PndPythia6Generator.h and PndPythia6Generator.cxx do not present in /pgenerators in the current version of PandaRoot.

So the main questions are:

1. How to launch PandaRoot in the current version with the Pythia6 as prepared external ntuple (in the way I did it before)? It would be very appreciated if you could send already working example. And it would be good to renew the correspondent page in tutorial correspondingly.

2. It would also be very good to have a possibility to launch PYTHIA directly from Pandaroot in order to have a chance to make a preselection of events which is crucial important for background simulation. The problem is that I do not understand how to switch between a lot of internal Pythia parameters (the main are the used subprocesses which are supposed for simulation). The only information that I found is http://www.hep.by/root/tutorials/pythia/pythiaExample.C.html which for me is absolutely not enough for understanding.

Thank you in advance,
with the best regards,
Anna

On 20.02.2019 18:12, RalfKliemt wrote:
> Dear Anna,
>
> I found a few lines which I fixed. Please go on and test the macro in the attachment.
>
> Cheers!
> Ralf
>
Re: PYTHIA6 usage [message #23652 is a reply to message #23646] Thu, 21 February 2019 12:27 Go to previous messageGo to next message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
Dear Ralf,

Thank you for a quick replay. Yes, fort.16 is an event file in txt format.

I do not fully understand - what do you mean by "we have to add the generator to the Master Run". How to do it?

For the moment I've got the error :

/mnt/hard/work_pandaroot2019/Simulation/DYee/Sig/10000$ root -l -b -q tut_sim_my_Ralf.C

Processing tut_sim_my_Ralf.C...
In file included from input_line_10:1:
/mnt/hard/work_pandaroot2019/Simulation/DYee/Sig/10000/tut_sim_my_Ralf.C :59:9: error: no matching member function for call to 'SetGenerator'
fRun->SetGenerator(primGen); //[R.K.] we have to add the generator to the Master Run
~~~~~~^~~~~~~~~~~~
G__MasterDict dictionary payload:769:8: note: candidate function not viable: no known conversion from 'FairFilteredPrimaryGenerator *' to 'FairGenerator *' for 1st argument
void SetGenerator(FairGenerator *boxGen);
^
G__MasterDict dictionary payload:778:8: note: candidate function not viable: no known conversion from 'FairFilteredPrimaryGenerator *' to 'PndBoxGenerator *' for 1st argument
void SetGenerator(PndBoxGenerator *boxGen);
^
G__MasterDict dictionary payload:753:8: note: candidate function not viable: requires 0 arguments, but 1 was provided
void SetGenerator();
^

Thank you,

Anna

[Updated on: Thu, 21 February 2019 12:29]

Report message to a moderator

Re: PYTHIA6 usage [message #23653 is a reply to message #23652] Thu, 21 February 2019 12:33 Go to previous messageGo to next message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
Ups, ok, sorry. I understood that saying that have to add the generator to the Master Run - you already did it by fRun->SetGenerator(primGen).
But nevertheless it seems to be not enough...
Re: PYTHIA6 usage [message #23660 is a reply to message #23653] Fri, 22 February 2019 13:24 Go to previous messageGo to next message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
Dear Anna,

you're right. Please replace the according statement with

fRun->SetGenerator(pythiaGen);

and comment lines 48/49. The primary generator is being created inside already.

Cheers!
Ralf
Re: PYTHIA6 usage [message #23661 is a reply to message #23660] Fri, 22 February 2019 13:58 Go to previous messageGo to next message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
Dear Ralf,

Thank you! It started to work when I commented the lines 48/49 and replaced fRun->SetGenerator(primGen); to fRun->SetGenerator(pythiaGen);
and commented also the line primGen->AddGenerator(pythiaGen);

But then I faced the problems with the further usage - tut_aod.C. I have to think about this and shall report it later.

Cheers,
Anna
Re: PYTHIA6 usage [message #23666 is a reply to message #23661] Fri, 22 February 2019 15:15 Go to previous messageGo to next message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
Dear colleagues,

I found more information about possible launch of PYTHIA simulation from inside Root - fairsoft_may18/tools/root/montecarlo/pythia6.
From the file /src/TPythia6.cxx one can see how one can choose and set the internal PYTHIA parameters about which I was confused.
So one can really call PYTHIA from Root using the presented parameters. The problem is that the presented list of common-blocks is not full and some
very important parameters which allow to run PYTHIA at low PANDA energies are absent (by default it doesn't work). I hope that inserting the missed information could be done in
analogous way as for the other common-blocks. But one have to think how to compile then these all together.

Best regards,
Anna
Re: PYTHIA6 usage [message #25139 is a reply to message #23666] Wed, 30 September 2020 15:18 Go to previous messageGo to next message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
Dear colleagues,

Sorry for some quite a long break on discussing this subject...

We realized that if to use Pythia6 interface with PndPythia6Generator, seems that it reads and forward to pandaroot only the first particle from the obtained by Pythia event list (see attached fort.20 with example of the whole Drell-Yan event after hadronization, but without decays). What can be the reason for that?

As regarding to usage of PndPythia6Direct at the level of simulation it writes something like
>>> Event 0
[ERROR] === Problem: particle with index 15 has daughters= 24 && daughtersp= 2
>>> Event 1
[ERROR] === Problem: particle with index 15 has daughters= 13 && daughtersp= 2
>>> Event 2
[ERROR] === Problem: particle with index 15 has daughters= 66 && daughtersp= 2
>>> Event 3
[ERROR] === Problem: particle with index 15 has daughters= 20 && daughtersp= 2
>>> Event 4
[ERROR] === Problem: particle with index 16 has daughters= 7 && daughtersp= 2
>>> Event 5
[ERROR] === Problem: particle with index 18 has daughters= 5 && daughtersp= 2

....
and then crashes when trying to do tut_aod.C

Thank you,
best regards,
Anna
  • Attachment: fort.20
    (Size: 1.28MB, Downloaded 166 times)
Re: PYTHIA6 usage [message #25147 is a reply to message #23646] Thu, 01 October 2020 21:19 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *dyn.telefonica.de
Dear Anna,

I have tried your provided pythia file and cannot see a problem. I attached two plots of the SIM file content in the MCTrack. You can also find the macro I used in the attachments (I renamed your events file to test.dat).

Mother ID of particle
index.php?t=getfile&id=11197&private=0

PDG code of particle
index.php?t=getfile&id=11201&private=0

Cheers!
Ralf
Re: PYTHIA6 usage [message #25190 is a reply to message #25147] Thu, 08 October 2020 14:23 Go to previous messageGo to next message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
Dear Ralf,

Thank you for a fast replay. I have tried your script with the different changes, but didn't manage to get the same results. With the exactly(!) your script I've got:

mostly
......===== PndPidCorrelator - Event: 960 - Number of tracks for pid 0 - Number of Clusters for pid: EMC: 1 FSC: 0
===== PndPidCorrelator - Event: 961 - Number of tracks for pid 1 - Number of Clusters for pid: EMC: 1 FSC: 0
===== PndPidCorrelator - Event: 962 - Number of tracks for pid 1 - Number of Clusters for pid: EMC: 1 FSC: 0
===== PndPidCorrelator - Event: 963 - Number of tracks for pid 1 - Number of Clusters for pid: EMC: 1 FSC: 0
===== PndPidCorrelator - Event: 964 - Number of tracks for pid 1 - Number of Clusters for pid: EMC: 1 FSC: 0
===== PndPidCorrelator - Event: 965 - Number of tracks for pid 1 - Number of Clusters for pid: EMC: 1 FSC: 0
===== PndPidCorrelator - Event: 966 - Number of tracks for pid 0 - Number of Clusters for pid: EMC: 0 FSC: 2
===== PndPidCorrelator - Event: 967 - Number of tracks for pid 1 - Number of Clusters for pid: EMC: 2 FSC: 0
....
that means, as far as I understand, there are mostly the only one track per event, that is confirmed by the picture from root.

From the picture Pdg.png (MCTrack.fPdgCode) it clear seen the presence of the fist positive muon in 90% and in 10% mu-, while a priory
mu+ and mu- are absolutely indentical in the file, having in account that there are also the other charged particles in at least >50% events.

I'm very confused in this situation. I would be very grateful if anybody could give a hint what I'm doing wrong.

Thanks in advance,
Anna
  • Attachment: Pdg.png
    (Size: 0.10KB, Downloaded 236 times)
Re: PYTHIA6 direct usage [message #25197 is a reply to message #25190] Thu, 08 October 2020 16:32 Go to previous messageGo to next message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
Once again about Pythia6Direct interface - I have tried it with different kind of processes. And again it gives :
...
>>> Event 8
$$$X Primary track 10
[ERROR] === Problem: particle with index 23 has daughters= 14 && daughtersp= 4
[ERROR] === Problem: particle with index 25 has daughters= 37 && daughtersp= 2
[ERROR] === Problem: particle with index 27 has daughters= 2 && daughtersp= 2
[ERROR] === Problem: particle with index 31 has daughters= 2 && daughtersp= 2
>>> Event 9
[ERROR] === Problem: particle with index 13 has daughters= 14 && daughtersp= 2
[ERROR] === Problem: particle with index 16 has daughters= 35 && daughtersp= 2
[ERROR] === Problem: particle with index 18 has daughters= 25 && daughtersp= 2
>>> Event 10
[ERROR] === Problem: particle with index 16 has daughters= 62 && daughtersp= 2
[ERROR] === Problem: particle with index 18 has daughters= 2 && daughtersp= 2
...
seems there are some problems with transfer the information about daughters (which for me personally for the moment doesn't matter too much).
And it crashes while processing tutu_aod.C:
Processing tut_aod.C...
PndFileNameCreator::fFileName pythia6direct 13
[WARN] FairRun::SetOutputFile() deprecated. Use FairRootFileSink.
Info in <PndSdsHybridHitProducer::PndSdsHybridHitProducer>: MVD Hybrid Hit Producer created, Parameters will be taken from RTDB
Info in (PndGeoHandling::Instance): Making a new instance using the framework.
MasterRunAna: PID Task creation. Options are ""
[INFO] The input consists out of the following trees and files:
[INFO] - pndsim
[INFO] - ./pythia6direct_sim.root
[INFO] FairRootFileSink initialized.
[INFO] - cbmout
[INFO] - ./pythia6direct_pid.root
[INFO] Parameter and input file are available, Assure that basic info is there for the run!

*************************************************************
initialisation for run id 1602160977
*************************************************************
-I- FairRunTimeDB::InitContainer() FairGeoParSet
Info in <TGeoManager::CloseGeometry>: Geometry loaded from file...
Info in <TGeoManager::SetTopVolume>: Top volume is cave. Master volume is cave
Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100
Info in <TGeoManager::Voxelize>: Voxelizing...
Info in <TGeoManager::CountLevels>: max level = 12, max placements = 4550
Info in <TGeoManager::CloseGeometry>: 2028308 nodes/ 5654 volume UID's in FAIR geometry
Info in <TGeoManager::CloseGeometry>: ----------------modeler ready----------------
Container FairGeoParSet initialized from ROOT file.
-I- FairRunTimeDB::InitContainer() FairBaseParSet
PndPythia6Direct::SetPandaDefaults()

*** Break *** segmentation violation
Aborted (core dumped)

I hope that someone could find the bug...

Best regards,
Anna



Re: PYTHIA6 direct usage [message #25199 is a reply to message #25197] Fri, 09 October 2020 08:14 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *nc.de
Dear Anna,

could you also post the core dump of your error?

Cheers,

Tobias
Re: PYTHIA6 direct usage [message #25200 is a reply to message #25199] Fri, 09 October 2020 09:26 Go to previous messageGo to next message
AnnaSkachkova is currently offline  AnnaSkachkova
Messages: 9
Registered: April 2013
Location: Dubna
occasional visitor
From: 31.131.194*
Dear Tobias,

Seems that not. As I can see - this site allows to upload files up to 20MB, but my core file weights 1260M...

Anna
Re: PYTHIA6 direct usage [message #25201 is a reply to message #25200] Fri, 09 October 2020 09:28 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *nc.de
Dear Anna,

usually there are additional lines below `*** Break *** Segmentation Violation`.

Can you send them?

Cheers,

Tobias
Re: PYTHIA6 direct usage [message #25203 is a reply to message #25200] Fri, 09 October 2020 09:39 Go to previous messageGo to next message
AnnaSkachkova is currently offline  AnnaSkachkova
Messages: 9
Registered: April 2013
Location: Dubna
occasional visitor
From: 31.131.194*
A, yes, here they are :


===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007fe8a55688fa in __GI___waitpid (pid=27576, stat_loc=stat_loc
entry=0x7ffe2cd38098, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x00007fe8a54d79cb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
#2 0x00007fe8a616a2cd in TUnixSystem::Exec (shellcmd=<optimized out>, this=0x5628b46d07c0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/core/unix/src/TUnixS ystem.cxx:2119
#3 TUnixSystem::StackTrace (this=0x5628b46d07c0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/core/unix/src/TUnixS ystem.cxx:2413
#4 0x00007fe8a616cc04 in TUnixSystem::DispatchSignals (this=0x5628b46d07c0, sig=kSigSegmentationViolation) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/core/unix/src/TUnixS ystem.cxx:3644
#5 <signal handler called>
#6 0x00007fe88cf0cee5 in ROOT::delete_TMCParticle (p=0x9999999999999999) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/build_for_fair/monte carlo/pythia6/G__EGPythia6.cxx:270
#7 0x00007fe8a610b631 in TClass::Destructor (this=this
entry=0x5628b7c0edc0, obj=obj
entry=0x9999999999999999, dtorOnly=dtorOnly
entry=false) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/core/meta/src/TClass .cxx:5198
#8 0x00007fe8a3919fb6 in TBufferFile::ReadFastArray (this=0x5628b9ff8570, start=<optimized out>, cl=0x5628b7c0edc0, n=<optimized out>, isPreAlloc=<optimized out>, streamer=<optimized out>, onFileClass=0x0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TBufferFil e.cxx:1660
#9 0x00007fe8a3b8c9ac in TStreamerInfo::ReadBuffer<char**> (this=0x5628b7a32c70, b=..., arr=
0x7ffe2cd3ab70: 0x7ffe2cd3ab68, compinfo=0x5628bd0e4ae8, first=first
entry=0, last=last
entry=1, narr=1, eoffset=0, arrayMode=0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TStreamerI nfoReadBuffer.cxx:1080
#10 0x00007fe8a39e1743 in TStreamerInfoActions::GenericReadAction (buf=..., addr=<optimized out>, config=<optimized out>) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TStreamerI nfoActions.cxx:185
#11 0x00007fe8a392143e in TStreamerInfoActions::TConfiguredAction::operator() (this=<optimized out>, this=<optimized out>, object=0x5628bd0e3700, buffer=...) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/build_for_fair/inclu de/TStreamerInfoActions.h:124
#12 TBufferFile::ApplySequence (obj=0x5628bd0e3700, sequence=..., this=0x5628b9ff8570) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TBufferFil e.cxx:3564
#13 TBufferFile::ReadClassBuffer (this=0x5628b9ff8570, cl=0x5628b64394e0, pointer=0x5628bd0e3700, onFileClass=<optimized out>) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TBufferFil e.cxx:3485
#14 0x00007fe895307863 in PndPythia6Direct::Streamer (this=0x5628bd0e3700/build/gdb-UN1U6s/gdb-8.0.1/gdb/stack.c:627: internal-error: void print_frame_args(symbol*, frame_info*, int, ui_file*): Assertion `nsym != NULL' failed.
===========================================================


The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at http://root.cern.ch/bugs Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#6 0x00007fe88cf0cee5 in ROOT::delete_TMCParticle (p=0x9999999999999999) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/build_for_fair/monte carlo/pythia6/G__EGPythia6.cxx:270
#7 0x00007fe8a610b631 in TClass::Destructor (this=this
entry=0x5628b7c0edc0, obj=obj
entry=0x9999999999999999, dtorOnly=dtorOnly
entry=false) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/core/meta/src/TClass .cxx:5198
#8 0x00007fe8a3919fb6 in TBufferFile::ReadFastArray (this=0x5628b9ff8570, start=<optimized out>, cl=0x5628b7c0edc0, n=<optimized out>, isPreAlloc=<optimized out>, streamer=<optimized out>, onFileClass=0x0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TBufferFil e.cxx:1660
#9 0x00007fe8a3b8c9ac in TStreamerInfo::ReadBuffer<char**> (this=0x5628b7a32c70, b=..., arr=
0x7ffe2cd3ab70: 0x7ffe2cd3ab68, compinfo=0x5628bd0e4ae8, first=first
entry=0, last=last
entry=1, narr=1, eoffset=0, arrayMode=0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TStreamerI nfoReadBuffer.cxx:1080
#10 0x00007fe8a39e1743 in TStreamerInfoActions::GenericReadAction (buf=..., addr=<optimized out>, config=<optimized out>) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TStreamerI nfoActions.cxx:185
#11 0x00007fe8a392143e in TStreamerInfoActions::TConfiguredAction::operator() (this=<optimized out>, this=<optimized out>, object=0x5628bd0e3700, buffer=...) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/build_for_fair/inclu de/TStreamerInfoActions.h:124
#12 TBufferFile::ApplySequence (obj=0x5628bd0e3700, sequence=..., this=0x5628b9ff8570) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TBufferFil e.cxx:3564
#13 TBufferFile::ReadClassBuffer (this=0x5628b9ff8570, cl=0x5628b64394e0, pointer=0x5628bd0e3700, onFileClass=<optimized out>) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TBufferFil e.cxx:3485
#14 0x00007fe895307863 in PndPythia6Direct::Streamer (this=0x5628bd0e3700/build/gdb-UN1U6s/gdb-8.0.1/gdb/stack.c:627: internal-error: void print_frame_args(symbol*, frame_info*, int, ui_file*): Assertion `nsym != NULL' failed.
===========================================================


Root > *** Error in `/home/anna/WORK/PandaRoot/fairsoft_jun19/build/bin/root.exe': double free or corruption (!prev): 0x00005628ba08f990 ***


Thanks,
Anna
Re: PYTHIA6 direct usage [message #25218 is a reply to message #25203] Wed, 14 October 2020 19:55 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *dyn.telefonica.de
Dear Anna,

Seems like there is a problem with some automatically generated class streamer. I believe we don't want that streamer to do anything, so we could try and force it off. For that, please add in PndPythia6Direct.h in the block after line 47 behind each member declaration a comment followed by an exclamation mark: "//!"
This should tell Root not to use those members in a streamer.

I hope this helps. If it does, please report or create a merge request.
Cheers!
Ralf
Re: PYTHIA6 direct usage [message #25231 is a reply to message #25218] Mon, 19 October 2020 15:33 Go to previous message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
Dear Ralf!

Thank you for your hint. I have tried different variations of comments, but unfortunately it didn't help. Everything seems the same. Or I did something wrong?



-I- FairRunTimeDB::InitContainer() FairGeoParSet
Info in <TGeoManager::CloseGeometry>: Geometry loaded from file...
Info in <TGeoManager::SetTopVolume>: Top volume is cave. Master volume is cave
Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100
Info in <TGeoManager::Voxelize>: Voxelizing...
Info in <TGeoManager::CountLevels>: max level = 12, max placements = 4550
Info in <TGeoManager::CloseGeometry>: 2028308 nodes/ 5654 volume UID's in FAIR geometry
Info in <TGeoManager::CloseGeometry>: ----------------modeler ready----------------
Container FairGeoParSet initialized from ROOT file.
-I- FairRunTimeDB::InitContainer() FairBaseParSet
PndPythia6Direct::SetPandaDefaults()

*** Break *** segmentation violation
Aborted (core dumped)



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007fa6baf4d8fa in __GI___waitpid (pid=10010, stat_loc=stat_loc
entry=0x7ffd06de7158, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x00007fa6baebc9cb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
#2 0x00007fa6bbb4f2cd in TUnixSystem::Exec (shellcmd=<optimized out>, this=0x55cc9e4677c0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/core/unix/src/TUnixS ystem.cxx:2119
#3 TUnixSystem::StackTrace (this=0x55cc9e4677c0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/core/unix/src/TUnixS ystem.cxx:2413
#4 0x00007fa6bbb51c04 in TUnixSystem::DispatchSignals (this=0x55cc9e4677c0, sig=kSigSegmentationViolation) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/core/unix/src/TUnixS ystem.cxx:3644
#5 <signal handler called>
#6 0x00007fa6a28f1ee5 in ROOT::delete_TMCParticle (p=0x9999999999999999) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/build_for_fair/monte carlo/pythia6/G__EGPythia6.cxx:270
#7 0x00007fa6bbaf0631 in TClass::Destructor (this=this
entry=0x55cca19a64e0, obj=obj
entry=0x9999999999999999, dtorOnly=dtorOnly
entry=false) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/core/meta/src/TClass .cxx:5198
#8 0x00007fa6b92fefb6 in TBufferFile::ReadFastArray (this=0x55cca3da61d0, start=<optimized out>, cl=0x55cca19a64e0, n=<optimized out>, isPreAlloc=<optimized out>, streamer=<optimized out>, onFileClass=0x0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TBufferFil e.cxx:1660
#9 0x00007fa6b95719ac in TStreamerInfo::ReadBuffer<char**> (this=0x55cca17ca6a0, b=..., arr=
0x7ffd06de9c30: 0x7ffd06de9c28, compinfo=0x55cca6e911a8, first=first
entry=0, last=last
entry=1, narr=1, eoffset=0, arrayMode=0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TStreamerI nfoReadBuffer.cxx:1080
#10 0x00007fa6b93c6743 in TStreamerInfoActions::GenericReadAction (buf=..., addr=<optimized out>, config=<optimized out>) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TStreamerI nfoActions.cxx:185
#11 0x00007fa6b930643e in TStreamerInfoActions::TConfiguredAction::operator() (this=<optimized out>, this=<optimized out>, object=0x55cca6e8fdc0, buffer=...) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/build_for_fair/inclu de/TStreamerInfoActions.h:124
#12 TBufferFile::ApplySequence (obj=0x55cca6e8fdc0, sequence=..., this=0x55cca3da61d0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TBufferFil e.cxx:3564
#13 TBufferFile::ReadClassBuffer (this=0x55cca3da61d0, cl=0x55cca01cfe30, pointer=0x55cca6e8fdc0, onFileClass=<optimized out>) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TBufferFil e.cxx:3485
#14 0x00007fa6aacec863 in PndPythia6Direct::Streamer (this=0x55cca6e8fdc0/build/gdb-UN1U6s/gdb-8.0.1/gdb/stack.c:627: internal-error: void print_frame_args(symbol*, frame_info*, int, ui_file*): Assertion `nsym != NULL' failed.
===========================================================


The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at http://root.cern.ch/bugs Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#6 0x00007fa6a28f1ee5 in ROOT::delete_TMCParticle (p=0x9999999999999999) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/build_for_fair/monte carlo/pythia6/G__EGPythia6.cxx:270
#7 0x00007fa6bbaf0631 in TClass::Destructor (this=this
entry=0x55cca19a64e0, obj=obj
entry=0x9999999999999999, dtorOnly=dtorOnly
entry=false) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/core/meta/src/TClass .cxx:5198
#8 0x00007fa6b92fefb6 in TBufferFile::ReadFastArray (this=0x55cca3da61d0, start=<optimized out>, cl=0x55cca19a64e0, n=<optimized out>, isPreAlloc=<optimized out>, streamer=<optimized out>, onFileClass=0x0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TBufferFil e.cxx:1660
#9 0x00007fa6b95719ac in TStreamerInfo::ReadBuffer<char**> (this=0x55cca17ca6a0, b=..., arr=
0x7ffd06de9c30: 0x7ffd06de9c28, compinfo=0x55cca6e911a8, first=first
entry=0, last=last
entry=1, narr=1, eoffset=0, arrayMode=0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TStreamerI nfoReadBuffer.cxx:1080
#10 0x00007fa6b93c6743 in TStreamerInfoActions::GenericReadAction (buf=..., addr=<optimized out>, config=<optimized out>) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TStreamerI nfoActions.cxx:185
#11 0x00007fa6b930643e in TStreamerInfoActions::TConfiguredAction::operator() (this=<optimized out>, this=<optimized out>, object=0x55cca6e8fdc0, buffer=...) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/build_for_fair/inclu de/TStreamerInfoActions.h:124
#12 TBufferFile::ApplySequence (obj=0x55cca6e8fdc0, sequence=..., this=0x55cca3da61d0) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TBufferFil e.cxx:3564
#13 TBufferFile::ReadClassBuffer (this=0x55cca3da61d0, cl=0x55cca01cfe30, pointer=0x55cca6e8fdc0, onFileClass=<optimized out>) at /home/anna/WORK/PandaRoot/fairsoft_jun19/tools/root/io/io/src/TBufferFil e.cxx:3485
#14 0x00007fa6aacec863 in PndPythia6Direct::Streamer (this=0x55cca6e8fdc0/build/gdb-UN1U6s/gdb-8.0.1/gdb/stack.c:627: internal-error: void print_frame_args(symbol*, frame_info*, int, ui_file*): Assertion `nsym != NULL' failed.
===========================================================


Root > *** Error in `/home/anna/WORK/PandaRoot/fairsoft_jun19/build/bin/root.exe': double free or corruption (!prev): 0x000055cca3e3d090 ***

Best regards,
Anna
Previous Topic: EvtGenDirec/PHOTOS
Next Topic: Large momenta from BOX genarator
Goto Forum:
  


Current Time: Fri Nov 22 10:33:46 CET 2024

Total time taken to generate the page: 0.00844 seconds