From c58521efb848434b1be2b9d2a05a77148415a2f6 Mon Sep 17 00:00:00 2001 From: Gustavo Conesa Balbastre Date: Wed, 12 May 2021 16:17:52 +0200 Subject: [PATCH] Add case of simulation/reconstruction of EMCal plus trigger detectors --- MC/ReconstructionConfig.C | 9 ++++++++- MC/SimulationConfig.C | 13 ++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/MC/ReconstructionConfig.C b/MC/ReconstructionConfig.C index abaee1cc..195a0545 100644 --- a/MC/ReconstructionConfig.C +++ b/MC/ReconstructionConfig.C @@ -30,6 +30,7 @@ enum EReconstruction_t { kReconstructionCustom, kReconstructionNoTPC, kReconstructionNoEMCal, + kReconstructionEMCal, kNReconstructions }; @@ -45,7 +46,8 @@ const Char_t *ReconstructionName[kNReconstructions] = { "Run3", "Custom", "NoTPC", - "NoEMCal" + "NoEMCal", + "EMCal" }; void ReconstructionDefault(AliReconstruction &rec); @@ -243,6 +245,11 @@ void ReconstructionConfig(AliReconstruction &rec, int tag_tmp) case kReconstructionNoEMCal: ReconstructionDefault(rec); rec.SetRunReconstruction("ALL -EMCAL"); + + // EMCal + triggers + case kReconstructionEMCal: + ReconstructionDefault(rec); + rec.SetRunReconstruction("EMCAL ITS VZERO T0"); } } diff --git a/MC/SimulationConfig.C b/MC/SimulationConfig.C index 19c4e647..7921c76b 100644 --- a/MC/SimulationConfig.C +++ b/MC/SimulationConfig.C @@ -33,6 +33,7 @@ enum ESimulation_t { kSimulationDefaultIonTail, kSimulationNoTPC, kSimulationNoEMCal, + kSimulationEMCal, kNSimulations }; @@ -49,7 +50,8 @@ const Char_t *SimulationName[kNSimulations] = { "Custom", "SimulationDefaultIonTail", "NoTPC", - "NoEMCal" + "NoEMCal", + "EMCal" }; @@ -209,6 +211,15 @@ void SimulationConfig(AliSimulation &sim, ESimulation_t tag) else sim.SetMakeSDigits("TRD TOF PHOS HMPID MUON ZDC PMD T0 VZERO FMD AD"); return; + // EMCal + triggers + case kSimulationEMCal: + SimulationDefault(sim); + sim.SetMakeSDigits("EMCAL VZERO T0"); + sim.SetMakeDigits("EMCAL VZERO T0"); + sim.SetMakeDigitsFromHits("ITS"); + sim.SetRunHLT(""); + return; + // To silence ROOT6 warning case kNSimulations: printf("kNSimulations case not considered\n");