clustering parameter is set to decide the clustering algo
[u/mrichter/AliRoot.git] / PMD / AliPMDClusterFinder.cxx
index 0af1a5f..0b02d32 100644 (file)
@@ -264,9 +264,10 @@ void AliPMDClusterFinder::Digits2RecPoints(TTree *digitsTree,
 
 
       // Int_t cluspar = fRecoParam->GetPbPbParam()->GetClusteringParam();
-      //Int_t cluspar = fRecoParam->GetPPParam()->GetClusteringParam();
+      Int_t cluspar = fRecoParam->GetPPParam()->GetClusteringParam();
       // Int_t cluspar = fRecoParam->GetCosmicParam()->GetClusteringParam();
 
+      pmdclust->SetClusteringParam(cluspar);
 
       Float_t encut = 0.;
       pmdclust->SetEdepCut(encut);
@@ -588,9 +589,9 @@ void AliPMDClusterFinder::Digits2RecPoints(AliRawReader *rawReader,
          Int_t imod = idet*24 + ismn;
 
          // Int_t cluspar = fRecoParam->GetPbPbParam()->GetClusteringParam();
-         // Int_t cluspar = fRecoParam->GetPPParam()->GetClusteringParam();
+         Int_t cluspar = fRecoParam->GetPPParam()->GetClusteringParam();
          // Int_t cluspar = fRecoParam->GetCosmicParam()->GetClusteringParam();
-         
+         pmdclust->SetClusteringParam(cluspar);
          Float_t encut = fNoiseCut->GetNoiseCut(imod);
 
          pmdclust->SetEdepCut(encut);