From 887e37e8d5ae0cb97169907ddf85ccf450478f56 Mon Sep 17 00:00:00 2001
From: Martin Beyer <martin.beyer@physik.uni-giessen.de>
Date: Thu, 7 Dec 2023 14:11:34 +0000
Subject: [PATCH] Rich: fix typo in macros and comment

---
 core/detectors/rich/CbmRichDetectorData.h | 6 +++---
 macro/rich/run/run_digi.C                 | 2 +-
 macro/rich/run/run_qa.C                   | 2 +-
 macro/rich/run/run_reco.C                 | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/core/detectors/rich/CbmRichDetectorData.h b/core/detectors/rich/CbmRichDetectorData.h
index 41179c4b06..6a5c4d2414 100644
--- a/core/detectors/rich/CbmRichDetectorData.h
+++ b/core/detectors/rich/CbmRichDetectorData.h
@@ -19,17 +19,17 @@
 #include <vector>     // for vector
 
 class CbmRichPixelData {
-public:
+ public:
   Int_t fAddress;
   Double_t fX;     // global x coordinate
   Double_t fY;     // global y coordinate
   Double_t fZ;     // global z coordinate
-  Int_t fPixelId;  // pixel index [0, 63] row major, view from -z to z
+  Int_t fPixelId;  // pixel index [0, 63] row major, view from z to -z
   Int_t fPmtId;
 };
 
 class CbmRichPmtData {
-public:
+ public:
   Bool_t ContainsPixel(Int_t address)
   {
     return std::find(fPixelAddresses.begin(), fPixelAddresses.end(), address) != fPixelAddresses.end();
diff --git a/macro/rich/run/run_digi.C b/macro/rich/run/run_digi.C
index 4073d6c545..ca7ef61ee8 100644
--- a/macro/rich/run/run_digi.C
+++ b/macro/rich/run/run_digi.C
@@ -28,7 +28,7 @@ void run_digi(TString traFile = "", TString parFile = "", TString digiFile = "",
   TString macroDir  = macroPath(0, macroPath.Last('/') + 1);
   if (traFile.IsNull()) traFile = macroDir + "data/test.tra.root";
   if (parFile.IsNull()) parFile = macroDir + "data/test.par.root";
-  if (digiFile.IsNull()) digiFile = macroDir + "data/test.geo.root";
+  if (digiFile.IsNull()) digiFile = macroDir + "data/test.digi.root";
 
   remove(digiFile);
   // ------------------------------------------------------------------------
diff --git a/macro/rich/run/run_qa.C b/macro/rich/run/run_qa.C
index aecfafd390..de4172d08f 100644
--- a/macro/rich/run/run_qa.C
+++ b/macro/rich/run/run_qa.C
@@ -45,7 +45,7 @@ void run_qa(TString traFile = "", TString parFile = "", TString digiFile = "", T
   TString macroDir  = macroPath(0, macroPath.Last('/') + 1);
   if (traFile.IsNull()) traFile = macroDir + "data/test.tra.root";
   if (parFile.IsNull()) parFile = macroDir + "data/test.par.root";
-  if (digiFile.IsNull()) digiFile = macroDir + "data/test.geo.root";
+  if (digiFile.IsNull()) digiFile = macroDir + "data/test.digi.root";
   if (recoFile.IsNull()) recoFile = macroDir + "data/test.reco.root";
   if (qaFile.IsNull()) qaFile = macroDir + "data/test.qa.root";
 
diff --git a/macro/rich/run/run_reco.C b/macro/rich/run/run_reco.C
index 92d7ddd9d4..7eb1e7e2cb 100644
--- a/macro/rich/run/run_reco.C
+++ b/macro/rich/run/run_reco.C
@@ -60,7 +60,7 @@ void run_reco(TString traFile = "", TString parFile = "", TString digiFile = "",
   TString macroDir  = macroPath(0, macroPath.Last('/') + 1);
   if (traFile.IsNull()) traFile = macroDir + "data/test.tra.root";
   if (parFile.IsNull()) parFile = macroDir + "data/test.par.root";
-  if (digiFile.IsNull()) digiFile = macroDir + "data/test.geo.root";
+  if (digiFile.IsNull()) digiFile = macroDir + "data/test.digi.root";
   if (recoFile.IsNull()) recoFile = macroDir + "data/test.reco.root";
 
   remove(recoFile);
-- 
GitLab