Skip to content

Commit

Permalink
Add case of simulation/reconstruction of EMCal plus trigger detectors
Browse files Browse the repository at this point in the history
  • Loading branch information
gconesab committed May 12, 2021
1 parent 20c86ed commit c58521e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
9 changes: 8 additions & 1 deletion MC/ReconstructionConfig.C
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ enum EReconstruction_t {
kReconstructionCustom,
kReconstructionNoTPC,
kReconstructionNoEMCal,
kReconstructionEMCal,
kNReconstructions
};

Expand All @@ -45,7 +46,8 @@ const Char_t *ReconstructionName[kNReconstructions] = {
"Run3",
"Custom",
"NoTPC",
"NoEMCal"
"NoEMCal",
"EMCal"
};

void ReconstructionDefault(AliReconstruction &rec);
Expand Down Expand Up @@ -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");
}

}
Expand Down
13 changes: 12 additions & 1 deletion MC/SimulationConfig.C
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ enum ESimulation_t {
kSimulationDefaultIonTail,
kSimulationNoTPC,
kSimulationNoEMCal,
kSimulationEMCal,
kNSimulations
};

Expand All @@ -49,7 +50,8 @@ const Char_t *SimulationName[kNSimulations] = {
"Custom",
"SimulationDefaultIonTail",
"NoTPC",
"NoEMCal"
"NoEMCal",
"EMCal"
};


Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit c58521e

Please sign in to comment.