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

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

#include <GiBUURESFormFactor.h>

Classes

struct  Cleaner
 
class  FormFactors
 

Public Member Functions

const FormFactorsFF (void) const
 

Static Public Member Functions

static GiBUURESFormFactorInstance (void)
 

Private Member Functions

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

Private Attributes

FormFactorsfFormFactors
 

Static Private Attributes

static GiBUURESFormFactorfInstance = 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 <constantinos.andreopoulos cern.ch> University of Liverpool & STFC Rutherford Appleton Laboratory

May 30, 2009

Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org

Definition at line 31 of file GiBUURESFormFactor.h.

Constructor & Destructor Documentation

GiBUURESFormFactor::GiBUURESFormFactor ( )
private

Definition at line 37 of file GiBUURESFormFactor.cxx.

38 {
39  this->LoadTables();
40  fInstance = 0;
41 }
static GiBUURESFormFactor * fInstance
genie::GiBUURESFormFactor::GiBUURESFormFactor ( const GiBUURESFormFactor gibuu_data)
private
GiBUURESFormFactor::~GiBUURESFormFactor ( )
private

Definition at line 43 of file GiBUURESFormFactor.cxx.

44 {
45  delete fFormFactors;
46  fFormFactors = 0;
47 }

Member Function Documentation

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

Definition at line 66 of file GiBUURESFormFactor.cxx.

67 {
68  return *fFormFactors;
69 }
GiBUURESFormFactor * GiBUURESFormFactor::Instance ( void  )
static

Definition at line 49 of file GiBUURESFormFactor.cxx.

50 {
51  if(fInstance == 0) {
52  LOG("GiBUURESFormFactor", pINFO) << "GiBUURESFormFactor late initialization";
53  static GiBUURESFormFactor::Cleaner cleaner;
56  }
57  return fInstance;
58 }
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
Definition: Messenger.h:96
#define pINFO
Definition: Messenger.h:62
static GiBUURESFormFactor * fInstance
void GiBUURESFormFactor::LoadTables ( void  )
private

Definition at line 60 of file GiBUURESFormFactor.cxx.

61 {
62  fFormFactors = new FormFactors;
64 }
void LoadTables(void)
load all form factor data tables

Friends And Related Function Documentation

friend struct Cleaner
friend

Definition at line 143 of file GiBUURESFormFactor.h.

Member Data Documentation

FormFactors* genie::GiBUURESFormFactor::fFormFactors
private

Definition at line 131 of file GiBUURESFormFactor.h.

GiBUURESFormFactor * GiBUURESFormFactor::fInstance = 0
staticprivate

Definition at line 128 of file GiBUURESFormFactor.h.


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