gdynamicDigitization
Loading...
Searching...
No Matches
gdynamicdigitization_options.cc
Go to the documentation of this file.
1
11#include "gfactory_options.h"
13#include "gRunDataCollection.h"
14
15namespace gdynamicdigitization {
16
18 // Create an option container scoped to the digitization logger name.
20
21 // When enabled, hits with exactly zero deposited energy are still recorded.
22 goptions.defineSwitch("recordZeroEdep", "Record particle even if they do not deposit energy in the sensitive volumes");
23
24 // When set, overrides the per-system geometry variation used to load digitization
25 // constants and translation tables. The sentinel default means "not set": each routine
26 // then follows the variation of the gsystem it belongs to.
27 goptions.defineOption(
28 GVariable("digitization_variation", UNINITIALIZEDSTRINGQUANTITY, "digitization variation"),
29 "If set, overrides the gsystem variation when the digitization routines load their\n"
30 "constants and translation tables. Default: not set (each routine uses its system's\n"
31 "variation).\n \nExample: -digitization_variation=rga_fall2018");
32
33 // Aggregate options required by downstream types used in the digitization workflow.
38
39 return goptions;
40}
41
42} // namespace gdynamicdigitization
Options for the GDynamicDigitization module.
constexpr const char * GDIGITIZATION_LOGGER
Logger name used by this module.
#define UNINITIALIZEDSTRINGQUANTITY
GOptions defineOptions()
Builds and returns the option set for gdynamic digitization.
auto defineOptions() -> GOptions
GOptions defineOptions()
auto defineOptions() -> GOptions
GOptions defineOptions()