FairRoot/PandaRoot
|
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <cmath>
#include "ranlxs.h"
#include "ranlxd.h"
#include "mzparameters.h"
#include "mzfunctions.h"
#include "pipisigmas.h"
#include "mzfunctions_pp_to_pipi_vandewi.h"
Go to the source code of this file.
Functions | |
void | ranlxs (float r[], int n) |
void | ranlxd (double r[], int n) |
void | rlxs_init (int level, int seed) |
void | rlxd_init (int level, int seed) |
void | mz_pp_to_pipi_vandewi_init (int seed, double P, double cos_theta_min, double cos_theta_max) |
void | mz_pp_to_pipi_get_p_lattice_site (double P, int &i_min, int &iflag) |
void | mz_pp_to_pipi_get_costheta_lattice_site (double cos_theta, int &k_min, int &kflag) |
double | mz_pp_to_pipi_vandewi_maximum_sigma (double P) |
double | mz_pp_to_pipi_vandewi_sigma_legendre (int i, double cos_theta) |
double | mz_pp_to_pipi_sigma (double P, double cos_theta) |
void | mz_pp_to_pipi_vandewi_event (double P, double cos_theta_min, double cos_theta_max, double *piplus_p, double *piminus_p) |
void mz_pp_to_pipi_get_costheta_lattice_site | ( | double | cos_theta, |
int & | k_min, | ||
int & | kflag | ||
) |
function mz_pp_to_pipi_get_costheta_lattice_site
INPUT:
cos_theta -> cos(theta*)
OUTPUT:
k_min -> lower site in cos(theta*) lattice for input cos(theta*) kflag -> cos(theta*) extrapolation flag kflag=0: input cos(theta*) at lattice site, i.e. no extrapolation needed iflag=1: input cos(theta*) NOT at lattice site, i.e. extrapolation needed
Definition at line 216 of file mzfunctions_pp_to_pipi_vandewi.cxx.
References a, exit(), and printf().
Referenced by mz_pp_to_pipi_sigma().
void mz_pp_to_pipi_get_p_lattice_site | ( | double | P, |
int & | i_min, | ||
int & | iflag | ||
) |
function mz_pp_to_pipi_get_p_lattice_site
INPUT:
P -> pbar momentum lab frame [GeV]
OUTPUT:
i_min -> lower site in momentum lattice for input momentum P iflag -> momentum extrapolation flag iflag=0: input momentum P at lattice site, i.e. no extrapolation needed iflag=1: input momentum P NOT at lattice site, i.e. extrapolation needed
Definition at line 183 of file mzfunctions_pp_to_pipi_vandewi.cxx.
Referenced by mz_pp_to_pipi_sigma(), mz_pp_to_pipi_vandewi_init(), and mz_pp_to_pipi_vandewi_maximum_sigma().
double mz_pp_to_pipi_sigma | ( | double | P, |
double | cos_theta | ||
) |
function mz_pp_to_pipi_sigma
INPUT:
P -> anti-proton momentum (lab frame) [GeV] cos_theta -> cos(theta*)
RETURNS:
value of cross section for the pbar momentum P at the point cos_theta
Definition at line 346 of file mzfunctions_pp_to_pipi_vandewi.cxx.
References a, exit(), mz_linear_extrapolation(), mz_pp_to_pipi_get_costheta_lattice_site(), mz_pp_to_pipi_get_p_lattice_site(), mz_pp_to_pipi_vandewi_sigma_legendre(), printf(), pz, sigma, and sigmas_dt.
Referenced by mz_pp_to_pipi_vandewi_event().
void mz_pp_to_pipi_vandewi_event | ( | double | P, |
double | cos_theta_min, | ||
double | cos_theta_max, | ||
double * | piplus_p, | ||
double * | piminus_p | ||
) |
function mz_pp_to_pipi_vandewi_event
INPUT:
P: anti-proton momentum (lab frame) [GeV] cos_theta_min: cos(theta*) minimum; theta*=angle(pi-,pbar) CMS frame cos_theta_max: cos(theta*) maximum
OUTPUT:
piplus_p: 4-momentum pi- lab frame piminus_p: 4-momentum pi+ lab frame
Definition at line 480 of file mzfunctions_pp_to_pipi_vandewi.cxx.
References acos(), cos(), i, max(), mp, mpi, mz_pp_to_pipi_sigma(), mz_pp_to_pipi_vandewi_maximum_sigma(), mzboost(), mzrnd(), mzvmod2(), P, phi, PI, sin(), theta, x, and y.
Referenced by PndPiPiGenerator::ReadEvent().
void mz_pp_to_pipi_vandewi_init | ( | int | seed, |
double | P, | ||
double | cos_theta_min, | ||
double | cos_theta_max | ||
) |
Mainz, May 2011
Definition at line 34 of file mzfunctions_pp_to_pipi_vandewi.cxx.
References exit(), i, mp, mz_pp_to_pipi_get_p_lattice_site(), mzvmod2(), P, printf(), pz, and rlxd_init().
Referenced by PndPiPiGenerator::Init().
double mz_pp_to_pipi_vandewi_maximum_sigma | ( | double | P | ) |
funtion mz_pp_to_pipi_vandewi_maximum_sigma
INPUT:
P -> pbar input momentum lab frame [GeV]
RETURNS:
cross section maximum for momentum P in full cos(theta*) range
Definition at line 257 of file mzfunctions_pp_to_pipi_vandewi.cxx.
References max(), mz_pp_to_pipi_get_p_lattice_site(), pz, and sigmas_dt.
Referenced by mz_pp_to_pipi_vandewi_event().
double mz_pp_to_pipi_vandewi_sigma_legendre | ( | int | i, |
double | cos_theta | ||
) |
function mz_pp_to_pipi_vandewi_sigma_legendre
INPUT:
i -> momentum lattice site cos_theta -> cos(theta*)
RETURNS:
cross section (legendre polinomial series parametrization) at cos(theta*) for the pbar momentum corresponding to the i-th lattice site
Definition at line 305 of file mzfunctions_pp_to_pipi_vandewi.cxx.
References exit(), fitlegendre, i, mz_legendre_polynomial(), printf(), and sigma.
Referenced by mz_pp_to_pipi_sigma().
void ranlxd | ( | double | r[], |
int | n | ||
) |
Definition at line 571 of file ranlxd.cxx.
void ranlxs | ( | float | r[], |
int | n | ||
) |
void rlxd_init | ( | int | level, |
int | seed | ||
) |
Definition at line 501 of file ranlxd.cxx.
void rlxs_init | ( | int | level, |
int | seed | ||
) |
Definition at line 495 of file ranlxs.cxx.