clusterStore->Clear();
clusterStore->Connect(*ct,kFALSE);
ct->GetEvent(0);
- if (clusterStore->GetSize() == 0 && !gEve->GetKeepEmptyCont()) return;
+ rl->UnloadRecPoints("MUON");
+
+ if (clusterStore->GetSize() == 0 && !gEve->GetKeepEmptyCont()) {
+ delete clusterStore;
+ return;
+ }
// cluster container
TEvePointSet* clusterList = new TEvePointSet(10000);
digitStore->Clear();
digitStore->Connect(*dt,0);
dt->GetEvent(0);
- if (digitStore->GetSize() == 0 && !gEve->GetKeepEmptyCont()) return;
+ rl->UnloadDigits("MUON");
+
+ if (digitStore->GetSize() == 0 && !gEve->GetKeepEmptyCont()) {
+ delete digitStore;
+ return;
+ }
// container for graphic representation of digits
TEveElementList* cont = new TEveElementList("MUON Digits");