NuclearData.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::NuclearData
5 
6 \brief
7 
8 \author Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
9  University of Liverpool & STFC Rutherford Appleton Laboratory
10 
11 \created Nov 20, 2009
12 
13 \cpright Copyright (c) 2003-2020, The GENIE Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15 
16 */
17 //____________________________________________________________________________
18 
19 #ifndef _NUCLEAR_DATA_H_
20 #define _NUCLEAR_DATA_H_
21 
22 namespace genie {
23 
24 class Spline;
25 
27 {
28 public:
29  static NuclearData * Instance (void);
30 
31  double DeuteriumSuppressionFactor(double Q2);
32 
33 private:
34  NuclearData();
35  NuclearData(const NuclearData & nd);
36  ~NuclearData();
37 
38  void Load(void);
39 
41 
42  // Loaded data
44 
45  // Sinleton cleaner
46  struct Cleaner {
49  if (NuclearData::fInstance !=0) {
52  }
53  }
54  };
55  friend struct Cleaner;
56 };
57 
58 } // genie namespace
59 #endif //_NUCLEAR_DATA_H_
60 
static NuclearData * Instance(void)
Definition: NuclearData.cxx:54
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
double Q2(const Interaction *const i)
Definition: KineUtils.cxx:1064
Spline * fNuclSupprD2
Definition: NuclearData.h:43
A numeric analysis tool class for interpolating 1-D functions.
Definition: Spline.h:46
static NuclearData * fInstance
Definition: NuclearData.h:40
double DeuteriumSuppressionFactor(double Q2)
Definition: NuclearData.cxx:65