From 762edcbf786b748aea4273cf3709ab70cec1d93b Mon Sep 17 00:00:00 2001
From: nicolas <nicolas@nptool>
Date: Thu, 17 Jan 2013 10:02:48 +0000
Subject: [PATCH]  * Add dependence to DetectorList.inc file in Makefile

---
 NPLib/Exogam/TExogamPhysics.h       | 2 +-
 NPLib/Tigress/TTigEventFragment.h   | 2 +-
 NPLib/VDetector/DetectorManager.cxx | 8 ++++----
 NPLib/VDetector/Makefile            | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/NPLib/Exogam/TExogamPhysics.h b/NPLib/Exogam/TExogamPhysics.h
index bbe045694..727ee5e53 100644
--- a/NPLib/Exogam/TExogamPhysics.h
+++ b/NPLib/Exogam/TExogamPhysics.h
@@ -34,7 +34,7 @@
 #include "TVector2.h" 
 #include "TVector3.h" 
 #include "TObject.h"
-#include "TH1.h"
+//#include "TH1.h"
 
 using namespace std ;
 
diff --git a/NPLib/Tigress/TTigEventFragment.h b/NPLib/Tigress/TTigEventFragment.h
index 22f9511b6..a86d3be16 100644
--- a/NPLib/Tigress/TTigEventFragment.h
+++ b/NPLib/Tigress/TTigEventFragment.h
@@ -1,9 +1,9 @@
 #ifndef TTigEventFragment_H
 #define TTigEventFragment_H
 
-#include"TH1F.h"
 
 #include"TObject.h"
+#include"TH1F.h"
 #include <vector>
 using namespace std;
 
diff --git a/NPLib/VDetector/DetectorManager.cxx b/NPLib/VDetector/DetectorManager.cxx
index 5a0405451..b27349387 100644
--- a/NPLib/VDetector/DetectorManager.cxx
+++ b/NPLib/VDetector/DetectorManager.cxx
@@ -7,10 +7,10 @@
 
 //   Detector   
 #include "DetectorList.inc"
+//#include "TExogamPhysics.h"
 #include "TMust2Physics.h"
 #include "TCATSPhysics.h"
 #include "TSSSDPhysics.h"
-#include "TExogamPhysics.h"
 #include "TPlasticPhysics.h"
 #include "TTrifoilPhysics.h"
 #include "GaspardTracker.h"
@@ -56,7 +56,7 @@ void DetectorManager::ReadConfigurationFile(string Path)
    bool MUST2               = false;
    bool CATS                = false;
    bool SSSD                = false;
-   bool Exogam		    = false;
+//   bool Exogam		    = false;
    bool ScintillatorPlastic = false;
    bool Trifoil             = false;
    bool GeneralTarget       = false;
@@ -262,7 +262,7 @@ void DetectorManager::ReadConfigurationFile(string Path)
          AddDetector("SSSD", myDetector);
 #endif
       }
-
+/*
       //////////////////////////////////////////////
       //////////      Search for Exogam    /////////
       //////////////////////////////////////////////
@@ -283,7 +283,7 @@ void DetectorManager::ReadConfigurationFile(string Path)
          AddDetector("EXOGAM", myDetector);
 #endif
       }
-
+*/
       ////////////////////////////////////////////
       ///////////// Search for Plastic ///////////
       ////////////////////////////////////////////
diff --git a/NPLib/VDetector/Makefile b/NPLib/VDetector/Makefile
index 71a25a11f..7da1a4703 100644
--- a/NPLib/VDetector/Makefile
+++ b/NPLib/VDetector/Makefile
@@ -17,7 +17,7 @@ libDetectorManager.so:	DetectorManager.o
 			
 # dependances
 VDetector.o:		VDetector.cxx	VDetector.h
-DetectorManager.o: DetectorManager.cxx DetectorManager.h
+DetectorManager.o: DetectorManager.cxx DetectorManager.h	DetectorList.inc
 #######################################
 
 ############# Clean and More ##########
-- 
GitLab