Simplified initioalization of MUON
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 3 Mar 2006 07:55:49 +0000 (07:55 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 3 Mar 2006 07:55:49 +0000 (07:55 +0000)
TFluka/macro/FlukaConfig.C
macros/Config.C
macros/ConfigBeautyPPR.C
macros/ConfigCharmPPR.C
macros/ConfigHBT.C
macros/ConfigPPR.C
macros/g4ConfigCommon.C

index 09717e8..2655dcb 100644 (file)
@@ -376,10 +376,6 @@ void Config()
         //=================== MUON parameters ===========================
                                                                                 
         AliMUON *MUON = new AliMUONv1("MUON", "default");
-        MUON->AddGeometryBuilder(new AliMUONSt1GeometryBuilder(MUON));
-        MUON->AddGeometryBuilder(new AliMUONSt2GeometryBuilder(MUON));
-        MUON->AddGeometryBuilder(new AliMUONSlatGeometryBuilder(MUON));
-        MUON->AddGeometryBuilder(new AliMUONTriggerGeometryBuilder(MUON));
     }
     //=================== PHOS parameters ===========================
                                                                                 
index c85047f..5f04ff0 100644 (file)
 #include "TRD/AliTRDv1.h"
 #include "FMD/AliFMDv1.h"
 #include "MUON/AliMUONv1.h"
-#include "MUON/AliMUONSt1GeometryBuilderV2.h"
-#include "MUON/AliMUONSt2GeometryBuilderV2.h"
-#include "MUON/AliMUONSlatGeometryBuilder.h"
-#include "MUON/AliMUONTriggerGeometryBuilder.h"
 #include "PHOS/AliPHOSv1.h"
 #include "PMD/AliPMDv1.h"
 #include "START/AliSTARTv1.h"
@@ -359,11 +355,6 @@ void Config()
         //=================== MUON parameters ===========================
         // New MUONv1 version (geometry defined via builders)
         AliMUON *MUON = new AliMUONv1("MUON", "default");
-       ((AliMUONv1*)MUON)->SetStepManagerVersionDE(true);
-       MUON->AddGeometryBuilder(new AliMUONSt1GeometryBuilderV2(MUON));
-       MUON->AddGeometryBuilder(new AliMUONSt2GeometryBuilderV2(MUON));
-       MUON->AddGeometryBuilder(new AliMUONSlatGeometryBuilder(MUON));
-       MUON->AddGeometryBuilder(new AliMUONTriggerGeometryBuilder(MUON));
     }
     //=================== PHOS parameters ===========================
 
index c31e04b..cc1ade0 100644 (file)
 #include "TRD/AliTRDv1.h"
 #include "FMD/AliFMDv0.h"
 #include "MUON/AliMUONv1.h"
-#include "MUON/AliMUONSt1GeometryBuilder.h"
-#include "MUON/AliMUONSt2GeometryBuilder.h"
-#include "MUON/AliMUONSlatGeometryBuilder.h"
-#include "MUON/AliMUONTriggerGeometryBuilder.h"
 #include "PHOS/AliPHOSv1.h"
 #include "PMD/AliPMDv1.h"
 #include "START/AliSTARTv1.h"
@@ -354,10 +350,6 @@ void Config()
   if(iMUON) {
     //=================== MUON parameters ===========================
     AliMUON *MUON  = new AliMUONv1("MUON","default");
-    MUON->AddGeometryBuilder(new AliMUONSt1GeometryBuilder(MUON));
-    MUON->AddGeometryBuilder(new AliMUONSt2GeometryBuilder(MUON));
-    MUON->AddGeometryBuilder(new AliMUONSlatGeometryBuilder(MUON));
-    MUON->AddGeometryBuilder(new AliMUONTriggerGeometryBuilder(MUON));
   }
  
   //=================== PHOS parameters ===========================
index 57165bd..ed6f98d 100644 (file)
 #include "TRD/AliTRDv1.h"
 #include "FMD/AliFMDv0.h"
 #include "MUON/AliMUONv1.h"
-#include "MUON/AliMUONSt1GeometryBuilder.h"
-#include "MUON/AliMUONSt2GeometryBuilder.h"
-#include "MUON/AliMUONSlatGeometryBuilder.h"
-#include "MUON/AliMUONTriggerGeometryBuilder.h"
 #include "PHOS/AliPHOSv1.h"
 #include "PMD/AliPMDv1.h"
 #include "START/AliSTARTv1.h"
@@ -353,10 +349,6 @@ void Config()
   if(iMUON) {
     //=================== MUON parameters ===========================
     AliMUON *MUON  = new AliMUONv1("MUON","default");
-    MUON->AddGeometryBuilder(new AliMUONSt1GeometryBuilder(MUON));
-    MUON->AddGeometryBuilder(new AliMUONSt2GeometryBuilder(MUON));
-    MUON->AddGeometryBuilder(new AliMUONSlatGeometryBuilder(MUON));
-    MUON->AddGeometryBuilder(new AliMUONTriggerGeometryBuilder(MUON));
   }
  
   //=================== PHOS parameters ===========================
index aa9dc5e..256b172 100644 (file)
 #include "TRD/AliTRDv1.h"
 #include "FMD/AliFMDv1.h"
 #include "MUON/AliMUONv1.h"
-#include "MUON/AliMUONSt1GeometryBuilder.h"
-#include "MUON/AliMUONSt2GeometryBuilder.h"
-#include "MUON/AliMUONSlatGeometryBuilder.h"
-#include "MUON/AliMUONTriggerGeometryBuilder.h"
 #include "PHOS/AliPHOSv1.h"
 #include "PMD/AliPMDv1.h"
 #include "START/AliSTARTv1.h"
@@ -435,10 +431,6 @@ void Config()
         //=================== MUON parameters ===========================
 
         AliMUON *MUON = new AliMUONv1("MUON", "default");
-       MUON->AddGeometryBuilder(new AliMUONSt1GeometryBuilder(MUON));
-       MUON->AddGeometryBuilder(new AliMUONSt2GeometryBuilder(MUON));
-       MUON->AddGeometryBuilder(new AliMUONSlatGeometryBuilder(MUON));
-       MUON->AddGeometryBuilder(new AliMUONTriggerGeometryBuilder(MUON));
     }
     //=================== PHOS parameters ===========================
 
index d4b8dbf..b614379 100644 (file)
 #include "TRD/AliTRDv1.h"
 #include "FMD/AliFMDv1.h"
 #include "MUON/AliMUONv1.h"
-#include "MUON/AliMUONSt1GeometryBuilderV2.h"
-#include "MUON/AliMUONSt2GeometryBuilderV2.h"
-#include "MUON/AliMUONSlatGeometryBuilder.h"
-#include "MUON/AliMUONTriggerGeometryBuilder.h"
 #include "PHOS/AliPHOSv1.h"
 #include "PMD/AliPMDv1.h"
 #include "START/AliSTARTv1.h"
@@ -477,11 +473,6 @@ void Config()
         //=================== MUON parameters ===========================
         // New MUONv1 version (geometry defined via builders)
         AliMUON *MUON = new AliMUONv1("MUON", "default");
-       ((AliMUONv1*)MUON)->SetStepManagerVersionDE(true);
-       MUON->AddGeometryBuilder(new AliMUONSt1GeometryBuilderV2(MUON));
-       MUON->AddGeometryBuilder(new AliMUONSt2GeometryBuilderV2(MUON));
-       MUON->AddGeometryBuilder(new AliMUONSlatGeometryBuilder(MUON));
-       MUON->AddGeometryBuilder(new AliMUONTriggerGeometryBuilder(MUON));
     }
     //=================== PHOS parameters ===========================
 
index 4a39ec2..111f201 100644 (file)
@@ -325,10 +325,6 @@ void ConfigCommon(Bool_t interactiveSetup)
         //=================== MUON parameters ===========================
 
         AliMUON *MUON = new AliMUONv1("MUON", "default");
-       MUON->AddGeometryBuilder(new AliMUONSt1GeometryBuilder(MUON));
-       MUON->AddGeometryBuilder(new AliMUONSt2GeometryBuilder(MUON));
-       MUON->AddGeometryBuilder(new AliMUONSlatGeometryBuilder(MUON));
-       MUON->AddGeometryBuilder(new AliMUONTriggerGeometryBuilder(MUON));
     }
     //=================== PHOS parameters ===========================