BOSS
7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
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 <limits>
17
#include <inttypes.h>
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 */
56
ICache
Definition:
cache.h:52
Kinem2
Definition:
kinem.h:105
Kinem3
Definition:
kinem.h:123
Kinem4
Definition:
kinem.h:147
Kinem5
Definition:
kinem.h:180
MCache
Definition:
cache.h:210
Minor5
Definition:
minor.h:215
ncomplex
std::complex< double > ncomplex
Definition:
common.h:25
source
Generator
BesEvtGen
BesEvtGen-00-04-08
src
phokhara
eemmg-lib
src
common.h
Generated by
1.9.6