Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion fairroot/base/sim/FairMCApplication.h
Original file line number Diff line number Diff line change
@@ -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, *
Expand Down Expand Up @@ -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.
*/
Comment on lines +222 to +225
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix the typo: "going"

bool GetSaveCurrentEvent() { return fSaveCurrentEvent; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mark this as const

Suggested change
bool GetSaveCurrentEvent() { return fSaveCurrentEvent; }
bool GetSaveCurrentEvent() const { return fSaveCurrentEvent; }


/**
* Get the current application state.
*/
Expand Down
5 changes: 4 additions & 1 deletion fairroot/base/steer/FairRun.h
Original file line number Diff line number Diff line change
@@ -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, *
Expand Down Expand Up @@ -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. */
Copy link
Member

@ChristianTackeGSI ChristianTackeGSI Jun 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use consistant Doxygen formatting everywhere.

bool GetMarkFill() { return fMarkFill; }

//** Get option string */
TString GetOptions() { return fOptions; };

Expand Down