Minor corrections suggested by P. Hristov
authorcoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Dec 2000 13:17:01 +0000 (13:17 +0000)
committercoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 12 Dec 2000 13:17:01 +0000 (13:17 +0000)
ZDC/AliZDC.cxx

index 62e1a9183da28228b1962089f8c6e68334af5a5e..80af78be161ca4fbdb5576bed7dc02e57c82fc51 100644 (file)
@@ -46,10 +46,13 @@ Introduction of the Copyright and cvs Log
 //                                                                           //
 ///////////////////////////////////////////////////////////////////////////////
 
+#include <stdlib.h>
+
 // --- ROOT system
 #include <TBRIK.h>
 #include <TNode.h>
 #include "TGeometry.h"
+#include "TTree.h"
 
 // --- AliRoot header files
 #include "AliZDC.h"
@@ -74,6 +77,9 @@ AliZDC::AliZDC()
 
   fNhits = 0;
   fNStHits = 0;
+  
+  fStHits = new TClonesArray("AliZDCHit",1000);
+  
   fNPrimaryHits = 0;
 }