set the parameters for NxN stored in reco param for normal reconstruction
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Aug 2011 07:01:01 +0000 (07:01 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 30 Aug 2011 07:01:01 +0000 (07:01 +0000)
EMCAL/AliEMCALClusterizer.cxx
EMCAL/AliEMCALClusterizer.h

index 36590a9..2549801 100644 (file)
@@ -379,7 +379,13 @@ void AliEMCALClusterizer::InitParameters(const AliEMCALRecParam* recParam)
   fTimeCut                = recParam->GetTimeCut();
   fTimeMin                = recParam->GetTimeMin();
   fTimeMax                = recParam->GetTimeMax();
-    
+  
+  //For NxN
+  SetNRowDiff(recParam->GetNRowDiff());
+  SetNColDiff(recParam->GetNColDiff());
+  
+  fTimeMax                = recParam->GetTimeMax();
+
   AliDebug(1,Form("Reconstruction parameters: fECAClusteringThreshold=%.3f GeV, fECAW=%.3f, fMinECut=%.3f GeV, "
                   "fToUnfold=%d, fECALocMaxCut=%.3f GeV, fTimeCut=%e s,fTimeMin=%e s,fTimeMax=%e s",
                   fECAClusteringThreshold,fECAW0,fMinECut,fToUnfold,fECALocMaxCut,fTimeCut, fTimeMin, fTimeMax));
index ddfbba4..011b967 100644 (file)
@@ -90,6 +90,16 @@ public:
   virtual void    InitClusterUnfolding()                    {
     fClusterUnfolding=new AliEMCALUnfolding(fGeom,fECALocMaxCut,fSSPars,fPar5,fPar6);          }
 
+  //NxN (only used in NxN clusterizer)
+  
+  virtual void    SetNRowDiff(Int_t )    { ; }
+  virtual void    SetNColDiff(Int_t )    { ; }
+  virtual void    SetEnergyGrad(Bool_t ) { ; }
+
+  virtual Int_t   GetNRowDiff()   const { return -1 ; }
+  virtual Int_t   GetNColDiff()   const { return -1 ; } 
+  virtual Bool_t  GetEnergyGrad() const { return -1 ; }
+
   // add for clusterizing task
 
   virtual void              SetDigitsArr(TClonesArray *arr) { fDigitsArr = arr;                }