]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
No holes in the FRAME, TOF and TRD
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Apr 2006 09:21:28 +0000 (09:21 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Apr 2006 09:21:28 +0000 (09:21 +0000)
macros/Config.C
macros/ConfigBeautyPPR.C
macros/ConfigCharmPPR.C
macros/ConfigHBT.C
macros/ConfigPPR.C
macros/Config_PDC06.C
macros/Config_PythiaHeavyFlavours.C
macros/g4ConfigCommon.C

index e6294a6fb6b0d6b44fc69ffa3814250e273c956c..d29fc82496283c4e7369cd17ded23c9a8406946d 100644 (file)
 #endif
 
 Float_t EtaToTheta(Float_t arg);
-enum PprGeo_t 
-{
-    kHoles, kNoHoles
-};
-static PprGeo_t geo = kHoles;
 
 void Config()
 {
@@ -221,11 +216,6 @@ void Config()
         //=================== FRAME parameters ============================
 
         AliFRAMEv2 *FRAME = new AliFRAMEv2("FRAME", "Space Frame");
-       if (geo == kHoles) {
-           FRAME->SetHoles(1);
-       } else {
-           FRAME->SetHoles(0);
-       }
     }
 
     if (iSHIL)
@@ -334,14 +324,8 @@ void Config()
 
         // Select the gas mixture (0: 97% Xe + 3% isobutane, 1: 90% Xe + 10% CO2)
         TRD->SetGasMix(1);
-       if (geo == kHoles) {
-           // With hole in front of PHOS
-           TRD->SetPHOShole();
-           // With hole in front of RICH
-           TRD->SetRICHhole();
-       }
-           // Switch on TR
-           AliTRDsim *TRDsim = TRD->CreateTR();
+       // Switch on TR
+       AliTRDsim *TRDsim = TRD->CreateTR();
     }
 
     if (iFMD)
index 22feeaff4e343e867ff768781419fa1ecf500962..870329ef91d1271ad1cc480ee81ecf02ab95078d 100644 (file)
@@ -333,10 +333,6 @@ void Config()
     // Select the gas mixture (0: 97% Xe + 3% isobutane, 1: 90% Xe + 10% CO2)
     TRD->SetGasMix(1);
   
-    // With hole in front of PHOS
-    TRD->SetPHOShole();
-    // With hole in front of RICH
-    TRD->SetRICHhole();
     // Switch on TR
     AliTRDsim *TRDsim = TRD->CreateTR();
   }
index 116c25bb21f546da3c449e07bf4ba165cb9535c6..88a2d4c429fe0d74281a2eb72b9d7cdc7fe28112 100644 (file)
@@ -332,10 +332,6 @@ void Config()
     // Select the gas mixture (0: 97% Xe + 3% isobutane, 1: 90% Xe + 10% CO2)
     TRD->SetGasMix(1);
   
-    // With hole in front of PHOS
-    TRD->SetPHOShole();
-    // With hole in front of RICH
-    TRD->SetRICHhole();
     // Switch on TR
     AliTRDsim *TRDsim = TRD->CreateTR();
   }
index 15d3c068d9983538caae439b3e10e9220dbfc205..42a6f8c6c5a05efd67ce87e2a969527be20bece4 100644 (file)
@@ -411,10 +411,6 @@ void Config()
         // Select the gas mixture (0: 97% Xe + 3% isobutane, 1: 90% Xe + 10% CO2)
         TRD->SetGasMix(1);
 
-        // With hole in front of PHOS
-        TRD->SetPHOShole();
-        // With hole in front of RICH
-        TRD->SetRICHhole();
         // Switch on TR
         AliTRDsim *TRDsim = TRD->CreateTR();
     }
index b08bc2715e68dff1f46e388afc97bb0f3183612d..5266dad98fc4898c5a917f5c23b0388ab9d5fa9e 100644 (file)
@@ -100,11 +100,6 @@ const char* pprRunName[] = {
     "kFlow_2_2000", "kFlow_10_2000", "kFlow_6_2000", "kFlow_6_5000", "kHIJINGplus"
 };
 
-enum PprGeo_t 
-{
-    kHoles, kNoHoles
-};
-
 enum PprRad_t
 {
     kGluonRadiation, kNoGluonRadiation
@@ -119,7 +114,6 @@ enum PprMag_t
 // This part for configuration    
 //static PprRun_t srun = test50;
 static PprRun_t srun = kHIJINGplus;
-static PprGeo_t sgeo = kNoHoles;
 static PprRad_t srad = kGluonRadiation;
 static PprMag_t smag = k5kG;
 static Int_t    sseed = 12345; //Set 0 to use the current time
@@ -260,14 +254,6 @@ void Config()
        comment = comment.Append(" | Gluon Radiation Off");
     }
 
-    if (sgeo == kHoles)
-    {
-       comment = comment.Append(" | Holes for PHOS/RICH");
-       
-    } else {
-       comment = comment.Append(" | No holes for PHOS/RICH");
-    }
-
     printf("\n \n Comment: %s \n \n", comment.Data());
     
     
@@ -338,11 +324,6 @@ void Config()
         //=================== FRAME parameters ============================
 
         AliFRAMEv2 *FRAME = new AliFRAMEv2("FRAME", "Space Frame");
-       if (sgeo == kHoles) {
-           FRAME->SetHoles(1);
-       } else {
-           FRAME->SetHoles(0);
-       }
     }
 
     if (iSHIL)
@@ -452,14 +433,8 @@ void Config()
 
         // Select the gas mixture (0: 97% Xe + 3% isobutane, 1: 90% Xe + 10% CO2)
         TRD->SetGasMix(1);
-       if (sgeo == kHoles) {
-           // With hole in front of PHOS
-           TRD->SetPHOShole();
-           // With hole in front of RICH
-           TRD->SetRICHhole();
-       }
-           // Switch on TR
-           AliTRDsim *TRDsim = TRD->CreateTR();
+       // Switch on TR
+       AliTRDsim *TRDsim = TRD->CreateTR();
     }
 
     if (iFMD)
index d981cbe2aecb79d41c50b5b9fabadb97a93e2473..0841e529b0bffeaa47519cf4765a85de5cbdaed0 100644 (file)
@@ -391,7 +391,6 @@ void Config()
         //=================== FRAME parameters ============================
 
         AliFRAMEv2 *FRAME = new AliFRAMEv2("FRAME", "Space Frame");
-       FRAME->SetHoles(0);
     }
 
     if (iSHIL)
index 4247b8e81e716c44e2c0191cb3135a371f3cad11..d28b551863934aa62c1544b44edca642ac808d0f 100644 (file)
@@ -468,10 +468,6 @@ void Config()
     // Select the gas mixture (0: 97% Xe + 3% isobutane, 1: 90% Xe + 10% CO2)
     TRD->SetGasMix(1);
   
-    // With hole in front of PHOS
-    TRD->SetPHOShole();
-    // With hole in front of RICH
-    TRD->SetRICHhole();
     // Switch on TR
     AliTRDsim *TRDsim = TRD->CreateTR();
   }
index 462252fad9092cb9b06a647863c248e6eed70593..e718067c5d04f4fc9df07baaf645b45174fcc8fb 100644 (file)
@@ -5,11 +5,6 @@
 
 Float_t EtaToTheta(Float_t arg);
 static Int_t    eventsPerRun = 100;
-enum PprGeo_t 
-{
-    kHoles, kNoHoles
-};
-static PprGeo_t geo = kHoles;
 
 void ConfigCommon(Bool_t interactiveSetup)
 {
@@ -192,11 +187,6 @@ void ConfigCommon(Bool_t interactiveSetup)
         //=================== FRAME parameters ============================
 
         AliFRAMEv2 *FRAME = new AliFRAMEv2("FRAME", "Space Frame");
-       if (geo == kHoles) {
-           FRAME->SetHoles(1);
-       } else {
-           FRAME->SetHoles(0);
-       }
     }
 
     if (iSHIL)
@@ -303,12 +293,6 @@ void ConfigCommon(Bool_t interactiveSetup)
 
         // Select the gas mixture (0: 97% Xe + 3% isobutane, 1: 90% Xe + 10% CO2)
         TRD->SetGasMix(1);
-       if (geo == kHoles) {
-           // With hole in front of PHOS
-           TRD->SetPHOShole();
-           // With hole in front of RICH
-           TRD->SetRICHhole();
-       }
         // Switch on TR
         AliTRDsim *TRDsim = TRD->CreateTR();
     }
@@ -366,13 +350,6 @@ void ConfigCommon(Bool_t interactiveSetup)
     }
 
   } // end (!isSetInteractively)
-  else {
-  
-    if (geo == kHoles) 
-      AliRunConfiguration::SwitchHoles(kTRUE);
-    else  
-      AliRunConfiguration::SwitchHoles(kFALSE);
-  }    
 
   cout << "End of g4ConfigCommon.C" << endl;
 }