Bug fixes for GRID operation (TStreamer)
[u/mrichter/AliRoot.git] / PWGCF / EBYE / NetParticle / AliAnalysisTaskNetParticle.cxx
index fd11abfcb2f3c166514d5b6547fa7c9253925f22..ea967c8c0bef607cbecc2c1722f82126951d0967 100644 (file)
@@ -132,6 +132,9 @@ AliAnalysisTaskNetParticle::~AliAnalysisTaskNetParticle() {
 void AliAnalysisTaskNetParticle::UserCreateOutputObjects() {
   // Create histograms
 
+  //Have to do this for grid analysis????
+  Initialize();
+
   Bool_t oldStatus = TH1::AddDirectoryStatus();
   TH1::AddDirectory(kFALSE);