Skip to content

Commit 581b374

Browse files
authored
Update insertHist to include title and axis specs
1 parent 63822f1 commit 581b374

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

ALICE3/TableProducer/OTF/onTheFlyTracker.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,9 @@ struct OnTheFlyTracker {
420420
std::get<std::shared_ptr<T>>(it->second)->Fill(std::forward<Args>(args)...);
421421
}
422422

423-
template <typename... Args>
424-
void insertHist(const std::string& name, Args&&... args)
423+
void insertHist(const std::string& name, const std::string& title, HistType type, std::vector<AxisSpec> axisSpecs)
425424
{
426-
histPointers[name] = histos.add(name.c_str(), std::forward<Args>(args)...);
425+
histPointers[name] = histos.add(name.c_str(), title.c_str(), type, axisSpecs);
427426
}
428427

429428
void init(o2::framework::InitContext& initContext)

0 commit comments

Comments
 (0)