TkN 2.4
Toolkit for Nuclei
Loading...
Searching...
No Matches
tkdecay_builder.h
1/********************************************************************************
2 * Copyright (c) : Université de Lyon 1, CNRS/IN2P3, UMR5822, *
3 * IP2I, F-69622 Villeurbanne Cedex, France *
4 * Normandie Université, ENSICAEN, UNICAEN, CNRS/IN2P3, *
5 * LPC Caen, F-14000 Caen, France *
6 * Contibutor(s) : *
7 * Jérémie Dudouet jeremie.dudouet@cnrs.fr [2020] *
8 * Diego Gruyer diego.gruyer@cnrs.fr [2020] *
9 * *
10 * Licensed under the MIT License <http://opensource.org/licenses/MIT>. *
11 * SPDX-License-Identifier: MIT *
12 ********************************************************************************/
13
14#ifndef tkdecay_builder_H
15#define tkdecay_builder_H
16
17#include "tkdb_builder.h"
18
19#include "tkn_config.h"
20#include "tkdatabase.h"
21#include "tkensdf_gamma_rec.h"
22
23#ifdef HAS_ROOT
24#include "TClass.h"
25#endif
26
27
28namespace tkn {
29
31
32protected:
33
34 int fdecay_Idx = 0;
35
36public:
37 tkdecay_builder(tkdatabase *_database, const char* _table_name="DECAY");
38 virtual ~tkdecay_builder() override;
39
40public:
41
42 int get_decay_id() {return fdecay_Idx;}
43 void fill_gamma(const int &_level_idx_from, const int &_level_idx_to, const tkensdf_gamma_rec &_gamma_record);
44
45#ifdef HAS_ROOT
47 ClassDefOverride(tkdecay_builder,0);
48#endif
49};
50
51}
52#endif
53
Interface to the sqlite database.
Definition tkdatabase.h:34
tkdb_builder(tkdatabase *_database, const char *_table_name)
Filling of the ENSDF decay properties.
tkdecay_builder(tkdatabase *_database, const char *_table_name="DECAY")
virtual ~tkdecay_builder() override
void fill_gamma(const int &_level_idx_from, const int &_level_idx_to, const tkensdf_gamma_rec &_gamma_record)
Decodding of the ENSDF gamma properties.
Definition tklog.cpp:16