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
13
class
PFairGenerator
:
public
PBulkInterface
{
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
25
PFairGenerator
();
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
PBulkInterface.h
FAIRGENERATOR_STACKSIZE
#define FAIRGENERATOR_STACKSIZE
Definition
PFairGenerator.h:9
pz
double pz
Definition
analyze_g12C.C:100
px
double px
Definition
analyze_g12C.C:100
py
double py
Definition
analyze_g12C.C:100
PBulkInterface::PBulkInterface
PBulkInterface()
PFairGenerator::PFairGenerator
PFairGenerator()
Definition
PFairGenerator.cc:17
PFairGenerator::GetNextParticle
Bool_t GetNextParticle(Int_t *pdgType, Double_t *px, Double_t *py, Double_t *pz, Double_t *vx, Double_t *vy, Double_t *vz)
Definition
PFairGenerator.cc:49
PFairGenerator::Modify
bool Modify(PParticle **stack, int *decay_done, int *num, int maxnum)
Definition
PFairGenerator.cc:21
PParticle
Definition
PParticle.h:25
pluto6
plugins
fairroot
include
PFairGenerator.h
Generated by
1.14.0