File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
project_root_containers/MyProjData
project_stl_containers/MyProjData Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -309,8 +309,8 @@ void FairStack::Reset()
309
309
}
310
310
fParticles ->Clear ();
311
311
fTracks ->Clear ();
312
- fFSTrackMap .clear ();
313
312
fPointsMap .clear ();
313
+ FairGenericStack::Reset ();
314
314
}
315
315
316
316
void FairStack::Register ()
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ class FairGenericStack : public TVirtualMCStack
98
98
virtual void FinishPrimary () {}
99
99
100
100
/* * Resets arrays and stack and deletes particles and tracks **/
101
- virtual void Reset () {}
101
+ virtual void Reset () { fFSTrackMap . clear (); }
102
102
103
103
/* * Register the MCTrack array to the Root Manager **/
104
104
virtual void Register () {}
Original file line number Diff line number Diff line change 1
1
/* *******************************************************************************
2
- * Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2
+ * Copyright (C) 2014-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
3
* *
4
4
* This software is distributed under the terms of the *
5
5
* GNU Lesser General Public Licence (LGPL) version 3, *
@@ -350,6 +350,7 @@ void MyProjStack::Reset()
350
350
fParticles ->Clear ();
351
351
fTracks ->Clear ();
352
352
fPointsMap .clear ();
353
+ FairGenericStack::Reset ();
353
354
}
354
355
// -------------------------------------------------------------------------
355
356
Original file line number Diff line number Diff line change 1
1
/* *******************************************************************************
2
- * Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2
+ * Copyright (C) 2014-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
3
* *
4
4
* This software is distributed under the terms of the *
5
5
* GNU Lesser General Public Licence (LGPL) version 3, *
@@ -355,6 +355,7 @@ void MyProjStack::Reset()
355
355
fParticles ->Clear ();
356
356
fTracks ->Clear ();
357
357
fPointsMap .clear ();
358
+ FairGenericStack::Reset ();
358
359
}
359
360
// -------------------------------------------------------------------------
360
361
You can’t perform that action at this time.
0 commit comments