]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDCaloCells.cxx
Coverity fix
[u/mrichter/AliRoot.git] / STEER / AliESDCaloCells.cxx
index bb8864a50a9aae0cbbabae214d168019b74b6f3b..60c6624ab913191aacde3be868576178602a7f8c 100644 (file)
@@ -46,6 +46,7 @@ AliESDCaloCells::AliESDCaloCells(const AliESDCaloCells& c) :
 
   fCellNumber = new Short_t[fNCells];
   fAmplitude  = new Double32_t[fNCells];
+  fTime       = new Double32_t[fNCells];
   
   for(Int_t i = 0; i < fNCells; i++){
     fCellNumber[i]    = c.fCellNumber[i];
@@ -128,6 +129,15 @@ AliESDCaloCells::~AliESDCaloCells()
   DeleteContainer();
 }
 
+//_______________________________________________________________________
+void AliESDCaloCells::Clear(const Option_t*)
+{
+  // clear
+  
+  DeleteContainer();
+}
+
+
 //_______________________________________________________________________
 void AliESDCaloCells::CreateContainer(Short_t nCells)
 {