Bug fixes for GRID operation (TStreamer)
authormiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Oct 2012 09:57:07 +0000 (09:57 +0000)
committermiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 26 Oct 2012 09:57:07 +0000 (09:57 +0000)
PWGCF/EBYE/NetParticle/AliAnalysisTaskNetParticle.cxx
PWGCF/EBYE/NetParticle/AliAnalysisTaskNetParticle.h

index fd11abf..ea967c8 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);
 
index dd0a20b..9a1dd87 100644 (file)
@@ -182,14 +182,14 @@ class AliAnalysisTaskNetParticle : public AliAnalysisTaskSE {
 
   // -----------------------------------------------------------------------
 
-  THnSparseF         *fHnQA;                   //  THnSparseF : tracks for QA
+  THnSparseF         *fHnQA;                   //!  THnSparseF : tracks for QA
   Float_t             fUseQATHnSparse;         //  Usage of THnSparse for QA
   
   // -----------------------------------------------------------------------
 
   Float_t             fEtaMax;                 //  Max, absolut eta 
-  Float_t            *fPtRange;                //  Array of pt [min,max]
-  Float_t            *fPtRangeEff;             //  Array of pt [min,max] for efficiency
+  Float_t            *fPtRange;                //!  Array of pt [min,max]
+  Float_t            *fPtRangeEff;             //!  Array of pt [min,max] for efficiency
 
   Int_t               fAODtrackCutBit;         //  Track filter bit for AOD tracks