32void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
37void customize(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
40 std::vector<ConfigParamSpec> options{
41 ConfigParamSpec{
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings"}},
42 {
"disable-root-output", VariantType::Bool,
false, {
"disable root-files output writers"}},
43 {
"disable-root-input", VariantType::Bool,
false, {
"disable root-files input reader"}},
44 {
"enable-unbinned-root-output", VariantType::Bool,
false, {
"writing out unbinned track data"}},
45 {
"track-sources", VariantType::String, std::string{
GID::ALL}, {
"comma-separated list of sources to use"}},
46 {
"material-type", VariantType::Int, 2, {
"Type for the material budget during track propagation: 0=None, 1=Geo, 2=LUT"}}};
49 std::swap(workflowOptions, options);
58 const bool disableWriter = config.
options().
get<
bool>(
"disable-root-output");
59 const bool enableUnbinnedWriter = config.
options().
get<
bool>(
"enable-unbinned-root-output");
DPL completion policy helper for TPC scetor data.
static void updateFromString(std::string const &)
Static class with identifiers, bitmasks and names for ALICE detectors.
ConfigParamRegistry & options() const
T get(const char *key) const
Defining ITS Vertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
o2::framework::DataProcessorSpec getTPCTimeSeriesWriterSpec()
o2::framework::DataProcessorSpec getTPCTimeSeriesSpec(const bool disableWriter, const o2::base::Propagator::MatCorrType matType, const bool enableUnbinnedWriter, o2::dataformats::GlobalTrackID::mask_t src)
static void addITSConfigOption(std::vector< o2::framework::ConfigParamSpec > &opts)
static void addNewTimeSliceCallback(std::vector< o2::framework::CallbacksPolicy > &policies)
static void addConfigOption(std::vector< o2::framework::ConfigParamSpec > &opts, const std::string &defOpt=std::string(o2::base::NameConf::DIGITIZATIONCONFIGFILE))
WorkflowSpec defineDataProcessing(ConfigContext const &config)
This function hooks up the the workflow specifications into the DPL driver.
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)