24void customize(std::vector<o2::framework::CallbacksPolicy>& policies)
30void customize(std::vector<ConfigParamSpec>& workflowOptions)
33 std::vector<o2::framework::ConfigParamSpec> options{
35 {
"track-types", VariantType::String, std::string{
GTrackID::ALL}, {
"comma-separated list of sources to use for tracking"}},
37 {
"configKeyValues", VariantType::String,
"", {
"Semicolon separated key=value strings ..."}}};
39 std::swap(workflowOptions, options);
51 auto useMC = !configcontext.
options().
get<
bool>(
"disable-mc");
53 LOG(warning) <<
"TRD track reader cannot read MC labels, useMC = false will be enforced";
Global index for barrel track: provides provenance (detectors combination), index in respective array...
static void updateFromString(std::string const &)
ConfigParamRegistry & options() const
T get(const char *key) const
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
framework::DataProcessorSpec getTRDTPCTrackReaderSpec(bool useMC, bool subSpecStrict=false)
read TPC-TRD matched tracks from a root file
framework::DataProcessorSpec getTRDGlobalTrackReaderSpec(bool useMC)
read ITS-TPC-TRD matched tracks from a root file
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))
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
This function hooks up the the workflow specifications into the DPL driver.
void customize(std::vector< o2::framework::CallbacksPolicy > &policies)