Skip to content

Commit e61c6ab

Browse files
mleschwiechula
authored andcommitted
TPC: Update RatioGenerator
1 parent 1c9148f commit e61c6ab

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Modules/TPC/src/RatioGeneratorTPC.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,12 @@ void RatioGeneratorTPC::update(Trigger t, framework::ServiceRegistryRef services
6464

6565
void RatioGeneratorTPC::finalize(Trigger t, framework::ServiceRegistryRef)
6666
{
67-
generatePlots();
6867
for (const auto& source : mConfig) {
6968
if (mRatios.count(source.nameOutputObject)) {
7069
getObjectsManager()->stopPublishing(source.nameOutputObject);
71-
delete mRatios[source.nameOutputObject];
72-
mRatios[source.nameOutputObject] = nullptr;
7370
}
7471
}
72+
generatePlots();
7573
}
7674

7775
void RatioGeneratorTPC::generateRatios(const Trigger& t,

0 commit comments

Comments
 (0)