BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen/phokhara/eemmg-lib/src/common.h
Go to the documentation of this file.
1
/*
2
* common.h - common includes and parameters
3
*
4
* this file is part of PJFry library
5
* Copyright 2011 Valery Yundin
6
*/
7
8
#ifndef QUL_COMMON_H
9
#define QUL_COMMON_H
10
11
#ifdef HAVE_CONFIG_H
12
# include "
config.h
"
13
#endif
/* HAVE_CONFIG_H */
14
15
#include <complex>
16
#include <inttypes.h>
17
#include <limits>
18
// #include <stdint.h>
19
20
#include <cassert>
21
#ifndef NDEBUG
22
# include <cstdio>
// DEBUG
23
#endif
24
25
typedef
std::complex<double>
ncomplex
;
26
// typedef long long int int64_t;
27
28
// Forward declarations
29
class
ICache
;
30
31
class
MCache
;
32
class
MCache5;
33
34
class
Minor5
;
35
36
class
Kinem5
;
37
class
Kinem4
;
38
class
Kinem3
;
39
class
Kinem2
;
40
41
#define CONST __attribute__( ( const ) )
42
#define PURE __attribute__( ( pure ) )
43
44
#ifdef USE_GOLEM_MODE
45
# define USE_ZERO_CHORD "1"
/* calculate formfactors for zero-chord */
46
# define USE_GOLEM_MODE_6 "1"
/* support 6-pinched kinematics */
47
# define USE_GOLEM_ZERO_CHECK "1"
/* enable checks for i,j,k==s,t,u */
48
#endif
49
50
// Approx 1% slowdown
51
#define USE_SMART_INSERT "1"
/* before adding new, delete same old entries in MCache2,3 */
52
53
#define USE_DIRTY_RESET "1"
/* when told to clear caches, just set len=0 */
54
55
#endif
/* QUL_COMMON_H */
config.h
ncomplex
std::complex< double > ncomplex
Definition
BesEvtGen/phokhara/eemmg-lib/src/common.h:25
ICache
Definition
cache.h:46
Kinem2
Definition
kinem.h:102
Kinem3
Definition
kinem.h:117
Kinem4
Definition
kinem.h:138
Kinem5
Definition
kinem.h:168
MCache
Definition
cache.h:402
Minor5
Definition
minor.h:189
8.0.0
BOSS_Gen
BesEvtGen
phokhara
eemmg-lib
src
common.h
Generated by
1.16.1