]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Refactoring: Using common CALO constants
authorphille <phille@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 May 2010 19:07:31 +0000 (19:07 +0000)
committerphille <phille@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 May 2010 19:07:31 +0000 (19:07 +0000)
class.

HLT/EMCAL/OnlineDisplay/AliHLTEMCALOnlineDisplay.h
HLT/EMCAL/OnlineDisplay/AliHLTEMCALOnlineDisplayTH2D.h
HLT/EMCAL/OnlineDisplay/AliHLTEMCALOnlineDisplayTab.h

index 5b4511cae283fe3806404c9d6d6bf86423991a9e..8b144fa5ecf886000cdba01067e427131728d552 100644 (file)
@@ -12,6 +12,8 @@
 #include "TH2.h"
 #include "AliHLTCaloConstants.h"
 
+using CALO::MAXHOSTS;
+#define DEFAULTEVENTPORT 42001
 
 class TStyle;
 class TSystem;
index c958497d56fa4e97e0a784988f3e3c01fb894a19..97ee1fff24533e342ad59a52c972c3d3be28b5b2 100644 (file)
 
 #include <TH2D.h>
 #include <TCanvas.h>
-
 #include <iostream>
 
 //#include "AliHLTEMCALBase.h"
 //#include   "AliHLTEMCALOnlineDisplayTH2D.h"
 
-#include  "AliHLTCaloConstants.h" 
-#include  "AliHLTEMCALConstants.h" 
+//#include  "AliHLTCaloConstants.h" 
+//#include  "AliHLTEMCALConstants.h" 
+
+#include "AliHLTCaloConstants.h"
 
+//using namespace EmcalHLTConst;
+//using namespace CaloHLTConst;
 
-using namespace EmcalHLTConst;
-using namespace CaloHLTConst;
+using std::cout;
+using std::endl;
 
-using namespace std;
+using CALO::NGAINS; 
 
 class AliHLTEMCALOnlineDisplay;
 
index 549805c1c044723a74a93a9fe7bb64771d01ee72..8e1d94e536f4d5313c2bce2261b1c40faaecf751 100644 (file)
@@ -8,7 +8,7 @@
 #include "TGTab.h"
 #include "AliHLTHOMERReader.h"
 //#include "AliHLTEMCALCommonDefs.h"
-#include "AliHLTEMCALConstants.h"
+//#include "AliHLTEMCALConstants.h"
 #include "AliHLTCaloConstants.h"
 
 
@@ -29,12 +29,14 @@ using namespace std;
 #define XRANGEEND  XRANGESTART + XRANGELENGTH
 
 
-using namespace EmcalHLTConst;
-using namespace CaloHLTConst;
+//using namespace EmcalHLTConst;
+//using namespace CaloHLTConst;
 
 
 class AliHLTHOMERReader;
 
+using CALO::MAXHOSTS;
+
 
 //class AliHLTEMCALOnlineDisplayTab : public TGTab, public AliHLTEMCALBase
 class AliHLTEMCALOnlineDisplayTab : public TGTab