R3BROOT
R3B analysis software
Toggle main menu visibility
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
22
namespace
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
:
47
ClassDefOverride
(
ParSet
, 1);
48
};
49
}
// namespace R3B::Neuland
R3B::Neuland::ParSet::ParSet
ParSet(const ParSet &)=default
R3B::Neuland::ParSet::~ParSet
~ParSet() override=default
R3B::Neuland::ParSet::operator=
auto operator=(ParSet &&) -> ParSet &=default
R3B::Neuland::ParSet::Write2File
void Write2File()
Definition
R3BNeulandParSet.h:39
R3B::Neuland::ParSet::write
auto write(FairParIo *outputFile) -> int override
Definition
R3BNeulandParSet.cxx:42
R3B::Neuland::ParSet::print
void print() override
Definition
R3BNeulandParSet.h:44
R3B::Neuland::ParSet::init
auto init(FairParIo *inputFile) -> bool override
Definition
R3BNeulandParSet.cxx:24
R3B::Neuland::ParSet::ClassDefOverride
ClassDefOverride(ParSet, 1)
R3B::Neuland::ParSet::operator=
auto operator=(const ParSet &) -> ParSet &=default
R3B::Neuland::ParSet::ParSet
ParSet(ParSet &&)=default
R3B::Neuland::ParSet::ParSet
ParSet(std::string_view name="parSet", std::string_view title="Neuland parameter", std::string_view context="TestDefaultContext", bool own=true)
Definition
R3BNeulandParSet.cxx:17
R3B::Neuland
Simulation of NeuLAND Bar/Paddle.
Definition
R3BNeulandAnalysisApp.cxx:44
neuland
calibration
share
R3BNeulandParSet.h
Generated by
1.18.0