Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ struct PublisherConf {

std::string processName;
std::string defaultTreeName;
std::string defaultFileName;
BranchOptionConfig databranch;
BranchOptionConfig triggerrecordbranch;
BranchOptionConfig mcbranch;
Expand Down Expand Up @@ -84,6 +85,7 @@ inline framework::DataProcessorSpec getCellReaderSpec(bool propagateMC)
using cellInputType = std::vector<o2::emcal::Cell>;
return getPublisherSpec<cellInputType>(PublisherConf{"emcal-cell-reader",
"o2sim",
"emccells.root",
{"cellbranch", "EMCALCell", "Cell branch"},
{"celltriggerbranch", "EMCALCellTRGR", "Trigger record branch"},
{"mcbranch", "EMCALCellMCTruth", "MC label branch"},
Expand Down
2 changes: 1 addition & 1 deletion Detectors/EMCAL/workflow/src/PublisherSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ o2::framework::DataProcessorSpec createPublisherSpec(PublisherConf const& config
{createOutputSpecs()},
o2::framework::AlgorithmSpec(initFunction),
o2::framework::Options{
{"infile", o2::framework::VariantType::String, "", {"Name of the input file"}},
{"infile", o2::framework::VariantType::String, config.defaultFileName, {"Name of the input file"}},
{"input-dir", o2::framework::VariantType::String, "none", {"Input directory"}},
{"treename", o2::framework::VariantType::String, config.defaultTreeName.c_str(), {"Name of input tree"}},
{dtb.option.c_str(), o2::framework::VariantType::String, dtb.defval.c_str(), {dtb.help.c_str()}},
Expand Down
2 changes: 2 additions & 0 deletions Detectors/EMCAL/workflow/src/RecoWorkflow.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ o2::framework::WorkflowSpec getWorkflow(bool propagateMC,
specs.emplace_back(o2::emcal::getPublisherSpec<digitInputType>(PublisherConf{
"emcal-digit-reader",
"o2sim",
"emcdigits.root",
{"digitbranch", "EMCALDigit", "Digit branch"},
{"digittriggerbranch", "EMCALDigitTRGR", "Trigger record branch"},
{"mcbranch", "EMCALDigitMCTruth", "MC label branch"},
Expand All @@ -147,6 +148,7 @@ o2::framework::WorkflowSpec getWorkflow(bool propagateMC,
specs.emplace_back(o2::emcal::getPublisherSpec<cellInputType>(PublisherConf{
"emcal-cell-reader",
"o2sim",
"emccells.root",
{"cellbranch", "EMCALCell", "Cell branch"},
{"celltriggerbranch", "EMCALCellTRGR", "Trigger record branch"},
{"mcbranch", "EMCALCellMCTruth", "MC label branch"},
Expand Down