Bug correction (uninitialized pointers)
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Aug 2003 07:48:26 +0000 (07:48 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Aug 2003 07:48:26 +0000 (07:48 +0000)
HBTAN/AliHBTReaderInternal.cxx
HBTAN/AliHBTReaderInternal.h

index a2d960d1b179d70feb427a9f8048a45e9eaa018c..011fc8bb876ac26597b8ae935fec5db571f730a8 100644 (file)
@@ -22,7 +22,9 @@ AliHBTReaderInternal::AliHBTReaderInternal():
  fPartBranch(0x0),
  fTrackBranch(0x0),
  fTree(0x0),
- fFile(0x0)
+ fFile(0x0),
+ fPartBuffer(0x0),
+ fTrackBuffer(0x0)
 {
 //Defalut constructor
 }
@@ -33,7 +35,9 @@ AliHBTReaderInternal::AliHBTReaderInternal(const char *filename):
  fPartBranch(0x0),
  fTrackBranch(0x0),
  fTree(0x0),
- fFile(0x0)
+ fFile(0x0),
+ fPartBuffer(0x0),
+ fTrackBuffer(0x0)
 { 
 //constructor 
 //filename - name of file to open
@@ -46,7 +50,9 @@ AliHBTReaderInternal::AliHBTReaderInternal(TObjArray* dirs, const char *filename
  fPartBranch(0x0),
  fTrackBranch(0x0),
  fTree(0x0),
- fFile(0x0)
+ fFile(0x0),
+ fPartBuffer(0x0),
+ fTrackBuffer(0x0)
 { 
 //ctor
 //dirs contains strings with directories to look data in
index 7f4cf6b9d15e05f4cefd91bead28011ac8910d13..baffd5cc95fa2912b2ff89ce85ad9509a06a652a 100644 (file)
@@ -1,17 +1,23 @@
 #ifndef ALIHBTREADERINTERNAL_H
 #define ALIHBTREADERINTERNAL_H
+//_________________________________________________________________________
+///////////////////////////////////////////////////////////////////////////
+//                                                                       //
+// class AliHBTReaderInternal                                            //
+//                                                                       //
+// Multi file reader for Internal Data Format                            //
+//                                                                       //
+// This reader reads data created by itself                              //
+//   (method AliHBTReaderInternal::Write)                                //
+//                                                                       //
+// Piotr.Skowronski@cern.ch                                              //
+// more info: http://alisoft.cern.ch/people/skowron/analyzer/index.html  //
+//                                                                       //
+///////////////////////////////////////////////////////////////////////////
 
 #include "AliHBTReader.h"
-
-//Multi file reader for Internal Data Format
-//
-//This reader reads data created by
-//                  
-//Piotr.Skowronski@cern.ch
-//more info: http://alisoft.cern.ch/people/skowron/analyzer/index.html
-
-
 #include <TString.h>
+
 class TFile;
 class TTree;
 class TBranch;