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#include <Rtypes.h>
20#include <string_view>
21
22namespace R3B::Neuland
23{
24 class ParSet : public FairParSet
25 {
26 public:
27 explicit ParSet(std::string_view name = "parSet",
28 std::string_view title = "Neuland parameter",
29 std::string_view context = "TestDefaultContext",
30 bool own = true);
31
32 // rule of 5
33 ParSet(const ParSet&) = default;
34 ParSet(ParSet&&) = default;
35 auto operator=(const ParSet&) -> ParSet& = default;
36 auto operator=(ParSet&&) -> ParSet& = default;
37 ~ParSet() override = default;
38
39 void Write2File() { FairParSet::write(); }
40
41 private:
42 auto init(FairParIo* inputFile) -> bool override;
43 auto write(FairParIo* outputFile) -> int override;
44 void print() override {};
45
46 public:
48 };
49} // 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.