A class holding the Axial Form Factor. More...
#include <AxialFormFactor.h>
Public Member Functions | |
AxialFormFactor () | |
AxialFormFactor (const AxialFormFactor &form_factors) | |
virtual | ~AxialFormFactor () |
void | SetModel (const AxialFormFactorModelI *model) |
Attach an algorithm. More... | |
void | Calculate (const Interaction *interaction) |
Calculate the form factors for the input interaction using the attached algorithm. More... | |
double | FA (void) const |
Get the computed axial form factor. More... | |
const AxialFormFactorModelI * | Model (void) const |
Get the attached model. More... | |
void | Reset (Option_t *opt="") |
void | Copy (const AxialFormFactor &ff) |
bool | Compare (const AxialFormFactor &ff) const |
void | Print (ostream &stream) const |
bool | operator== (const AxialFormFactor &ff) const |
AxialFormFactor & | operator= (const AxialFormFactor &ff) |
Private Attributes | |
double | fFA |
const AxialFormFactorModelI * | fModel |
Friends | |
ostream & | operator<< (ostream &stream, const AxialFormFactor &ff) |
A class holding the Axial Form Factor.
This class is using the Strategy Pattern.
August 19, 2013
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
Definition at line 38 of file AxialFormFactor.h.
AxialFormFactor::AxialFormFactor | ( | ) |
Definition at line 37 of file AxialFormFactor.cxx.
AxialFormFactor::AxialFormFactor | ( | const AxialFormFactor & | form_factors | ) |
Definition at line 42 of file AxialFormFactor.cxx.
|
inlinevirtual |
Definition at line 43 of file AxialFormFactor.h.
void AxialFormFactor::Calculate | ( | const Interaction * | interaction | ) |
Calculate the form factors for the input interaction using the attached algorithm.
Definition at line 53 of file AxialFormFactor.cxx.
bool AxialFormFactor::Compare | ( | const AxialFormFactor & | ff | ) | const |
Definition at line 83 of file AxialFormFactor.cxx.
void AxialFormFactor::Copy | ( | const AxialFormFactor & | ff | ) |
Definition at line 77 of file AxialFormFactor.cxx.
|
inline |
|
inline |
AxialFormFactor & AxialFormFactor::operator= | ( | const AxialFormFactor & | ff | ) |
Definition at line 99 of file AxialFormFactor.cxx.
bool AxialFormFactor::operator== | ( | const AxialFormFactor & | ff | ) | const |
Definition at line 94 of file AxialFormFactor.cxx.
void AxialFormFactor::Print | ( | ostream & | stream | ) | const |
Definition at line 88 of file AxialFormFactor.cxx.
void AxialFormFactor::Reset | ( | Option_t * | opt = "" | ) |
Definition at line 66 of file AxialFormFactor.cxx.
void AxialFormFactor::SetModel | ( | const AxialFormFactorModelI * | model | ) |
|
friend |
Definition at line 30 of file AxialFormFactor.cxx.
|
private |
Definition at line 68 of file AxialFormFactor.h.
|
private |
Definition at line 70 of file AxialFormFactor.h.