]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALRecPoint.h
Implement comparison of sim and rec CDB's, by default for the TPC/RecoParam only
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALRecPoint.h
index f940c358edef8c6d52f25f34dd6e267f2bd7e86a..932c6d062c84c3001c3411e3366e8885a09dd60e 100644 (file)
@@ -73,7 +73,11 @@ class AliEMCALRecPoint : public AliCluster {
                                                              return fTracksList  ; }
   virtual Int_t * GetParents  (Int_t & number)       const { number = fMulParent ; 
                                                              return fParentsList ; }
-
+  virtual void    SetParents  (Int_t nParents, Int_t* parents) { // Needed in particular case in tender
+    fMulParent = nParents;
+    if(fParentsList) delete [] fParentsList ;
+    fParentsList = parents ;                                   }
+  
   virtual Int_t   GetDigitsMultiplicity(void)  const { return fMulDigit    ; }
   Int_t           GetIndexInList()             const { return fIndexInList ; }
   virtual int *   GetDigitsList(void)          const { return fDigitsList  ; }