Pluto v6.3.0
Loading...
Searching...
No Matches
PFermiMomentumGA.h
Go to the documentation of this file.
1// Author: L. Witthauer &
2// M. Dieterle
3// Written 24.03.2009
4
5#ifndef _PFERMIMOMENTUMGA_H_
6#define _PFERMIMOMENTUMGA_H_
7
8#include <iostream>
10#include "TF1.h"
11#include "TF2.h"
12#include "PChannelModel.h"
13#include "string.h"
14
15
17
18 public:
19
21 PFermiMomentumGA(const Char_t *id, const Char_t *de, Int_t key);
22 PDistribution *Clone(const char *delme=NULL) const;
23 Bool_t Init(void);
25 Bool_t SampleMass(void);
26 Bool_t SampleMomentum(void);
27 Double_t GetRandomFermiMomentum(Double_t &px, Double_t &py, Double_t &pz);
28
29private:
30
31 // PFermiDistributions *Dist;
32 PParticle *beam;
33 PParticle *target;
34 PParticle *spectator;
35 PParticle *participant;
36 PParticle *parent;
37 PParticle *p1, *p2;
38 PParticle *composite;
39
40 PChannelModel *fermi_model;
41
42
43 ClassDef(PFermiMomentumGA, 0)
44
45};
46
47#endif
double pz
double px
double py
virtual Bool_t SampleMass(Double_t *mass, Int_t *didx=NULL)
Bool_t SampleMass(void)
Bool_t SampleMomentum(void)
Double_t GetRandomFermiMomentum(Double_t &px, Double_t &py, Double_t &pz)
PDistribution * Clone(const char *delme=NULL) const