Pluto v6.3.0
Loading...
Searching...
No Matches
PTGenPhaseSpace.h
Go to the documentation of this file.
1// Author: I. Froehlich
2// Written:22.1.2018
3// Revised:
4
5#ifndef _PTGENPHASESPACE_H_
6#define _PTGENPHASESPACE_H_
7
8
9#include "PChannelModel.h"
10#include "PGenBod.h"
11#include "TGenPhaseSpace.h"
12
14
15 public:
17 PTGenPhaseSpace(const Char_t *id, const Char_t *de, Int_t key);
18
19 PDistribution *Clone(const char*delme=NULL) const;
20
21 Bool_t Init(void);
22 Bool_t SampleMomentum(void);
23
25 Double_t GetWeight();
26
27 void Print(const Option_t* delme=NULL) const; //Debug info
28
29 private:
30
31 TGenPhaseSpace *event;
32 PParticle *parent, *daughter[MAX_GENBOD_NUM];
33 int n_daughters;
34
35 ClassDef(PTGenPhaseSpace, 0) //Wrapper to ROOT TGenPhaseSpace
36};
37
38#endif
39
40
#define MAX_GENBOD_NUM
Definition PGenBod.h:14
virtual Double_t GetWeight(Double_t *mass, Int_t *didx=NULL)
void Print(const Option_t *delme=NULL) const
Double_t GetWeight()
Bool_t SampleMomentum(void)
PDistribution * Clone(const char *delme=NULL) const
PTGenPhaseSpace(const Char_t *id, const Char_t *de, Int_t key)
Bool_t Init(void)