thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
NucleonFormFactor.h
1// -*- C++ -*-
2#ifndef ThePEG_NucleonFormFactor_H
3#define ThePEG_NucleonFormFactor_H
4//
5// This is the declaration of the NucleonFormFactor class.
6//
7
8#include "ThePEG/Interface/Interfaced.h"
9#include "NucleonFormFactor.fh"
10
11namespace ThePEG {
12
21
22public :
23
29 virtual Complex formFactor(tcPDPtr nucleon, Energy2 q2) const = 0;
30
31public:
32
39 static void Init();
40
41private:
42
48
49};
50
51}
52
53#endif /* ThePEG_NucleonFormFactor_H */
The Interfaced class is derived from the InterfacedBase class adding a couple of things particular to...
Definition: Interfaced.h:38
The documentation of the NucleonFormFactor class provides a base class for the implementation of nucl...
static void Init()
The standard Init function used to initialize the interfaces.
virtual Complex formFactor(tcPDPtr nucleon, Energy2 q2) const =0
Return the form factor.
NucleonFormFactor & operator=(const NucleonFormFactor &)=delete
The assignment operator is private and must never be called.
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
Definition: RCPtr.h:696
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
Definition: Complex.h:23