GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Full sim: all detected particles have PDG ID zero
Re: Full sim: all detected particles have PDG ID zero [message #9387 is a reply to message #9383] Fri, 11 September 2009 22:14 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *0-87-r.retail.telecomitalia.it
First of all, have you added a TF1 or a TF1* ?
The main problem is that the code is not able to delete this TF1. maybe because it is not a pointer. Try to use the "*" if it is not in this way.
If not, try to delete this object by yourself in the destructor of your PndDpmDirect.

[ADDED]
I had not read the other posts. I have seen that the TF1* is already a pointer. Then try the second option, try to delete the histo in the destructor.

[Updated on: Fri, 11 September 2009 22:18]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon2.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Simulation crashes after "singular matrix" in digitization macro
Next Topic: Analyse MC hits per event in different detectors
Goto Forum:
  


Current Time: Fri Apr 26 20:49:58 CEST 2024

Total time taken to generate the page: 0.01081 seconds