Pluto v6.3.0
Loading...
Searching...
No Matches
PCross.h
Go to the documentation of this file.
1// Author: K.Tyminska
2// Written: 20/11/2001
3// Revised: 08/07/2004 R.H.
4//
5
6#ifndef _PCROSS_H_
7#define _PCROSS_H_
8#include "TObject.h"
9#include "TF1.h"
10using namespace std;
11#include <iostream>
12#include <iomanip>
13#include <cstdlib>
14
15class PCross : public TObject {
16
17 public:
20
21 static void print(int, Double_t bmin=0., Double_t bmax=100.);
22 static void print(char *,Double_t bmin=0., Double_t bmax=100.);
23 static void setSystem(int, int, int, int, Double_t Energy = 1., Bool_t flag=0);
24 static void plot(int, Double_t, Double_t, Double_t bmin=0.,
25 Double_t bmax=100., const char * Opt = "L", Int_t col=1);
26 static void plot(char *, Double_t, Double_t, Double_t bmin=0.,
27 Double_t bmax=100., const char * Opt = "L", Int_t col=1);
28 static Double_t cross(int, Double_t bmin=0., Double_t bmax=100.);
29 static Double_t cross(char *, Double_t bmin=0., Double_t bmax=100.);
30 static Double_t calcT(Double_t);
31
32 private:
33 static Double_t Ebeam; // in GeV/u
34 static Double_t sqrts; // in GeV
35 static Bool_t sys;
36 static Int_t AP;
37 static Int_t ZP;
38 static Int_t AT;
39 static Int_t ZT;
40 static Bool_t doMult;
41
42 static Double_t Npart(int, int, Double_t);
43 static Double_t ratiosignew(Double_t, Double_t); // T in MeV, mm = MeV
44 static Double_t calc(Double_t* , Double_t*);
45 static Bool_t check(Int_t part);
46
47 ClassDef(PCross,0) // meson production cross sections in HIC
48
49};
50#endif // _PCROSS_H_
51
52
53
static void setSystem(int, int, int, int, Double_t Energy=1., Bool_t flag=0)
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 void print(char *, Double_t bmin=0., Double_t bmax=100.)
~PCross()
Definition PCross.h:19
static void print(int, Double_t bmin=0., Double_t bmax=100.)
static Double_t calcT(Double_t)
static void plot(int, Double_t, Double_t, Double_t bmin=0., Double_t bmax=100., const char *Opt="L", Int_t col=1)
Float_t bmax