GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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>

Collaboration diagram for genie::GiBUURESFormFactor:
Collaboration graph
[legend]

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.

References:
http://gibuu.physik.uni-giessen.de/GiBUU Specific references for each piece of data included in given below.
Author
Costas Andreopoulos <c.andreopoulos cern.ch> University of Liverpool
Created:
May 30, 2009
License:
Copyright (c) 2003-2024, 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.

Referenced by SaveToRootFile().

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

Definition at line 49 of file GiBUURESFormFactor.cxx.

References genie::GiBUURESFormFactor::Cleaner::DummyMethodAndSilentCompiler(), LOG, and pINFO.

Referenced by SaveToRootFile().

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.

References genie::GiBUURESFormFactor::FormFactors::LoadTables().

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.

Referenced by genie::GiBUURESFormFactor::Cleaner::~Cleaner().


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