]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDconfig.C
Removing compilation warnings (icc)
[u/mrichter/AliRoot.git] / TRD / AliTRDconfig.C
index 422797fa4d4d5b1b00f2285d62327b24fbe1210b..f96219ee89ce11c33472ce0e177182973e14cec6 100644 (file)
@@ -6,7 +6,7 @@ void Config()
   // libraries required by geant321
   gSystem->Load("libgeant321");
 
-  new     TGeant3("C++ Interface to Geant3");
+  new     TGeant3TGeo("C++ Interface to Geant3");
 
   // Create the output file
   TFile *rootfile = new TFile("TRD_test.root","recreate");
@@ -122,8 +122,8 @@ void Config()
   }
 
   Int_t iMAG   = 1;
-  Int_t iITS   = 1;
-  Int_t iTPC   = 1;
+  Int_t iITS   = 0;
+  Int_t iTPC   = 0;
   Int_t iTRD   = 1;
   Int_t iABSO  = 1;
   Int_t iDIPO  = 1;
@@ -161,7 +161,8 @@ void Config()
 
   if (iFRAME) {
     //=================== FRAME parameters ============================
-    AliFRAME *FRAME  = new AliFRAMEv1("FRAME","Space Frame");
+    AliFRAMEv2 *FRAME  = new AliFRAMEv2("FRAME","Space Frame");
+    FRAME->SetHoles(0);
   }
 
   if (iSHIL) {
@@ -177,13 +178,16 @@ void Config()
   if (iITS) {
     //=================== ITS parameters ============================
     //
-    // EUCLID is a flag to output (=1) both geometry and media to two ASCII files 
-    // (called by default ITSgeometry.euc and ITSgeometry.tme) in a format
-    // understandable to the CAD system EUCLID. The default (=0) means that you 
-    // dont want to use this facility.
-    //
 
-    AliITS *ITS  = new AliITSv5asymm("ITS","Updates ITS TDR detailed version with asymmetric services");
+    AliITSvPPRasymmFMD *ITS = new AliITSvPPRasymmFMD("ITS","ITS PPR");
+    ITS->SetMinorVersion(2);
+    ITS->SetReadDet(kTRUE);
+    ITS->SetThicknessDet1(200.);
+    ITS->SetThicknessDet2(200.);
+    ITS->SetThicknessChip1(200.);
+    ITS->SetThicknessChip2(200.);
+    ITS->SetRails(0);
+    ITS->SetCoolingFluid(1);
     ITS->SetEUCLID(0);
 
   }
@@ -207,8 +211,8 @@ void Config()
 
     AliTPC *TPC  = new AliTPCv2("TPC","Default");
     // All sectors included 
-    TPC->SetSecAL(-1);
-    TPC->SetSecAU(-1);
+    //TPC->SetSecAL(-1);
+    //TPC->SetSecAU(-1);
 
   }