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 "TNamed.h"
9#include "TNucleus.h"
10
11//////////////////////////////////////////////////////////////////
12///
13/// \class TBetaDecay
14///
15/// This class contains information about beta decays to be used
16/// in analyses.
17///
18///////////////////////////////////////////////////////////////////
19
20class TBetaDecay : public TNamed {
21public:
22 TBetaDecay() = default;
23 explicit TBetaDecay(TNucleus* parent);
24 explicit TBetaDecay(char* name);
25 TBetaDecay(Int_t Z, Int_t N);
27
28 TBetaDecay(const TBetaDecay&) = delete;
30 TBetaDecay& operator=(const TBetaDecay&) = delete;
32
33 TNucleus* GetParent() const { return fParent; }
34
35private:
36 Bool_t fParentAllocated{false}; ///< true if TNucleus was instantiated in TBetaDecay
37 TNucleus* fParent{nullptr}; ///< The parent nucleus beta decaying
38
39 /// \cond CLASSIMP
40 ClassDefOverride(TBetaDecay, 1) // NOLINT(readability-else-after-return)
41 /// \endcond
42};
43/*! @} */
44#endif
TBetaDecay & operator=(TBetaDecay &&)=delete
TBetaDecay()=default
Bool_t fParentAllocated
true if TNucleus was instantiated in TBetaDecay
Definition TBetaDecay.h:36
TNucleus * GetParent() const
Definition TBetaDecay.h:33
TNucleus * fParent
The parent nucleus beta decaying.
Definition TBetaDecay.h:37
TBetaDecay(const TBetaDecay &)=delete
TBetaDecay & operator=(const TBetaDecay &)=delete
TBetaDecay(TBetaDecay &&)=delete