Pluto v6.3.0
Loading...
Searching...
No Matches
PFairGenerator.h
Go to the documentation of this file.
1// Author: Ingo Froehlich
2// Written: 13/10/2009
3// Modified:
4// PFairGenerator Class Header
5
6#ifndef _PFAIRGENERATOR_H_
7#define _PFAIRGENERATOR_H_
8
9#define FAIRGENERATOR_STACKSIZE 1000
10
11#include "PBulkInterface.h"
12
14
15 private:
16
17 Int_t fNumberParticles; //number of stored pparticles
18 PParticle *fLocalStack[FAIRGENERATOR_STACKSIZE]; //stack
19
20 protected:
21
22
23 public:
24
26
27 bool Modify(PParticle **stack, int *decay_done, int *num, int maxnum); //get particle array
28
29 Bool_t GetNextParticle(Int_t *pdgType, Double_t *px, Double_t *py,
30 Double_t *pz, Double_t *vx, Double_t *vy, Double_t *vz);
31
32 ClassDef(PFairGenerator, 0) // Interface to FairRoots primary generator
33
34};
35#endif
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#define FAIRGENERATOR_STACKSIZE
double pz
double px
double py
Bool_t GetNextParticle(Int_t *pdgType, Double_t *px, Double_t *py, Double_t *pz, Double_t *vx, Double_t *vy, Double_t *vz)
bool Modify(PParticle **stack, int *decay_done, int *num, int maxnum)