#include <GiBUUData.h>
|
| FormFactors () |
|
| ~FormFactors () |
|
double | C3V (double Q2, Resonance_t res, int nucleon_pdg, InteractionType_t it) const |
|
double | C4V (double Q2, Resonance_t res, int nucleon_pdg, InteractionType_t it) const |
|
double | C5V (double Q2, Resonance_t res, int nucleon_pdg, InteractionType_t it) const |
|
double | C6V (double Q2, Resonance_t res, int nucleon_pdg, InteractionType_t it) const |
|
double | C3A (double Q2, Resonance_t res, int nucleon_pdg, InteractionType_t it) const |
|
double | C4A (double Q2, Resonance_t res, int nucleon_pdg, InteractionType_t it) const |
|
double | C5A (double Q2, Resonance_t res, int nucleon_pdg, InteractionType_t it) const |
|
double | C6A (double Q2, Resonance_t res, int nucleon_pdg, InteractionType_t it) const |
|
double | F1V (double Q2, Resonance_t res, int nucleon_pdg, InteractionType_t it) const |
|
double | F2V (double Q2, Resonance_t res, int nucleon_pdg, InteractionType_t it) const |
|
double | FA (double Q2, Resonance_t res, int nucleon_pdg, InteractionType_t it) const |
|
double | FP (double Q2, Resonance_t res, int nucleon_pdg, InteractionType_t it) const |
|
double | Q2min (void) const |
|
double | Q2max (void) const |
|
|
static double | fMinQ2 = 0.0 |
| min Q2 for which resonance f/f data are given More...
|
|
static double | fMaxQ2 = 4.0 |
| max Q2 for which resonance f/f data are given More...
|
|
static const int | kNRes = 18 |
|
static const int | kNCurr = 3 |
|
static const int | kNHitNuc = 2 |
|
static const int | kNFFRes = 12 |
|
Definition at line 45 of file GiBUUData.h.
GiBUUData::FormFactors::FormFactors |
( |
void |
| ) |
|
GiBUUData::FormFactors::~FormFactors |
( |
void |
| ) |
|
Definition at line 94 of file GiBUUData.cxx.
97 cout <<
"GiBUUData singleton dtor: Deleting all f/f splines" << endl;
Definition at line 268 of file GiBUUData.cxx.
272 return this->
FFRes(
Q2,res,hit_nucleon_pdg,it,8);
double Q2(const Interaction *const i)
bool IsN(Resonance_t res)
is it an N resonance?
Definition at line 240 of file GiBUUData.cxx.
244 return this->
FFRes(
Q2,res,hit_nucleon_pdg,it,4);
double Q2(const Interaction *const i)
bool IsN(Resonance_t res)
is it an N resonance?
Definition at line 275 of file GiBUUData.cxx.
279 return this->
FFRes(
Q2,res,hit_nucleon_pdg,it,9);
double Q2(const Interaction *const i)
bool IsN(Resonance_t res)
is it an N resonance?
Definition at line 247 of file GiBUUData.cxx.
251 return this->
FFRes(
Q2,res,hit_nucleon_pdg,it,5);
double Q2(const Interaction *const i)
bool IsN(Resonance_t res)
is it an N resonance?
Definition at line 282 of file GiBUUData.cxx.
286 return this->
FFRes(
Q2,res,hit_nucleon_pdg,it,10);
double Q2(const Interaction *const i)
bool IsN(Resonance_t res)
is it an N resonance?
Definition at line 254 of file GiBUUData.cxx.
258 return this->
FFRes(
Q2,res,hit_nucleon_pdg,it,6);
double Q2(const Interaction *const i)
bool IsN(Resonance_t res)
is it an N resonance?
Definition at line 289 of file GiBUUData.cxx.
293 return this->
FFRes(
Q2,res,hit_nucleon_pdg,it,11);
double Q2(const Interaction *const i)
bool IsN(Resonance_t res)
is it an N resonance?
Definition at line 261 of file GiBUUData.cxx.
265 return this->
FFRes(
Q2,res,hit_nucleon_pdg,it,7);
double Q2(const Interaction *const i)
bool IsN(Resonance_t res)
is it an N resonance?
Definition at line 296 of file GiBUUData.cxx.
300 return this->
FFRes(
Q2,res,hit_nucleon_pdg,it,0);
bool IsDelta(Resonance_t res)
is it a Delta resonance?
double Q2(const Interaction *const i)
Definition at line 303 of file GiBUUData.cxx.
307 return this->
FFRes(
Q2,res,hit_nucleon_pdg,it,1);
bool IsDelta(Resonance_t res)
is it a Delta resonance?
double Q2(const Interaction *const i)
Definition at line 310 of file GiBUUData.cxx.
314 return this->
FFRes(
Q2,res,hit_nucleon_pdg,it,2);
bool IsDelta(Resonance_t res)
is it a Delta resonance?
double Q2(const Interaction *const i)
func to retrieve interpolated form factor values
Definition at line 324 of file GiBUUData.cxx.
328 if(Q2 < fMinQ2 || Q2 >
fMaxQ2)
return 0.;
330 int r = -1,
i = -1, j = -1;
332 if(ffresid<0 || ffresid >=
kNFFRes)
return 0.;
335 if(r<0 || r >=
kNRes)
return 0.;
339 else if (it ==
kIntEM) {
i = 2; }
342 else if (hit_nucleon_pdg ==
kPdgProton ) { j = 1; }
double Q2(const Interaction *const i)
A numeric analysis tool class for interpolating 1-D functions.
double Evaluate(double x) const
Definition at line 317 of file GiBUUData.cxx.
321 return this->
FFRes(
Q2,res,hit_nucleon_pdg,it,3);
bool IsDelta(Resonance_t res)
is it a Delta resonance?
double Q2(const Interaction *const i)
void GiBUUData::FormFactors::LoadTables |
( |
void |
| ) |
|
|
private |
load all form factor data tables
Definition at line 115 of file GiBUUData.cxx.
130 string(
"/data/evgen/gibuu");
145 ostringstream datafile;
146 datafile << data_dir <<
"/form_factors/";
149 case ( 0): datafile <<
"P33_1232";
break;
150 case ( 1): datafile <<
"S11_1535";
break;
151 case ( 2): datafile <<
"D13_1520";
break;
152 case ( 3): datafile <<
"S11_1650";
break;
153 case ( 5): datafile <<
"D15_1675";
break;
154 case ( 6): datafile <<
"S31_1620";
break;
155 case ( 7): datafile <<
"D33_1700";
break;
156 case ( 8): datafile <<
"P11_1440";
break;
157 case (10): datafile <<
"P13_1720";
break;
158 case (11): datafile <<
"F15_1680";
break;
159 case (12): datafile <<
"P31_1910";
break;
160 case (14): datafile <<
"F35_1905";
break;
161 case (15): datafile <<
"F37_1950";
break;
162 default : skip =
true;
166 case (0): datafile <<
"_CC";
break;
167 case (1): datafile <<
"_NC";
break;
168 case (2): datafile <<
"_EM";
break;
169 default : skip =
true;
172 case (0): datafile <<
"_neutron";
break;
173 case (1): datafile <<
"_proton";
break;
174 default : skip =
true;
176 datafile <<
"_FFres.dat";
181 assert( ! gSystem->AccessPathName(datafile.str().c_str()) );
191 data_ffres.ReadFile(datafile.str().c_str(),
192 "Q2/D:f1/D:f2/D:f3/D:f4/D:f5/D:f6/D:f7/D:f8/D");
195 <<
"Number of data rows: " << data_ffres.GetEntries();
237 <<
"Done loading all resonance form factor files...";
bool IsDelta(Resonance_t res)
is it a Delta resonance?
A numeric analysis tool class for interpolating 1-D functions.
enum genie::EResonance Resonance_t
bool IsN(Resonance_t res)
is it an N resonance?
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
void YCanBeNegative(bool tf)
double genie::GiBUUData::FormFactors::Q2max |
( |
void |
| ) |
const |
|
inline |
double genie::GiBUUData::FormFactors::Q2min |
( |
void |
| ) |
const |
|
inline |
actual form factor data = f(Q2)
Definition at line 105 of file GiBUUData.h.
double GiBUUData::FormFactors::fMaxQ2 = 4.0 |
|
staticprivate |
max Q2 for which resonance f/f data are given
Definition at line 74 of file GiBUUData.h.
double GiBUUData::FormFactors::fMinQ2 = 0.0 |
|
staticprivate |
min Q2 for which resonance f/f data are given
Definition at line 73 of file GiBUUData.h.
const int genie::GiBUUData::FormFactors::kNCurr = 3 |
|
staticprivate |
const int genie::GiBUUData::FormFactors::kNFFRes = 12 |
|
staticprivate |
const int genie::GiBUUData::FormFactors::kNHitNuc = 2 |
|
staticprivate |
const int genie::GiBUUData::FormFactors::kNRes = 18 |
|
staticprivate |
The documentation for this class was generated from the following files: