}
}
}
+//________________________________________________________________________________
+void AliTRDarrayADC::Reset()
+{
+ //
+ // Reset the array, the old contents are deleted
+ // The array keeps the same dimensions as before
+ //
+
+ memset(fADC,0,sizeof(Short_t)*fNAdim);
+
+}
+
Int_t GetNcol() const {return fNcol;};
Int_t GetDim() const {return fNAdim;};
void DeleteNegatives();
+ void Reset();
protected:
/////////////////////////////////////////////////////////
#include "AliTRDarrayDictionary.h"
+#include "TArray.h"
ClassImp(AliTRDarrayDictionary)
if(longArr) delete [] longArr;
}
+//________________________________________________________________________________
+void AliTRDarrayDictionary::Reset()
+{
+ //
+ // Reset the array, the old contents are deleted
+ // and the data array elements are set to zero.
+ //
+
+ memset(fDictionary,0,sizeof(Int_t)*fNDdim);
+
+}
Int_t GetDim() const {return fNDdim;};\r
void Compress();\r
void Expand();\r
+ void Reset();\r
\r
protected:\r
\r
if(longArr) delete [] longArr;
}
+//________________________________________________________________________________
+void AliTRDarraySignal::Reset()
+{
+ //
+ // Reset the array, the old contents are deleted
+ // The array keeps the same dimensions as before
+ //
+
+ memset(fSignal,0,sizeof(Float_t)*fNdim);
+
+}
Int_t GetOverThreshold(Float_t threshold);
void Compress(Float_t minval);
void Expand();
+ void Reset();
protected: