GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » EMC » Time-based EMC simulation
Re: Time-based EMC simulation [message #15496 is a reply to message #15495] Sat, 14 September 2013 12:10 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 2.235.190*
Hi Dima,
I did a minimal macro (attached) to see which one produce the error. You can see that it is only the PndEmc constructor... very strange.
And putting some cout inside the PndEmc.cxx, it seems it is the cosntructor call, before the fEmcCollection = new TConesArray("PndEmcPoint"); I removed this line, and I can see still the error.

Toggle Spoiler



I did something simpler, calling the cosnteructor from the root prompt:

spataro@briareos:~/apr13/trunk/macro$ root -l
root [0] PndEmc *pippo1
Error in <TClonesArray::SetClass>: called with a null pointer
root [1] PndEmc *pippo2
root [2] PndEmc *pippo3
root [3] 


The first constructor gives the error, the second not. But I cannot see anything in PndEmc which access to global stuff.
 
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Question in MC simulation
Next Topic: Help
Goto Forum:
  


Current Time: Wed Dec 04 20:38:46 CET 2024

Total time taken to generate the page: 0.00908 seconds