GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TBetaDecay.h
Go to the documentation of this file.
1#ifndef TBETADECAY_H
2#define TBETADECAY_H
3
4/** \addtogroup Fitting Fitting & Analysis
5 * @{
6 */
7
8#include <iostream>
9#include <fstream>
10#include <string>
11
12#include "TNamed.h"
13#include "TNucleus.h"
14
15//////////////////////////////////////////////////////////////////
16///
17/// \class TBetaDecay
18///
19/// This class contains information about beta decays to be used
20/// in analyses.
21///
22///////////////////////////////////////////////////////////////////
23
24class TBetaDecay : public TNamed {
25public:
26 TBetaDecay() = default;
27 explicit TBetaDecay(TNucleus* parent);
28 explicit TBetaDecay(char* name);
29 TBetaDecay(Int_t Z, Int_t N);
31
32 TBetaDecay(const TBetaDecay&) = delete;
34 TBetaDecay& operator=(const TBetaDecay&) = delete;
36
37 TNucleus* GetParent() const { return fParent; }
38
39private:
40 Bool_t fParentAllocated{false}; ///< true if TNucleus was instantiated in TBetaDecay
41 TNucleus* fParent{nullptr}; ///< The parent nucleus beta decaying
42
43 /// \cond CLASSIMP
44 ClassDefOverride(TBetaDecay, 1) // NOLINT(readability-else-after-return)
45 /// \endcond
46};
47/*! @} */
48#endif
TBetaDecay & operator=(TBetaDecay &&)=delete
TBetaDecay()=default
Bool_t fParentAllocated
true if TNucleus was instantiated in TBetaDecay
Definition TBetaDecay.h:40
TNucleus * GetParent() const
Definition TBetaDecay.h:37
TNucleus * fParent
The parent nucleus beta decaying.
Definition TBetaDecay.h:41
TBetaDecay(const TBetaDecay &)=delete
TBetaDecay & operator=(const TBetaDecay &)=delete
TBetaDecay(TBetaDecay &&)=delete