// Author: K.Tyminska
// Written: 20/11/2001
// Revised: 08/07/2004  R.H.
// 

#ifndef _PCROSS_H_
#define _PCROSS_H_
#include "TObject.h"
#include "TF1.h"
using namespace std;
#include <iostream>
#include <iomanip>
#include <cstdlib>

class PCross : public TObject {

 public:
    PCross();
    ~PCross(){;}
    
    static void print(int, Double_t bmin=0., Double_t bmax=100.);
    static void print(char *,Double_t bmin=0., Double_t bmax=100.);
    static void setSystem(int, int, int, int, Double_t Energy = 1., Bool_t flag=0); 
    static void plot(int, Double_t, Double_t, Double_t bmin=0., 
		     Double_t bmax=100., const char * Opt = "L", Int_t col=1);
    static void plot(char *, Double_t, Double_t, Double_t bmin=0.,
		     Double_t bmax=100., const char * Opt = "L", Int_t col=1);
    static Double_t cross(int, Double_t bmin=0., Double_t bmax=100.);
    static Double_t cross(char *, Double_t bmin=0., Double_t bmax=100.);
    static Double_t calcT(Double_t);

 private:
    static Double_t Ebeam;   // in GeV/u
    static Double_t sqrts;   // in GeV
    static Bool_t sys;
    static Int_t  AP;
    static Int_t  ZP;
    static Int_t  AT;
    static Int_t  ZT;
    static Bool_t doMult;

    static Double_t Npart(int, int, Double_t);
    static Double_t ratiosignew(Double_t, Double_t); // T in MeV, mm = MeV 
    static Double_t calc(Double_t* , Double_t*);
    static Bool_t check(Int_t part);
 
    ClassDef(PCross,0) // meson production cross sections in HIC

};
#endif // _PCROSS_H_



 PCross.h:1
 PCross.h:2
 PCross.h:3
 PCross.h:4
 PCross.h:5
 PCross.h:6
 PCross.h:7
 PCross.h:8
 PCross.h:9
 PCross.h:10
 PCross.h:11
 PCross.h:12
 PCross.h:13
 PCross.h:14
 PCross.h:15
 PCross.h:16
 PCross.h:17
 PCross.h:18
 PCross.h:19
 PCross.h:20
 PCross.h:21
 PCross.h:22
 PCross.h:23
 PCross.h:24
 PCross.h:25
 PCross.h:26
 PCross.h:27
 PCross.h:28
 PCross.h:29
 PCross.h:30
 PCross.h:31
 PCross.h:32
 PCross.h:33
 PCross.h:34
 PCross.h:35
 PCross.h:36
 PCross.h:37
 PCross.h:38
 PCross.h:39
 PCross.h:40
 PCross.h:41
 PCross.h:42
 PCross.h:43
 PCross.h:44
 PCross.h:45
 PCross.h:46
 PCross.h:47
 PCross.h:48
 PCross.h:49
 PCross.h:50
 PCross.h:51
 PCross.h:52
 PCross.h:53