]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALDigit.h
Define Clear for AliEMCALDigits to delete the owned arrays when the TClonesArray...
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALDigit.h
index 37a52e31fd209e42c7d69dd97dd69b480c9b19db..c5771b756626b293d8f11708e9835ba90f8b4b73 100644 (file)
@@ -39,9 +39,9 @@ class AliEMCALDigit : public AliDigitNew {
   AliEMCALDigit operator+(const AliEMCALDigit &rValue) ;
   AliEMCALDigit operator*(Float_t factor) ; 
   const AliEMCALDigit& operator = (const AliEMCALDigit &) {return *this;}
-
   enum digitType{kUnknown=-1, kHG=0, kLG=1, kLGnoHG=2, kTrigger=3};
-       
+
+  void    Clear(const Option_t*) ;     
   Int_t   Compare(const TObject * obj) const ;
   Float_t GetAmplitude()   const { if(!fAmp)return fAmpFloat ; else return fAmp ;}//Keep backward compatibility.
   Float_t GetEta()         const ;