R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandParSet.h
Go to the documentation of this file.
1
2/******************************************************************************
3 * Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
4 * Copyright (C) 2019-2023 Members of R3B Collaboration *
5 * *
6 * This software is distributed under the terms of the *
7 * GNU General Public Licence (GPL) version 3, *
8 * copied verbatim in the file "LICENSE". *
9 * *
10 * In applying this license GSI does not waive the privileges and immunities *
11 * granted to it by virtue of its status as an Intergovernmental Organization *
12 * or submit itself to any jurisdiction. *
13 ******************************************************************************/
14
15#pragma once
16
17#include <FairParSet.h>
18#include <FairRuntimeDb.h>
19
20namespace R3B::Neuland
21{
22 class ParSet : public FairParSet
23 {
24 public:
25 explicit ParSet(std::string_view name = "parSet",
26 std::string_view title = "Neuland parameter",
27 std::string_view context = "TestDefaultContext",
28 bool own = true);
29
30 // rule of 5
31 ParSet(const ParSet&) = default;
32 ParSet(ParSet&&) = default;
33 auto operator=(const ParSet&) -> ParSet& = default;
34 auto operator=(ParSet&&) -> ParSet& = default;
35 ~ParSet() override = default;
36
37 void Write2File() { FairParSet::write(); }
38
39 private:
40 auto init(FairParIo* inputFile) -> bool override;
41 auto write(FairParIo* outputFile) -> int override;
42 void print() override {};
43
44 public:
46 };
47} // namespace R3B::Neuland
ParSet(const ParSet &)=default
~ParSet() override=default
auto operator=(ParSet &&) -> ParSet &=default
auto write(FairParIo *outputFile) -> int override
void print() override
auto init(FairParIo *inputFile) -> bool override
ClassDefOverride(ParSet, 1)
auto operator=(const ParSet &) -> ParSet &=default
ParSet(ParSet &&)=default
ParSet(std::string_view name="parSet", std::string_view title="Neuland parameter", std::string_view context="TestDefaultContext", bool own=true)
Simulation of NeuLAND Bar/Paddle.