diff --git a/fairroot/base/sim/FairMCApplication.h b/fairroot/base/sim/FairMCApplication.h index 3d558e6fa6..94883eab35 100644 --- a/fairroot/base/sim/FairMCApplication.h +++ b/fairroot/base/sim/FairMCApplication.h @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (C) 2014-2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * + * Copyright (C) 2014-2025 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the * * GNU Lesser General Public Licence (LGPL) version 3, * @@ -219,6 +219,12 @@ class FairMCApplication : public TVirtualMCApplication */ void SetSaveCurrentEvent(Bool_t set) { fSaveCurrentEvent = set; } + /** + * Returns the state of the flag deciding whether the current event + * is goint to be stored. + */ + bool GetSaveCurrentEvent() { return fSaveCurrentEvent; } + /** * Get the current application state. */ diff --git a/fairroot/base/steer/FairRun.h b/fairroot/base/steer/FairRun.h index cc945caa1a..6acd695b9a 100644 --- a/fairroot/base/steer/FairRun.h +++ b/fairroot/base/steer/FairRun.h @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * + * Copyright (C) 2014-2025 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the * * GNU Lesser General Public Licence (LGPL) version 3, * @@ -154,6 +154,9 @@ class FairRun : public TNamed //** Mark/Unmark event to be filled into output. Default is TRUE. */ void MarkFill(Bool_t flag) { fMarkFill = flag; } + //** Get the state of the flag deciding whether the current event is goint to be stored. */ + bool GetMarkFill() { return fMarkFill; } + //** Get option string */ TString GetOptions() { return fOptions; };