GENIEGenerator
Loading...
Searching...
No Matches
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:
[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:\n http://gibuu.physik.uni-giessen.de/GiBUU
Specific references for each piece of data included in given below.
Author
Costas Andreopoulos <c.andreopoulos \at cern.ch> University of Liverpool
Created:\n May 30, 2009
License:\n Copyright (c) 2003-2025, 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() [1/2]

GiBUURESFormFactor::GiBUURESFormFactor ( )
private

Definition at line 37 of file GiBUURESFormFactor.cxx.

38{
39 this->LoadTables();
40 fInstance = 0;
41}
static GiBUURESFormFactor * fInstance

References fInstance, and LoadTables().

Referenced by GiBUURESFormFactor(), and Instance().

◆ GiBUURESFormFactor() [2/2]

genie::GiBUURESFormFactor::GiBUURESFormFactor ( const GiBUURESFormFactor & gibuu_data)
private

References GiBUURESFormFactor().

◆ ~GiBUURESFormFactor()

GiBUURESFormFactor::~GiBUURESFormFactor ( )
private

Definition at line 43 of file GiBUURESFormFactor.cxx.

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

References fFormFactors.

Member Function Documentation

◆ FF()

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

Definition at line 66 of file GiBUURESFormFactor.cxx.

67{
68 return *fFormFactors;
69}

References fFormFactors.

Referenced by SaveToRootFile().

◆ Instance()

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 pINFO
Definition Messenger.h:62
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE,...
Definition Messenger.h:96

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

Referenced by SaveToRootFile().

◆ LoadTables()

void GiBUURESFormFactor::LoadTables ( void )
private

Definition at line 60 of file GiBUURESFormFactor.cxx.

References fFormFactors.

Referenced by GiBUURESFormFactor().

◆ Cleaner

friend struct Cleaner
friend

Definition at line 143 of file GiBUURESFormFactor.h.

Member Data Documentation

◆ fFormFactors

FormFactors* genie::GiBUURESFormFactor::fFormFactors
private

Definition at line 131 of file GiBUURESFormFactor.h.

Referenced by FF(), LoadTables(), and ~GiBUURESFormFactor().

◆ fInstance

GiBUURESFormFactor * GiBUURESFormFactor::fInstance = 0
staticprivate

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