Pluto v6.3.0
Loading...
Searching...
No Matches
PDeltaAngularDistribution.h
Go to the documentation of this file.
1// Author: I. Froehlich
2// Written: 23.6.2007
3// Revised:
4
5#ifndef _PDELTAANGULARDISTRIBUTION_H_
6#define _PDELTAANGULARDISTRIBUTION_H_
7
8#include "TF1.h"
9#include "TF2.h"
11
13
14 public:
16 PDeltaAngularDistribution(const Char_t *id, const Char_t *de);
17
18 PDistribution *Clone(const char *delme=NULL) const;
19
20 Bool_t Init(void);
21 Bool_t Prepare(void);
22 Bool_t IsNotRejected(void);
23
24 void Print(const Option_t *delme=NULL) const; //Debug info
25
26 void SetTerm(int i) {
27 use_term=i;
28 };
29
30 double SamplePolarAngle(double);
31
32 private:
33 double ds_dt(double cos_th_cm);
34
35 void getNN_DeltaN_param();
36 // parameters for N+N->N+Delta
37 double lambda2, prefac, mres;
38
39 int anisotropy;
40
41 int use_term;
42
43 ClassDef(PDeltaAngularDistribution,0) //Angular distributions is the NN->N Delta reaction
44};
45
46#endif
47
48
void Print(const Option_t *delme=NULL) const
PDeltaAngularDistribution(const Char_t *id, const Char_t *de)
PDistribution * Clone(const char *delme=NULL) const
double SamplePolarAngle(double)