Compilation on Windows/Cygwin
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Apr 2008 08:55:58 +0000 (08:55 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Apr 2008 08:55:58 +0000 (08:55 +0000)
TRD/AliTRDrawStreamTB.cxx
TRD/AliTRDtrigger.cxx
TRD/TRDbaseLinkDef.h
TRD/TRDrecLinkDef.h
TRD/TRDsimLinkDef.h
TRD/libTRDbase.pkg
TRD/libTRDgui.pkg
TRD/libTRDqaAnalysis.pkg
TRD/libTRDrec.pkg
TRD/libTRDsim.pkg
build/module.dep

index 215032b..cb373ec 100644 (file)
@@ -40,7 +40,7 @@
 #include "AliTRDdataArrayI.h"
 #include "AliTRDdataArrayDigits.h"
 #include "AliTRDSignalIndex.h"
-#include "AliTRDReconstructor.h"
+// #include "AliTRDReconstructor.h"
 #include "AliTRDrecoParam.h"
 #include "AliTRDcalibDB.h"
 #include "Cal/AliTRDCalPadStatus.h"
@@ -668,16 +668,18 @@ AliTRDrawStreamTB::NextChamber(AliTRDdigitsManager *digitsManager)
 
   // Get the ADC baseline
   Int_t adcBaseline = 0;
-  if (!AliTRDReconstructor::RecoParam())
-    {
-      AliError("RecoParam does not exist\n");
-      return 0;
-    }
-  else 
-    {
-      adcBaseline = ((Int_t) AliTRDReconstructor::RecoParam()->GetADCbaseline());
-    }
+//   if (!AliTRDReconstructor::RecoParam())
+//     {
+//       AliError("RecoParam does not exist\n");
+//       return 0;
+//     }
+//   else 
+//     {
+//       adcBaseline = ((Int_t) AliTRDReconstructor::RecoParam()->GetADCbaseline());
+//     }
 
+  static AliTRDrecoParam * par = AliTRDrecoParam::GetLowFluxParam();
+  adcBaseline = par->GetADCbaseline();
   // Loop through the digits
   Int_t lastdet = -1;
   Int_t det     = -1;
index a9662b8..9734056 100644 (file)
@@ -45,7 +45,7 @@
 #include "AliTRDtrigParam.h"
 #include "AliTRDmcm.h"
 #include "AliTRDzmaps.h"
-#include "AliTRDCalibraFillHisto.h"
+// #include "AliTRDCalibraFillHisto.h"
 #include "Cal/AliTRDCalPID.h"
 
 ClassImp(AliTRDtrigger)
@@ -592,10 +592,10 @@ Bool_t AliTRDtrigger::TestTracklet(Int_t det, Int_t row, Int_t seed, Int_t n)
   Int_t nTimeTotal  = AliTRDcalibDB::Instance()->GetNumberOfTimeBins();
 
   // Calibration fill 2D
-  AliTRDCalibraFillHisto *calibra = AliTRDCalibraFillHisto::Instance();
-  if (!calibra) {
-    AliInfo("Could not get Calibra instance\n");
-  }
+//   AliTRDCalibraFillHisto *calibra = AliTRDCalibraFillHisto::Instance();
+//   if (!calibra) {
+//     AliInfo("Could not get Calibra instance\n");
+//   }
 
   fTrkTest->Reset();
 
index 40edb6a..c2bd343 100644 (file)
@@ -58,7 +58,6 @@
 
 #pragma link C++ class  AliTRDQAChecker+;
 
-#pragma link C++ class  AliTRDCalibraFillHisto+;
 #pragma link C++ class  AliTRDCalibraFit+;
 #pragma link C++ class  AliTRDCalibraMode+;
 #pragma link C++ class  AliTRDCalibraVector+;
@@ -84,4 +83,6 @@
 
 #pragma link C++ class  AliTRDhit+;
 
+#pragma link C++ class  AliTRDrecoParam+;
+#pragma link C++ class  AliTRDSimParam+;
 #endif
index 07686a0..3598256 100644 (file)
@@ -22,7 +22,6 @@
 
 #pragma link C++ class  AliTRDReconstructor+;
 
-#pragma link C++ class  AliTRDrecoParam+;
 #pragma link C++ class  AliTRDseedV1+;
 #pragma link C++ class  AliTRDtrackV1+;
 #pragma link C++ class  AliTRDtrackerV1+;
@@ -35,4 +34,5 @@
 #pragma link C++ class  AliTRDQADataMakerRec+;
 #pragma link C++ class  AliTRDtrackingAnalysis+;
 
+#pragma link C++ class  AliTRDCalibraFillHisto+;
 #endif
index e53978d..6b5a3ef 100644 (file)
@@ -13,7 +13,6 @@
 #pragma link C++ class  AliTRD+;
 #pragma link C++ class  AliTRDv1+;
 #pragma link C++ class  AliTRDdigitizer+;
-#pragma link C++ class  AliTRDSimParam+;
 #pragma link C++ class  AliTRDQADataMakerSim+;
 
 #endif
index 4321ce1..27c1939 100644 (file)
@@ -1,3 +1,5 @@
+#-*- Mode: Makefile -*-
+
 SRCS= AliTRDarrayI.cxx \
       AliTRDarrayS.cxx \
       AliTRDarrayF.cxx \
@@ -34,7 +36,6 @@ SRCS= AliTRDarrayI.cxx \
       Cal/AliTRDCalChamberStatus.cxx \
       Cal/AliTRDCalPadStatus.cxx \
       Cal/AliTRDCalSingleChamberStatus.cxx \
-      AliTRDCalibraFillHisto.cxx \
       AliTRDCalibraFit.cxx \
       AliTRDCalibraMode.cxx \
       AliTRDCalibraVector.cxx \
@@ -56,10 +57,19 @@ SRCS= AliTRDarrayI.cxx \
       AliTRDgtuTrack.cxx \
       AliTRDtrapAlu.cxx \
       AliTRDmodule.cxx \
-      AliTRDhit.cxx
+      AliTRDhit.cxx \
+      AliTRDrecoParam.cxx \
+      AliTRDSimParam.cxx \
 
 HDRS= $(SRCS:.cxx=.h)
 
 DHDR= TRDbaseLinkDef.h
 
 EINCLUDE= RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lSTEER -lCDB -lESD -lSTEERBase \
+                         -lRAWDatasim -lRAWDatarec -lRAWDatabase \
+                         -L$(shell root-config --libdir) -lMinuit -lGeom -lVMC -lMLP
+endif
index b826f72..af863c2 100644 (file)
@@ -1,3 +1,5 @@
+#-*- Mode: Makefile -*-
+
 SRCS= qaGui/AliTRDqaGuiMain.cxx \
       qaGui/AliTRDqaGuiClusters.cxx \
       qaGui/AliTRDqaGuiClustersSM.cxx \
@@ -14,3 +16,7 @@ HDRS= $(SRCS:.cxx=.h)
 
 DHDR= TRDguiLinkDef.h
 
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -L$(shell root-config --libdir) -lGui
+endif
index a56ba41..0974192 100644 (file)
@@ -1,3 +1,5 @@
+#-*- Mode: Makefile -*-
+
 SRCS= qaAnalysis/AliTRDqaElectronSpectra.cxx \
       qaAnalysis/AliTRDqaESDFriends.cxx \
       qaAnalysis/AliTRDqaEnergyDeposit.cxx \
@@ -9,3 +11,8 @@ HDRS= $(SRCS:.cxx=.h)
 DHDR= TRDqaAnalysisLinkDef.h
 
 
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lANALYSIS -lESD \
+#                         -L$(shell root-config --libdir) -lGui
+endif
index 64ba622..6193976 100644 (file)
@@ -1,3 +1,5 @@
+#-*- Mode: Makefile -*-
+
 SRCS= AliTRDcluster.cxx \
       AliTRDclusterizer.cxx \
       AliTRDtransform.cxx \
@@ -9,7 +11,6 @@ SRCS= AliTRDcluster.cxx \
       AliTRDpidESD.cxx \
       AliTRDReconstructor.cxx \
       AliTRDtrackingAnalysis.cxx \
-      AliTRDrecoParam.cxx \
       AliTRDseedV1.cxx \
       AliTRDtrackV1.cxx \
       AliTRDtrackerV1.cxx \
@@ -18,10 +19,18 @@ SRCS= AliTRDcluster.cxx \
       AliTRDtrackingChamber.cxx \
       AliTRDchamberTimeBin.cxx \
       AliTRDQADataMakerRec.cxx \
-      AliTRDqaBlackEvents.cxx
+      AliTRDqaBlackEvents.cxx \
+      AliTRDCalibraFillHisto.cxx \
 
 HDRS= $(SRCS:.cxx=.h)
 
 DHDR= TRDrecLinkDef.h
 
 EINCLUDE= RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lTRDbase -lSTEER -lESD -lCDB -lSTEERBase \
+                         -lRAWDatarec -lRAWDatabase \
+                         -L$(shell root-config --libdir) -lMinuit -lGeom
+endif
index 25bb699..a7ac216 100644 (file)
@@ -1,8 +1,9 @@
+#-*- Mode: Makefile -*-
+
 SRCS= AliTRDpoints.cxx \
       AliTRDsimTR.cxx \
       AliTRD.cxx \
       AliTRDv1.cxx \
-      AliTRDSimParam.cxx \
       AliTRDdigitizer.cxx \
       AliTRDQADataMakerSim.cxx
 
@@ -11,3 +12,9 @@ HDRS= $(SRCS:.cxx=.h)
 DHDR= TRDsimLinkDef.h
 
 EINCLUDE= RAW
+
+ifeq (win32gcc,$(ALICE_TARGET))
+PACKSOFLAGS:= $(SOFLAGS) -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) \
+                         -lTRDbase -lSTEER -lSTEERBase \
+                         -L$(shell root-config --libdir) -lGeom -lVMC
+endif
index 5296591..858bace 100644 (file)
@@ -113,7 +113,8 @@ $(LIBPATH)/libZDCsim.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCD
 $(LIBPATH)/libZDCrec.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libZDCbase.$(SOEXT)
 $(LIBPATH)/libTRDbase.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libESD.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatasim.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT) $(LIBPATH)/libRAWDatabase.$(SOEXT)
 $(LIBPATH)/libTRDsim.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libTRDbase.$(SOEXT)
-$(LIBPATH)/libTRDrec.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libESD.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT) $(LIBPATH)/libTRDbase.$(SOEXT)
+$(LIBPATH)/libTRDrec.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libESD.$(SOEXT)  $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT)  $(LIBPATH)/libRAWDatabase.$(SOEXT) $(LIBPATH)/libTRDbase.$(SOEXT)
+$(LIBPATH)/libTRDqaAnalysis.$(SOEXT): $(LIBPATH)/libANALYSIS.$(SOEXT) $(LIBPATH)/libESD.$(SOEXT)
 $(LIBPATH)/libT0base.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT)  $(LIBPATH)/libRAWDatasim.$(SOEXT) $(LIBPATH)/libRAWDatabase.$(SOEXT)
 $(LIBPATH)/libT0sim.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT)  $(LIBPATH)/libRAWDatasim.$(SOEXT) $(LIBPATH)/libRAWDatabase.$(SOEXT) $(LIBPATH)/libT0base.$(SOEXT)
 $(LIBPATH)/libT0rec.$(SOEXT): $(LIBPATH)/libSTEERBase.$(SOEXT) $(LIBPATH)/libCDB.$(SOEXT) $(LIBPATH)/libSTEER.$(SOEXT) $(LIBPATH)/libRAWDatarec.$(SOEXT) $(LIBPATH)/libT0base.$(SOEXT)