]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDrawFastStream.h
Fix for memory leaks in digits TClonesArrays (Matevz)
[u/mrichter/AliRoot.git] / TRD / AliTRDrawFastStream.h
index 32caf81d51f90f12b7ba5f44c5c43478efcbe7e6..c10f0d2056d0514f13ee23818be0784f7271047f 100644 (file)
@@ -46,7 +46,6 @@ class AliTRDrawFastStream : public AliTRDrawStreamBase
       \r
     Int_t               fADCmax;                  // number of ADCs fired\r
     Int_t               fADCcount;                // number of ADCs fired from double checking bit\r
-    Int_t               fMCMADCWords;             // mcm words to expect\r
     Int_t               fSingleADCwords;          // n of words per ADC\r
       \r
     Int_t               fMCMhdCorrupted;          // is mcm header corrupted\r
@@ -69,7 +68,6 @@ class AliTRDrawFastStream : public AliTRDrawStreamBase
       , fADCchannel()      \r
       , fADCmax(0)\r
       , fADCcount(0)\r
-      , fMCMADCWords(0)      \r
       , fSingleADCwords(0)\r
       , fMCMhdCorrupted(0)      \r
       , fADCmaskCorrupted(0)      \r
@@ -91,7 +89,6 @@ class AliTRDrawFastStream : public AliTRDrawStreamBase
       , fADCchannel()      \r
       , fADCmax(p.fADCmax)\r
       , fADCcount(p.fADCcount)\r
-      , fMCMADCWords(p.fMCMADCWords)      \r
       , fSingleADCwords(p.fSingleADCwords)\r
       , fMCMhdCorrupted(p.fMCMhdCorrupted)      \r
       , fADCmaskCorrupted(p.fADCmaskCorrupted)      \r
@@ -369,6 +366,7 @@ class AliTRDrawFastStream : public AliTRDrawStreamBase
   \r
   Bool_t   DecodeSMHeader(void *buffer, UInt_t length); // decode a buffer\r
   Bool_t   SetReader(AliRawReader *reader); // set the raw reader to use\r
+  void     SetNoErrorWarning() {fWarnError = kFALSE;} // disable warning and error info\r
           \r
   // from MCM Header Word\r
   // rob and mcm ordering\r
@@ -429,7 +427,6 @@ class AliTRDrawFastStream : public AliTRDrawStreamBase
  \r
   static void    SetNoDebug() {fgDebugFlag = kFALSE;} // allow debug info\r
   static void    EnableMemoryReset() {fgEnableMemoryReset = kTRUE;} // allow memory reset\r
-  static void    SetNoErrorWarning() {fgWarnError = kFALSE;} // disable warning and error info\r
   static void    SetForceCleanDataOnly() {fgCleanDataOnly = kTRUE;} // clean data only\r
   static void    AllowCorruptedData() {fgCleanDataOnly = kFALSE;} // accept corrupted data\r
 \r
@@ -543,6 +540,7 @@ class AliTRDrawFastStream : public AliTRDrawStreamBase
   Short_t fCOL;          // column - row from MCM\r
   Short_t fExtendedCOL;  // virtual column for extended digit container\r
   Bool_t  fIsShared;     // true if the pad is shared pad\r
+  Bool_t  fWarnError;    // no errors no warnings\r
 \r
   Bool_t  fBufferRead;   // set true if the buffer for one ddl is read\r
 \r
@@ -556,7 +554,6 @@ class AliTRDrawFastStream : public AliTRDrawStreamBase
 \r
   static Bool_t fgExtraSkip; // whether we should skip the leading 24 words\r
   static Bool_t fgSkipCDH; // whether we should skip CDH (8 words)\r
-  static Bool_t fgWarnError; // no errors no warnings\r
   static Bool_t fgCleanDataOnly; // release only clean events = no errors\r
   static Bool_t fgDebugFlag; // allow debugging info\r
   static Bool_t fgEnableMemoryReset; // allow memory reset\r