]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSubEventTracker.cxx
No compression by default
[u/mrichter/AliRoot.git] / MUON / AliMUONSubEventTracker.cxx
index 333b883c92a58c5d188545eba64f4ac2625bfc19..7a1fabedf468555f371dd7891206664d5214ac41 100644 (file)
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
-
 #include "AliMUONSubEventTracker.h"
 
+const Int_t AliMUONSubEventTracker::fgkHeaderLength = 4;
+
 ClassImp(AliMUONSubEventTracker)
 
 //___________________________________________
@@ -32,8 +34,7 @@ AliMUONSubEventTracker::AliMUONSubEventTracker()
 //___________________________________________
 AliMUONSubEventTracker::~AliMUONSubEventTracker()
 {
-  if(fData)
-    delete[] fData;
+  delete[] fData;
 }
 
 //___________________________________________
@@ -49,7 +50,7 @@ void AliMUONSubEventTracker::AddData(UInt_t data)
 {
   // could have used class from ROOT
   // but the structure must be as simple as possible
-  // to be written on disc blockwise
+  // to be written on disc blockwise, not so sure ?
   if (fLength == fBufSize) 
     ResizeData();
   fData[fLength++] = data;