BOSS
7.1.3
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
BOSS
Used Packages
Requirements
►
How to use the ERS package
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
7.1.3
►
Analysis
►
BesCxxPolicy
►
BesExamples
►
BesPolicy
►
Calibration
►
Control
►
Database
►
DetectorDescription
►
DistBoss
►
DQA
►
Emc
►
Event
►
EventDisplay
►
EventFilter
►
EvtPreSelect
►
External
▼
Generator
►
Babayaga
►
BabayagaNLO
►
BesBdkRc
►
BesEvtGen
►
BesGenInterface
►
BesGenModule
►
BesTwogam
►
Bhlumi
►
Bhwide
►
CosmicGenerator
►
Eepipi
►
EeTo4e
►
EeToeeV
►
Ekhara
►
GenAnalysisTools
►
GeneratorModule
►
GeneratorObject
►
GeneratorUtil
►
KKMC
►
McEventSelector
▼
Mcgpj
▼
Mcgpj-00-02-00
►
Mcgpj
▼
src
▼
code
▼
inc
►
TConstants.h
►
TDFun.h
►
TEKFun.h
►
TEPCrossPart.h
►
TEvent.h
►
TFormFactor.h
►
TGGCrossPart.h
►
TKcCrossPart.h
►
TKcFormFactor.h
►
TKFun.h
►
TKinemCut.h
►
TKnCrossPart.h
►
TKnFormFactor.h
►
TLi2.h
►
TMuCrossPart.h
►
TMuKFun.h
►
TPhoton.h
►
TPiCrossPart.h
►
TPiFormFactor.h
►
TPiKFun.h
►
TRadCor.h
►
TRadGlobal.h
►
TRadSpline.h
►
TVacuumPol.h
►
TVCrossPart.h
►
code3pi
►
Mcgpj.cxx
►
Phokhara
►
SingleParticleGun
►
InstallArea
►
LumTauAlg
►
MagneticField
►
Mdc
►
Muc
►
OfflineEvtFilter
►
Reconstruction
►
RootPolicy
►
Simulation
►
Tof
►
Trigger
►
Utilities
►
Validation
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
TFormFactor.h
Go to the documentation of this file.
1
#ifndef RAD_TFormFactor
2
#define RAD_TFormFactor
3
4
#include <complex>
5
#include "
TRadSpline.h
"
6
7
class
TFormFactor
{
8
protected
:
9
unsigned
int
fNp
;
10
TRadSpline
*
fsvsr
;
11
TRadSpline
*
fsvsi
;
12
bool
fUnitFF
;
13
virtual
std::complex<double>
ff
(
const
double
&)=0;
14
public
:
15
TFormFactor
();
16
virtual
~TFormFactor
();
17
void
SetUnitFF
(){
fUnitFF
=
true
;}
18
void
SetDefaultFF
(){
fUnitFF
=
false
;}
19
bool
GetFFMode
(){
return
fUnitFF
;}
20
void
SetNpoints
(
const
unsigned
int
&i){
fNp
= i;}
21
void
Init
();
22
void
Init
(
const
double
&);
23
inline
std::complex <double>
Eval
(
const
double
&
s
){
24
if
(
fUnitFF
)
return
std::complex<double>(1,0);
25
return
std::complex<double>(
fsvsr
->Eval(
s
),
fsvsi
->Eval(
s
));
26
}
23
inline
std::complex <double>
Eval
(
const
double
&
s
) {
…
}
27
void
Print
();
28
};
7
class
TFormFactor
{
…
};
29
30
#endif
// #ifndef RAD_TFormFactor
s
XmlRpcServer s
Definition
HelloServer.cpp:11
TRadSpline.h
TFormFactor::~TFormFactor
virtual ~TFormFactor()
TFormFactor::fsvsi
TRadSpline * fsvsi
Definition
TFormFactor.h:11
TFormFactor::SetUnitFF
void SetUnitFF()
Definition
TFormFactor.h:17
TFormFactor::fUnitFF
bool fUnitFF
Definition
TFormFactor.h:12
TFormFactor::Init
void Init(const double &)
TFormFactor::TFormFactor
TFormFactor()
TFormFactor::SetNpoints
void SetNpoints(const unsigned int &i)
Definition
TFormFactor.h:20
TFormFactor::GetFFMode
bool GetFFMode()
Definition
TFormFactor.h:19
TFormFactor::Print
void Print()
TFormFactor::ff
virtual std::complex< double > ff(const double &)=0
TFormFactor::fNp
unsigned int fNp
Definition
TFormFactor.h:9
TFormFactor::fsvsr
TRadSpline * fsvsr
Definition
TFormFactor.h:10
TFormFactor::Eval
std::complex< double > Eval(const double &s)
Definition
TFormFactor.h:23
TFormFactor::SetDefaultFF
void SetDefaultFF()
Definition
TFormFactor.h:18
TFormFactor::Init
void Init()
TRadSpline
Definition
TRadSpline.h:4
7.1.3
Generator
Mcgpj
Mcgpj-00-02-00
src
code
inc
TFormFactor.h
Generated by
1.13.2