From 43c8dc4311c267bd21170b4c799182d5d4bc0f11 Mon Sep 17 00:00:00 2001
From: Hugo Jacob <hugojacob57@gmail.com>
Date: Mon, 29 Jul 2024 17:18:59 +0200
Subject: [PATCH] Fixing some small issues in the physics classes

---
 NPLib/Detectors/CATS/TCATSPhysics.h       | 2 +-
 NPLib/Detectors/Exogam/TExogamPhysics.cxx | 1 +
 NPLib/Detectors/Exogam/TExogamPhysics.h   | 8 ++++----
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/NPLib/Detectors/CATS/TCATSPhysics.h b/NPLib/Detectors/CATS/TCATSPhysics.h
index 2e889bbdf..6883cdfb0 100644
--- a/NPLib/Detectors/CATS/TCATSPhysics.h
+++ b/NPLib/Detectors/CATS/TCATSPhysics.h
@@ -205,7 +205,7 @@ class TCATSPhysics : public TObject, public NPL::VDetector, public TCATSPhysicsR
     Double_t Mask1_Z = 0;//!
     Double_t Mask2_Z = 0;//!
 
-    int counter = 0;
+    int counter = 0;//!
     UShort_t StrX;//! 
     UShort_t NX;//! 
     UShort_t CATS_X_Q;//! 
diff --git a/NPLib/Detectors/Exogam/TExogamPhysics.cxx b/NPLib/Detectors/Exogam/TExogamPhysics.cxx
index 880e6e9c3..fa7ae8ea6 100644
--- a/NPLib/Detectors/Exogam/TExogamPhysics.cxx
+++ b/NPLib/Detectors/Exogam/TExogamPhysics.cxx
@@ -54,6 +54,7 @@ ClassImp(TExogamPhysics)
   m_EventData = new TExogamData;
   TSEvent = new TimeStamp;
   m_EventPhysics = this;
+  DataIsCal = false;
 }
 
 ///////////////////////////////////////////////////////////////////////////
diff --git a/NPLib/Detectors/Exogam/TExogamPhysics.h b/NPLib/Detectors/Exogam/TExogamPhysics.h
index 029bb6c69..e62b50316 100644
--- a/NPLib/Detectors/Exogam/TExogamPhysics.h
+++ b/NPLib/Detectors/Exogam/TExogamPhysics.h
@@ -209,9 +209,9 @@ class TExogamPhysics : public TObject, public NPL::VDetector, public TExogamPhys
     void WriteHistogramsE(); //!
 
     // Setting TS Reference
-    void SetRefTS(std::string TSRef_Name, unsigned long long TSRef);
+    void SetRefTS(std::string TSRef_Name, unsigned long long TSRef);//!
 
-    void ReadConfigurationTS(); 
+    void ReadConfigurationTS();//! 
   
   private:
     void ClaimReaderData(); //!
@@ -298,7 +298,7 @@ class TExogamPhysics : public TObject, public NPL::VDetector, public TExogamPhys
   unsigned int FitPolOrder;//!
   
 #if CUBIX
-  CXRecalEnergy* CubixEnergyCal = new CXRecalEnergy();
+  CXRecalEnergy* CubixEnergyCal = new CXRecalEnergy();//!
 #endif
 
   private: // Spectra Class   
@@ -317,7 +317,7 @@ class TExogamPhysics : public TObject, public NPL::VDetector, public TExogamPhys
     unsigned long long RefTS = 0;//!
   
   private:
-    bool DataIsCal = false;
+    bool DataIsCal;//!
      
      ClassDef(TExogamPhysics,1)  // ExogamPhysics structure
     };
-- 
GitLab