Pluto v6.3.0
Loading...
Searching...
No Matches
PPlutoBulkDecay.h
Go to the documentation of this file.
1// Author: Ingo Froehlich
2// Written: 10/07/2007
3// Modified:
4// PPlutoBulkDecay Class Header
5
6#ifndef _PPLUTOBULKDECAY_H_
7#define _PPLUTOBULKDECAY_H_
8
9#include "PBulkInterface.h"
10
12
13 private:
14
15 double tauMax; //decay only particles with tau>tauMax
16 int didx;
17 int stackchannel;
18 int recursiveMode;
19
20 protected:
21
22
23 public:
24
26
27 bool Modify(PParticle **stack, int *decay_done, int *num, int maxnum); //decay all particle
28
29 void SetTauMax(double t) {
30 // go to sec
31 tauMax = t*1.e-9;
32 };
33
34 void SetRecursiveMode(int t) {
35 //0: no recursive decay
36 //1: recursive decay enabled
37 recursiveMode=t;
38 };
39
40 ClassDef(PPlutoBulkDecay, 0) // Let particles decay the Pluto way
41};
42#endif
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
void SetTauMax(double t)
bool Modify(PParticle **stack, int *decay_done, int *num, int maxnum)
void SetRecursiveMode(int t)