R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BEventHeaderPropagator.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3 * Copyright (C) 2019-2026 Members of R3B Collaboration *
4 * *
5 * This software is distributed under the terms of the *
6 * GNU General Public Licence (GPL) version 3, *
7 * copied verbatim in the file "LICENSE". *
8 * *
9 * In applying this license GSI does not waive the privileges and immunities *
10 * granted to it by virtue of its status as an Intergovernmental Organization *
11 * or submit itself to any jurisdiction. *
12 ******************************************************************************/
13
14#pragma once
15
16#include <FairTask.h>
17#include <Rtypes.h>
18
19#include "R3BEventHeader.h"
20class R3BFileSource;
21class FairSource;
22
23class R3BEventHeaderPropagator : public FairTask
24{
25 public:
31
38 explicit R3BEventHeaderPropagator(const TString& name,
39 Int_t iVerbose = 1,
40 std::string_view nameheader = "EventHeader.");
41
48 InitStatus Init() override;
49
55 void Exec(Option_t* /*option*/) override;
56
57 private:
58 std::string fNameHeader;
60 FairSource* fSource = nullptr;
61
62 public:
64};
InitStatus Init() override
Method for task initialization.
R3BEventHeaderPropagator()
Default constructor.
void Exec(Option_t *) override
Method for event loop implementation.
ClassDefOverride(R3BEventHeaderPropagator, 1)