]> 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 6380473f0b8e0c5da19dfd97f8d7b9b077455e4e..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  ; }
@@ -83,7 +87,6 @@ class AliEMCALRecPoint : public AliCluster {
   virtual void    GetElipsAxis(Float_t * lambda) const {lambda[0] = fLambda[0]; lambda[1] = fLambda[1];};
   Float_t *       GetEnergiesList()            const { return fEnergyList  ; } // gets the list of energies making this recpoint
   Double_t        GetPointEnergy()             const;                          // gets point energy (sum of energy list)
-  Float_t *       GetTimeList()                const { return fTimeList    ; } // gets the list of digit times in this recpoint
   Float_t         GetMaximalEnergy(void)       const ;                         // get the highest energy in the cluster
   Int_t           GetMaximalEnergyIndex(void)  const ;                         // get the index of highest energy digit
   Int_t           GetMaximumMultiplicity()     const { return fMaxDigit    ; } // gets the maximum number of digits allowed
@@ -157,7 +160,6 @@ private:
          Float_t  fLambda[2] ;        // shower ellipse axes
          Float_t  fDispersion ;       // shower dispersion
          Float_t *fEnergyList ;       //[fMulDigit] energy of digits
-         Float_t *fTimeList ;         //[fMulDigit] time of digits
          Int_t   *fAbsIdList;         //[fMulDigit] absId  of digits
          Float_t  fTime ;             // Time of the digit with maximal energy deposition
          Short_t  fNExMax ;           // number of (Ex-)maxima before unfolding
@@ -172,7 +174,7 @@ private:
          Float_t  fDistToBadTower;    // Distance to nearest bad tower
          Bool_t   fSharedCluster;     // States if cluster is shared by 2 SuperModules in same phi rack (0,1), (2,3) ... (10,11).
        
-  ClassDef(AliEMCALRecPoint,12) // RecPoint for EMCAL (Base Class)
+  ClassDef(AliEMCALRecPoint,13) // RecPoint for EMCAL (Base Class)
  
 };