Skip to content

Commit

Permalink
Added Simulation mode to skip digitization: --simulation NoDigitization
Browse files Browse the repository at this point in the history
  • Loading branch information
preghenella committed Aug 10, 2017
1 parent c5fa027 commit 9db88e6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions MC/SimulationConfig.C
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ enum ESimulation_t {
kSimulationEmbedBkg,
kSimulationEmbedSig,
kSimulationGeneratorOnly,
kSimulationNoDigitization,
kSimulationCustom,
kNSimulations
};
Expand All @@ -26,6 +27,7 @@ const Char_t *SimulationName[kNSimulations] = {
"EmbedBkg",
"EmbedSig",
"GeneratorOnly",
"NoDigitization",
"Custom"
};

Expand Down Expand Up @@ -92,6 +94,15 @@ SimulationConfig(AliSimulation &sim, ESimulation_t tag)
sim.SetRunGeneratorOnly(kTRUE);
return;

// NoDigitization
case kSimulationNoDigitization:
SimulationDefault(sim);
sim.SetMakeSDigits("");
sim.SetMakeDigits("");
sim.SetMakeDigitsFromHits("");
sim.SetRunHLT("");
return;

// Custom
case kSimulationCustom:
if ((gROOT->LoadMacro("SimulationCustom.C")) != 0) {
Expand Down

0 comments on commit 9db88e6

Please sign in to comment.