]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/g4ConfigCommon.C
The default thickness of the chips is set to 150 mkm (D.Elia). Removing some obsolete...
[u/mrichter/AliRoot.git] / macros / g4ConfigCommon.C
index 462252fad9092cb9b06a647863c248e6eed70593..0e79129e5ea12f11265811be88b3a38bfaf7d4f7 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)
@@ -238,8 +228,8 @@ void ConfigCommon(Bool_t interactiveSetup)
        //    ITS->SetWriteDet("$ALICE_ROOT/ITS/ITSgeometry_vPPRasymm2.det");  // don't touch this parameter if you're not an ITS developer
        ITS->SetThicknessDet1(200.);   // detector thickness on layer 1 must be in the range [100,300]
        ITS->SetThicknessDet2(200.);   // detector thickness on layer 2 must be in the range [100,300]
-       ITS->SetThicknessChip1(200.);  // chip thickness on layer 1 must be in the range [150,300]
-       ITS->SetThicknessChip2(200.);  // chip thickness on layer 2 must be in the range [150,300]
+       ITS->SetThicknessChip1(150.);  // chip thickness on layer 1 must be in the range [150,300]
+       ITS->SetThicknessChip2(150.);  // chip thickness on layer 2 must be in the range [150,300]
        ITS->SetRails(0);              // 1 --> rails in ; 0 --> rails out
        ITS->SetCoolingFluid(1);       // 1 --> water ; 0 --> freon
 */
@@ -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();
     }
@@ -349,7 +333,7 @@ void ConfigCommon(Bool_t interactiveSetup)
     if (iEMCAL)
     {
         //=================== EMCAL parameters ============================
-        AliEMCAL *EMCAL = new AliEMCALv2("EMCAL", "SHISH");
+        AliEMCAL *EMCAL = new AliEMCALv2("EMCAL", "SHISH_77_TRD1_2X2_FINAL_110DEG");
     }
 
     if (iCRT)
@@ -362,17 +346,10 @@ void ConfigCommon(Bool_t interactiveSetup)
     if (iVZERO)
     {
         //=================== CRT parameters ============================
-        AliVZERO *VZERO = new AliVZEROv6("VZERO", "normal VZERO");
+        AliVZERO *VZERO = new AliVZEROv7("VZERO", "normal VZERO");
     }
 
   } // end (!isSetInteractively)
-  else {
-  
-    if (geo == kHoles) 
-      AliRunConfiguration::SwitchHoles(kTRUE);
-    else  
-      AliRunConfiguration::SwitchHoles(kFALSE);
-  }    
 
   cout << "End of g4ConfigCommon.C" << endl;
 }