Minor corrections suggested by P. Hristov
[u/mrichter/AliRoot.git] / 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;
 }