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-2025 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#ifndef R3BEVENTHEADERPROPAGATOR_H
15#define R3BEVENTHEADERPROPAGATOR_H 1
16
17#include "FairTask.h"
18#include <Rtypes.h>
19
20#include "R3BEventHeader.h"
21class R3BFileSource;
22class FairSource;
23
24class R3BEventHeaderPropagator : public FairTask
25{
26 public:
32
39 explicit R3BEventHeaderPropagator(const TString& name,
40 Int_t iVerbose = 1,
41 std::string_view nameheader = "EventHeader.");
42
49 InitStatus Init() override;
50
56 void Exec(Option_t* /*option*/) override;
57
58 private:
59 std::string fNameHeader;
60 R3BEventHeader* fHeader = nullptr;
61 FairSource* fSource = nullptr;
62
63 public:
64 ClassDefOverride(R3BEventHeaderPropagator, 1)
65};
66
67#endif // R3BEVENTHEADERPROPAGATOR_H
InitStatus Init() override
Method for task initialization.
R3BEventHeaderPropagator()
Default constructor.
void Exec(Option_t *) override
Method for event loop implementation.