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   |
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
|
|
|
Goto Forum:
Current Time: Wed Mar 19 23:12:28 CET 2025
Total time taken to generate the page: 0.00952 seconds
|