#endif
Float_t EtaToTheta(Float_t arg);
-enum PprGeo_t
-{
- kHoles, kNoHoles
-};
-static PprGeo_t geo = kHoles;
void Config()
{
//=================== FRAME parameters ============================
AliFRAMEv2 *FRAME = new AliFRAMEv2("FRAME", "Space Frame");
- if (geo == kHoles) {
- FRAME->SetHoles(1);
- } else {
- FRAME->SetHoles(0);
- }
}
if (iSHIL)
// 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)
// 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();
}
// 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();
}
// 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();
}
"kFlow_2_2000", "kFlow_10_2000", "kFlow_6_2000", "kFlow_6_5000", "kHIJINGplus"
};
-enum PprGeo_t
-{
- kHoles, kNoHoles
-};
-
enum PprRad_t
{
kGluonRadiation, kNoGluonRadiation
// 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
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());
//=================== FRAME parameters ============================
AliFRAMEv2 *FRAME = new AliFRAMEv2("FRAME", "Space Frame");
- if (sgeo == kHoles) {
- FRAME->SetHoles(1);
- } else {
- FRAME->SetHoles(0);
- }
}
if (iSHIL)
// 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)
//=================== FRAME parameters ============================
AliFRAMEv2 *FRAME = new AliFRAMEv2("FRAME", "Space Frame");
- FRAME->SetHoles(0);
}
if (iSHIL)
// 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();
}
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)
// 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();
}
}
} // end (!isSetInteractively)
- else {
-
- if (geo == kHoles)
- AliRunConfiguration::SwitchHoles(kTRUE);
- else
- AliRunConfiguration::SwitchHoles(kFALSE);
- }
cout << "End of g4ConfigCommon.C" << endl;
}