Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
genie::GiBUUData Class Reference

Singleton to load and serve data tables provided by the GiBUU group. More...

#include <GiBUUData.h>

Classes

struct  Cleaner
 
class  FormFactors
 

Public Member Functions

const FormFactorsFF (void) const
 

Static Public Member Functions

static GiBUUDataInstance (void)
 

Private Member Functions

 GiBUUData ()
 
 GiBUUData (const GiBUUData &gibuu_data)
 
 ~GiBUUData ()
 
void LoadTables (void)
 

Private Attributes

FormFactorsfFormFactors
 

Static Private Attributes

static GiBUUDatafInstance = 0
 

Friends

struct Cleaner
 

Detailed Description

Singleton to load and serve data tables provided by the GiBUU group.

http://gibuu.physik.uni-giessen.de/GiBUU Specific references for each piece of data included in given below.

Author
Costas Andreopoulos <costas.andreopoulos stfc.ac.uk> University of Liverpool & STFC Rutherford Appleton Lab

May 30, 2009

Definition at line 29 of file GiBUUData.h.

Constructor & Destructor Documentation

GiBUUData::GiBUUData ( )
private

Definition at line 48 of file GiBUUData.cxx.

49 {
50  this->LoadTables();
51  fInstance = 0;
52 }
void LoadTables(void)
Definition: GiBUUData.cxx:71
static GiBUUData * fInstance
Definition: GiBUUData.h:126
genie::GiBUUData::GiBUUData ( const GiBUUData gibuu_data)
private
GiBUUData::~GiBUUData ( )
private

Definition at line 54 of file GiBUUData.cxx.

55 {
56  delete fFormFactors;
57  fFormFactors = 0;
58 }
FormFactors * fFormFactors
Definition: GiBUUData.h:129

Member Function Documentation

const GiBUUData::FormFactors & GiBUUData::FF ( void  ) const

Definition at line 77 of file GiBUUData.cxx.

78 {
79  return *fFormFactors;
80 }
FormFactors * fFormFactors
Definition: GiBUUData.h:129
GiBUUData * GiBUUData::Instance ( void  )
static

Definition at line 60 of file GiBUUData.cxx.

61 {
62  if(fInstance == 0) {
63  LOG("GiBUUData", pINFO) << "GiBUUData late initialization";
64  static GiBUUData::Cleaner cleaner;
66  fInstance = new GiBUUData;
67  }
68  return fInstance;
69 }
void DummyMethodAndSilentCompiler()
Definition: GiBUUData.h:133
static GiBUUData * fInstance
Definition: GiBUUData.h:126
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:87
#define pINFO
Definition: Messenger.h:53
void GiBUUData::LoadTables ( void  )
private

Definition at line 71 of file GiBUUData.cxx.

72 {
73  fFormFactors = new FormFactors;
75 }
void LoadTables(void)
load all form factor data tables
Definition: GiBUUData.cxx:115
FormFactors * fFormFactors
Definition: GiBUUData.h:129

Friends And Related Function Documentation

friend struct Cleaner
friend

Definition at line 141 of file GiBUUData.h.

Member Data Documentation

FormFactors* genie::GiBUUData::fFormFactors
private

Definition at line 129 of file GiBUUData.h.

GiBUUData * GiBUUData::fInstance = 0
staticprivate

Definition at line 126 of file GiBUUData.h.


The documentation for this class was generated from the following files: