From 1189808e8cc84526cd8378b907714cee32d50795 Mon Sep 17 00:00:00 2001
From: Adrian Weber <adrian@lxbk0196.gsi.de>
Date: Thu, 5 Nov 2020 15:32:56 +0100
Subject: [PATCH] adding of RICH hit producer and ring finder

---
 macro/beamtime/mcbm2020/mcbm_reco.C | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/macro/beamtime/mcbm2020/mcbm_reco.C b/macro/beamtime/mcbm2020/mcbm_reco.C
index 5cec8c5244..feabf2254c 100644
--- a/macro/beamtime/mcbm2020/mcbm_reco.C
+++ b/macro/beamtime/mcbm2020/mcbm_reco.C
@@ -107,6 +107,20 @@ void mcbm_reco(Int_t runId = 812, Int_t nTimeslices = 0) {
   // ------------------------------------------------------------------------
 
 
+  // -----   Local reconstruction of RICH Hits ------------------------------
+  CbmRichMCbmHitProducer* hitProd = new CbmRichMCbmHitProducer();
+  hitProd->setToTLimits(23.7, 30.0);
+  hitProd->applyToTCut();
+  run->AddTask(hitProd);
+  // ------------------------------------------------------------------------
+
+
+  // -----   Local reconstruction in RICh -> Finding of Rings ---------------
+  CbmRichReconstruction* richReco = new CbmRichReconstruction();
+  richReco->UseMCbmSetup();
+  run->AddTask(richReco);
+  // ------------------------------------------------------------------------
+
   // -----  Parameter database   --------------------------------------------
   std::cout << std::endl << std::endl;
   std::cout << "-I- " << myName << ": Set runtime DB" << std::endl;
-- 
GitLab