gdetector
Loading...
Searching...
No Matches
gdetector_options.cc
Go to the documentation of this file.
1
#include "
gdetector_options.h
"
2
#include "
gsystem_options.h
"
3
#include "
g4system_options.h
"
4
#include "
gdynamicdigitization_options.h
"
5
#include "
gsd.h
"
6
#include "
gfield_options.h
"
7
18
// namespace to define options
19
namespace
gdetector
{
20
29
GOptions
defineOptions
() {
30
// Create the root option container for this module.
31
GOptions
goptions
(
GDETECTOR_LOGGER
);
32
33
// Aggregate option groups required by the detector construction and digitization flow.
34
goptions
+=
gsystem::defineOptions
();
35
goptions
+=
g4system::defineOptions
();
36
goptions
+=
gdynamicdigitization::defineOptions
();
37
goptions
+=
gsensitivedetector::defineOptions
();
38
39
// Field options are consumed by GDetectorConstruction (per-volume emfield and the
40
// global_field association on the ROOT world volume), so they must be defined here too.
41
goptions
+=
gfields::defineOptions
();
42
43
return
goptions
;
44
}
45
}
GOptions
g4system_options.h
gdetector_options.h
Declares the gdetector module option aggregation entry point.
GDETECTOR_LOGGER
constexpr const char * GDETECTOR_LOGGER
Logger name used by the gdetector module.
Definition
gdetector_options.h:19
gdynamicdigitization_options.h
gfield_options.h
gsensitivedetector::defineOptions
GOptions defineOptions()
gsd.h
gsystem_options.h
g4system::defineOptions
GOptions defineOptions()
gdetector
Definition
gdetector_options.cc:19
gdetector::defineOptions
GOptions defineOptions()
Builds the aggregated option set used by the gdetector module.
Definition
gdetector_options.cc:29
gdynamicdigitization::defineOptions
GOptions defineOptions()
gfields::defineOptions
GOptions defineOptions()
goptions
gsystem::defineOptions
GOptions defineOptions()
gdetector_options.cc
Generated by
1.10.0