From 86940a9acbef595bf5de2768442e39876fad2528 Mon Sep 17 00:00:00 2001
From: Alexandru Bercuci <abercuci@niham.nipne.ro>
Date: Thu, 25 May 2023 11:42:24 +0300
Subject: [PATCH] align to the new signature of FindClusters. No modification
 to the algorithm

---
 reco/detectors/trd/CbmTrdModuleRecR.cxx | 2 +-
 reco/detectors/trd/CbmTrdModuleRecR.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/reco/detectors/trd/CbmTrdModuleRecR.cxx b/reco/detectors/trd/CbmTrdModuleRecR.cxx
index a804d8aa9a..b99feaec98 100644
--- a/reco/detectors/trd/CbmTrdModuleRecR.cxx
+++ b/reco/detectors/trd/CbmTrdModuleRecR.cxx
@@ -68,7 +68,7 @@ void CbmTrdModuleRecR::Clear(Option_t* opt)
 }
 
 //_______________________________________________________________________________
-Int_t CbmTrdModuleRecR::FindClusters()
+Int_t CbmTrdModuleRecR::FindClusters(bool)
 {
 
   std::deque<std::tuple<Int_t, Bool_t, const CbmTrdDigi*>>::iterator mainit;
diff --git a/reco/detectors/trd/CbmTrdModuleRecR.h b/reco/detectors/trd/CbmTrdModuleRecR.h
index 207aeaccae..c54c0edc5e 100644
--- a/reco/detectors/trd/CbmTrdModuleRecR.h
+++ b/reco/detectors/trd/CbmTrdModuleRecR.h
@@ -37,7 +37,7 @@ public:
   /**
    * \brief Steering routine for finding digits clusters
    **/
-  virtual Int_t FindClusters();
+  virtual Int_t FindClusters(bool clr = true);
 
   Int_t GetOverThreshold() const { return fDigiCounter; }
   Double_t GetSpaceResolution(Double_t val = 3.0);
-- 
GitLab