Skip to content

Commit

Permalink
Used built-in getter
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Horst committed Aug 12, 2024
1 parent 346edcd commit d45de5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/TPC/src/PID.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void PID::initialize(o2::framework::InitContext& /*ctx*/)
mQCPID.initializeHistograms();
//mSeparationPower = new TProfile("mSeparationPower", "mSeparationPower", nPars, 0., (float)nPars);
mSeparationPower.reset(new TProfile("mSeparationPower", "mSeparationPower", nPars, 0., (float)nPars));
getObjectsManager()->startPublishing(&(*mSeparationPower));
getObjectsManager()->startPublishing(mSeparationPower.get());
// pass map of vectors of histograms to be beautified!

o2::tpc::qc::helpers::setStyleHistogramsInMap(mQCPID.getMapOfHisto());
Expand Down

0 comments on commit d45de5c

Please sign in to comment.