Add CRT and streamline loadlibs
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Jul 2002 22:50:10 +0000 (22:50 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Jul 2002 22:50:10 +0000 (22:50 +0000)
macros/Config.C
macros/loadlibs.C

index ce5c5c4..e91b07a 100644 (file)
@@ -93,6 +93,7 @@ void Config()
     gAlice->SetField(-999, 2);  //Specify maximum magnetic field in Tesla (neg. ==> default field)
 
     Int_t   iABSO = 1;
+    Int_t   iCRT = 1;
     Int_t   iDIPO = 1;
     Int_t   iFMD = 1;
     Int_t   iFRAME = 1;
@@ -287,6 +288,12 @@ void Config()
         AliZDC *ZDC = new AliZDCv2("ZDC", "normal ZDC");
     }
 
+    if (iCRT)
+    {
+        //=================== CASTOR parameters ============================
+
+        AliCRT *CRT = new AliCRTv0("CRT", "normal CRT");
+    }
 
     if (iTRD)
     {
index 9087f0d..86834c2 100644 (file)
@@ -1,36 +1,36 @@
 void loadlibs () 
 {
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libminicern");
-  gSystem->Load("$(ROOTSYS)/lib/libPhysics");
-  gSystem->Load("$(ROOTSYS)/lib/libEG");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libSTEER");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTGeant3Dummy");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libdummyhijing");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTHijing");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libdummypythia6");
-  gSystem->Load("$(ROOTSYS)/lib/libEGPythia6");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libCONTAINERS");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libdummyHBTP");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTHbtp");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libdummymevsim");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTMevSim");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libEVGEN");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libHBTP"); 
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libRALICE");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libFMD");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libMUON");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libPHOS");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libPMD");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libRICH");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libSTRUCT");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTOF");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTPC");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTRD");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libZDC");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libITS");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libCRT");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libSTART");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libEMCAL");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libdummyherwig");
-  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTHerwig");
+  gSystem->Load("libminicern");
+  gSystem->Load("libPhysics");
+  gSystem->Load("libEG");
+  gSystem->Load("libSTEER");
+  gSystem->Load("libTGeant3Dummy");
+  gSystem->Load("libdummyhijing");
+  gSystem->Load("libTHijing");
+  gSystem->Load("libdummypythia6");
+  gSystem->Load("libEGPythia6");
+  gSystem->Load("libCONTAINERS");
+  gSystem->Load("libdummyHBTP");
+  gSystem->Load("libTHbtp");
+  gSystem->Load("libdummymevsim");
+  gSystem->Load("libTMevSim");
+  gSystem->Load("libEVGEN");
+  gSystem->Load("libHBTP"); 
+  gSystem->Load("libRALICE");
+  gSystem->Load("libFMD");
+  gSystem->Load("libMUON");
+  gSystem->Load("libPHOS");
+  gSystem->Load("libPMD");
+  gSystem->Load("libRICH");
+  gSystem->Load("libSTRUCT");
+  gSystem->Load("libTOF");
+  gSystem->Load("libTPC");
+  gSystem->Load("libTRD");
+  gSystem->Load("libZDC");
+  gSystem->Load("libITS");
+  gSystem->Load("libCRT");
+  gSystem->Load("libSTART");
+  gSystem->Load("libEMCAL");
+  gSystem->Load("libdummyherwig");
+  gSystem->Load("libTHerwig");
 }