diff --git a/src/plugins/monitoring/pedestal_online/JEventProcessor_pedestal_online.cc b/src/plugins/monitoring/pedestal_online/JEventProcessor_pedestal_online.cc index ea68e76f1..53883a297 100644 --- a/src/plugins/monitoring/pedestal_online/JEventProcessor_pedestal_online.cc +++ b/src/plugins/monitoring/pedestal_online/JEventProcessor_pedestal_online.cc @@ -144,7 +144,7 @@ void JEventProcessor_pedestal_online::Process(const std::shared_ptrGet(f125PIs); // Although we are only filling objects local to this plugin, the directory changes: Global ROOT lock - lockService->RootFillLock(this); + lockService->RootWriteLock(); if (peddir!=NULL) peddir->cd(); @@ -335,8 +335,9 @@ void JEventProcessor_pedestal_online::Process(const std::shared_ptrcd(); + // Unlock ROOT - lockService->RootFillUnLock(this); + lockService->RootUnLock(); }