Skip to content

Commit 7dae0b8

Browse files
committed
fix(steer): Add GetMarkFill() to FairRun
Allows the user to get the state of the fMarkFill flag. Fixes issue #1604.
1 parent 2d78ca8 commit 7dae0b8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

fairroot/base/steer/FairRun.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/********************************************************************************
2-
* Copyright (C) 2014-2023 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
2+
* Copyright (C) 2014-2025 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
33
* *
44
* This software is distributed under the terms of the *
55
* GNU Lesser General Public Licence (LGPL) version 3, *
@@ -154,6 +154,9 @@ class FairRun : public TNamed
154154
//** Mark/Unmark event to be filled into output. Default is TRUE. */
155155
void MarkFill(Bool_t flag) { fMarkFill = flag; }
156156

157+
//** Get the state of the flag deciding whether the current event is goint to be stored. */
158+
bool GetMarkFill() { return fMarkFill; }
159+
157160
//** Get option string */
158161
TString GetOptions() { return fOptions; };
159162

0 commit comments

Comments
 (0)