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)
{
//=================== FRAME parameters ============================
AliFRAMEv2 *FRAME = new AliFRAMEv2("FRAME", "Space Frame");
- if (geo == kHoles) {
- FRAME->SetHoles(1);
- } else {
- FRAME->SetHoles(0);
- }
}
if (iSHIL)
// 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
*/
// 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();
}
if (iEMCAL)
{
//=================== EMCAL parameters ============================
- AliEMCAL *EMCAL = new AliEMCALv2("EMCAL", "SHISH");
+ AliEMCAL *EMCAL = new AliEMCALv2("EMCAL", "SHISH_77_TRD1_2X2_FINAL_110DEG");
}
if (iCRT)
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;
}