Setting TOF geometry to AliTOFv4T0
[u/mrichter/AliRoot.git] / macros / g4ConfigCommon.C
index a93e045e0c13a1db493eecdc9b64a78a839a9d5f..2a5ccc051f5702073080b895df9f219edc780f69 100644 (file)
@@ -300,12 +300,8 @@ void ConfigCommon(Bool_t interactiveSetup)
 
     if (iTOF)
     {
-       if (geo == kHoles) {
         //=================== TOF parameters ============================
-           AliTOF *TOF = new AliTOFv2FHoles("TOF", "TOF with Holes");
-       } else {
-           AliTOF *TOF = new AliTOFv4T0("TOF", "normal TOF");
-       }
+       AliTOF *TOF = new AliTOFv4T0("TOF", "normal TOF");
     }
 
     if (iRICH)