From faa240ded3cb05191bd6ebf9996f53687442d531 Mon Sep 17 00:00:00 2001
From: "P.-A. Loizeau" <p.-a.loizeau@gsi.de>
Date: Tue, 10 May 2022 16:47:09 +0200
Subject: [PATCH] In EventBuildRawTask, add setter for min nb of layers

---
 reco/eventbuilder/digis/CbmTaskBuildRawEvents.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/reco/eventbuilder/digis/CbmTaskBuildRawEvents.h b/reco/eventbuilder/digis/CbmTaskBuildRawEvents.h
index 7633830ed6..33e6305f43 100644
--- a/reco/eventbuilder/digis/CbmTaskBuildRawEvents.h
+++ b/reco/eventbuilder/digis/CbmTaskBuildRawEvents.h
@@ -92,6 +92,10 @@ public:
   {
     if (nullptr != fpAlgo) fpAlgo->SetTriggerMaxNumber(selDet, iVal);
   }
+  void SetTriggerMinLayersNumber(ECbmModuleId selDet, UInt_t uVal)
+  {
+    if (nullptr != fpAlgo) fpAlgo->SetTriggerMinLayersNumber(selDet, uVal);
+  }
   void SetTriggerWindow(ECbmModuleId det, Double_t dWinBeg, Double_t dWinEnd)
   {
     if (nullptr != fpAlgo) fpAlgo->SetTriggerWindow(det, dWinBeg, dWinEnd);
-- 
GitLab