GooFit
v2.1.3
include
goofit
PDFs
physics
SpinFactors.h
Go to the documentation of this file.
1
/*
2
04/05/2016 Christoph Hasse
3
DISCLAIMER:
4
5
This code is not sufficently tested yet and still under heavy development!
6
See *.cu file for more details
7
*/
8
9
#pragma once
10
11
#include <
goofit/PDFs/physics/DalitzPlotHelpers.h
>
12
13
namespace
GooFit
{
14
15
typedef
fptype
(*
spin_function_ptr
)(
fptype
*,
unsigned
int
*);
16
17
enum class
SF_4Body
{
18
DtoPP1_PtoSP2_StoP3P4
,
19
DtoPP1_PtoVP2_VtoP3P4
,
20
DtoV1V2_V1toP1P2_V2toP3P4_S
,
21
DtoV1V2_V1toP1P2_V2toP3P4_P
,
22
DtoV1V2_V1toP1P2_V2toP3P4_D
,
23
DtoAP1_AtoVP2_VtoP3P4
,
24
DtoAP1_AtoVP2Dwave_VtoP3P4
,
25
DtoVS_VtoP1P2_StoP3P4
,
26
DtoV1P1_V1toV2P2_V2toP3P4
,
27
DtoAP1_AtoSP2_StoP3P4
,
28
DtoTP1_TtoVP2_VtoP3P4
,
29
FF_12_34_L1
,
30
FF_12_34_L2
,
31
FF_123_4_L1
,
32
FF_123_4_L2
,
33
ONE
34
};
35
36
class
SpinFactor
:
public
GooPdf
{
37
friend
class
DPPdf
;
38
39
private
:
40
SF_4Body
_SF;
41
unsigned
int
_P0;
42
unsigned
int
_P1;
43
unsigned
int
_P2;
44
unsigned
int
_P3;
45
46
public
:
47
SpinFactor
(std::string name,
SF_4Body
SF,
unsigned
int
P0,
unsigned
int
P1,
unsigned
int
P2,
unsigned
int
P3);
48
void
setConstantIndex
(
unsigned
int
idx) {
host_indices
[parameters + 1] = idx; }
49
bool
operator==
(
const
SpinFactor
&S)
const
{
50
return
(S.
getName
() == getName() and S._SF == _SF and S._P0 == _P0 and S._P1 == _P1 and S._P2 == _P2
51
and S._P3 == _P3);
52
}
53
};
54
}
// namespace GooFit
GooFit::SpinFactor
Definition:
SpinFactors.h:36
GooFit::GooPdf
Definition:
GooPdf.h:54
GooFit::fptype
double fptype
Definition:
GlobalCudaDefines.h:96
GooFit::host_indices
unsigned int host_indices[maxParams]
Definition:
PdfBase.cpp:31
GooFit::SF_4Body::DtoAP1_AtoVP2Dwave_VtoP3P4
DalitzPlotHelpers.h
GooFit::SF_4Body::FF_123_4_L1
GooFit::spin_function_ptr
fptype(* spin_function_ptr)(fptype *, unsigned int *)
Definition:
SpinFactors.h:15
GooFit::SF_4Body::DtoV1P1_V1toV2P2_V2toP3P4
GooFit::SpinFactor::operator==
bool operator==(const SpinFactor &S) const
Definition:
SpinFactors.h:49
GooFit::SF_4Body::DtoVS_VtoP1P2_StoP3P4
GooFit::SF_4Body::DtoV1V2_V1toP1P2_V2toP3P4_P
GooFit::SF_4Body::DtoPP1_PtoSP2_StoP3P4
GooFit::SpinFactor::setConstantIndex
void setConstantIndex(unsigned int idx)
Definition:
SpinFactors.h:48
GooFit::SF_4Body
SF_4Body
Definition:
SpinFactors.h:17
GooFit::SF_4Body::DtoAP1_AtoVP2_VtoP3P4
GooFit::SF_4Body::DtoV1V2_V1toP1P2_V2toP3P4_S
GooFit::SF_4Body::FF_12_34_L1
GooFit
Definition:
Application.h:18
GooFit::SF_4Body::ONE
GooFit::SF_4Body::FF_12_34_L2
GooFit::SF_4Body::DtoTP1_TtoVP2_VtoP3P4
GooFit::SF_4Body::DtoV1V2_V1toP1P2_V2toP3P4_D
GooFit::SF_4Body::DtoPP1_PtoVP2_VtoP3P4
GooFit::DPPdf
Definition:
DP4Pdf.h:29
GooFit::PdfBase::getName
__host__ std::string getName() const
Definition:
PdfBase.h:93
GooFit::SF_4Body::FF_123_4_L2
GooFit::SF_4Body::DtoAP1_AtoSP2_StoP3P4
Generated on Sat Apr 21 2018 20:13:17 for GooFit by
1.8.13