From c4b1166e929247d05a92d08de904d4f6e2574789 Mon Sep 17 00:00:00 2001
From: "se.gorbunov" <se.gorbunov@gsi.de>
Date: Wed, 12 Oct 2022 20:07:47 +0000
Subject: [PATCH] L1: minor

---
 macro/L1/run_reco_L1global.C |  2 +-
 reco/L1/CbmL1MCTrack.h       | 11 ++++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/macro/L1/run_reco_L1global.C b/macro/L1/run_reco_L1global.C
index 0d906f6d25..eebdd4ce6b 100644
--- a/macro/L1/run_reco_L1global.C
+++ b/macro/L1/run_reco_L1global.C
@@ -354,7 +354,7 @@ void run_reco_L1global(TString input = "", Int_t nTimeSlices = -1, Int_t firstTi
     CbmKF* kalman = new CbmKF();
     run->AddTask(kalman);
     CbmL1* l1 = 0;
-    if (debugWithMC) { l1 = new CbmL1("L1", 2, 2); }
+    if (debugWithMC) { l1 = new CbmL1("L1", 2, 1); }
     else {
       l1 = new CbmL1("L1", 0);
     }
diff --git a/reco/L1/CbmL1MCTrack.h b/reco/L1/CbmL1MCTrack.h
index 4793793d90..59c820b832 100644
--- a/reco/L1/CbmL1MCTrack.h
+++ b/reco/L1/CbmL1MCTrack.h
@@ -41,12 +41,13 @@ public:
   CbmL1MCTrack(double mass, double q, TVector3 vr, TLorentzVector vp, int ID, int mother_ID, int pdg);
   //   CbmL1MCTrack(TmpMCPoints &mcPoint, TVector3 vr, TLorentzVector vp, int ID, int mother_ID);
 
-  bool IsPrimary() const { return mother_ID < 0; };
-  bool IsReconstructable() const { return isReconstructable; };
+  bool IsPrimary() const { return mother_ID < 0; }
+  bool IsReconstructable() const { return isReconstructable; }
   bool IsAdditional() const { return isAdditional; }
-  int NStations() const { return nStations; };
-  int NMCStations() const { return nMCStations; };
-  int NMCContStations() const { return nMCContStations; };
+  int NStations() const { return nStations; }
+  int NHitContStations() const { return nHitContStations; }
+  int NMCStations() const { return nMCStations; }
+  int NMCContStations() const { return nMCContStations; }
   float Fraction_MC();
 
   void Init();
-- 
GitLab