crab.cpp 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /* +++++++++++ Complex routines ++++++++++++++ */
  2. /* This should work on any machine */
  3. #include "source_files/volya_complex.h"
  4. #define double_complex Complex
  5. /* For g++, you need only */
  6. //#include <complex.h>
  7. //#define double_complex complex
  8. /* For Borland C++ or for cxx on alpha vms, you should
  9. comment the previous lines and uncomment */
  10. //#define double_complex complex
  11. //#include <complex.h>
  12. /* +++++++++++++++++++++++++++++++++++++++++++ */
  13. /* If you wish to calc. the correlation function as a function of |q_2-q_1|/2
  14. rather than the relative momentum (the default), then you should
  15. define "REDUCED_MOM" */
  16. // #define REDUCED_MOM
  17. /* For the Random # generator */
  18. long IDUM=-1234;
  19. /* The max. number of impact parameters */
  20. #define NBMAX 1
  21. /* The max. # of phasespace pt.s saved for one impact parameter */
  22. #define NPHASEMAX 200000000
  23. //#define MIXED_PAIRS_FOR_DENOM
  24. #define NMAX_FOR_MIXING 10000
  25. /* To smear momentum to model experimental accuracies */
  26. //#define SMEAR_MOMENTA
  27. #include "source_files/crab.h"
  28. #include "interactions/crab_interaction_pipluspiplus.cpp" /* To define interactions,
  29. choose/edit this file.
  30. You also set the IDs of
  31. particles whose phase-space
  32. pt.s you wish to use here. */
  33. #include "binnings/crab_bindefs_qinv.cpp" /* Choose and edit to modify
  34. binning. */
  35. #include "source_files/crab_main.cpp"
  36. #include "source_files/crab_prinput.cpp" /* Edit to change input format */
  37. #ifdef STRONG_INTERACTION
  38. #include "source_files/crab_partwaveinit.cpp"
  39. #endif
  40. #ifdef COULOMB
  41. #include "source_files/crab_coulomb.cpp"
  42. #endif
  43. #include "filters/crab_filter_acceptall.cpp" /* Choose/edit to set
  44. exp. acceptance */
  45. #ifdef SMEAR_MOMENTA
  46. #include "smearings/crab_smearing_10mev.cpp" /* Choose/edit to set exp.
  47. momentum smearing */
  48. #endif
  49. #include "source_files/crab_corrcalc.cpp"
  50. #include "source_files/crab_misc.cpp"
  51. #include "source_files/crab_random.cpp"