From 5aaa879218fc8ce2d5b26c67841583bd4ca859bf Mon Sep 17 00:00:00 2001
From: Dominik Smith <smith@th.physik.uni-frankfurt.de>
Date: Thu, 13 Jan 2022 12:07:06 +0100
Subject: [PATCH] Removed redundant statements from run_reco.C.

---
 macro/run/run_reco.C | 2 --
 1 file changed, 2 deletions(-)

diff --git a/macro/run/run_reco.C b/macro/run/run_reco.C
index af3e5e3df0..fc2d5d1420 100644
--- a/macro/run/run_reco.C
+++ b/macro/run/run_reco.C
@@ -204,7 +204,6 @@ void run_reco(TString input = "", Int_t nTimeSlices = -1, Int_t firstTimeSlice =
       FairTask* evBuildRaw = new CbmBuildEventsIdeal();
       run->AddTask(evBuildRaw);
       std::cout << "-I- " << myName << ": Added task " << evBuildRaw->GetName() << std::endl;
-      eventBased = kTRUE;
     }  //? Ideal raw event building
     else if (sEvBuildRaw.EqualTo("Real", TString::ECaseCompare::kIgnoreCase)) {
       CbmTaskBuildRawEvents* evBuildRaw = new CbmTaskBuildRawEvents();
@@ -243,7 +242,6 @@ void run_reco(TString input = "", Int_t nTimeSlices = -1, Int_t firstTimeSlice =
 
       run->AddTask(evBuildRaw);
       std::cout << "-I- " << myName << ": Added task " << evBuildRaw->GetName() << std::endl;
-      eventBased = kTRUE;
     }  //? Real raw event building
     else {
       std::cerr << "-E- " << myName << ": Unknown option " << sEvBuildRaw
-- 
GitLab