Pluto v6.3.0
Loading...
Searching...
No Matches
PUniGenInput.h
Go to the documentation of this file.
1// Author: Ingo Froehlich
2// Written: 01/02/2011
3
4
5#ifndef _PUNIGENINPUT_H_
6#define _PUNIGENINPUT_H_
7
8#include "PBulkInterface.h"
9#include "UEvent.h"
10#include "URun.h"
11#include "TTree.h"
12#include "TFile.h"
13
14#define MAX_UNIGENPARTICLES 500
15#define MAX_UNIGENUNKNOWNPDG 10
16
18
19 private:
20
21 //PParticle *local [MAX_UNIGENPARTICLES];
22
23 //From batch system
24 //Double_t *vertex_x,*vertex_y,*vertex_z;
25
26 TFile *fInFile; // Input file
27 TTree *fInTree; // Input tree
28 URun *fRun; // Run object
29 UEvent *fEvent; // Event
30
31 Int_t centry, nentries, reset_mass;
32
33 Int_t pdg_param, pid_param, *i_result;
34
35 Int_t unknown_pdg[MAX_UNIGENUNKNOWNPDG];
36 Int_t unknown_pdg_pointer;
37
38 protected:
39
40
41 public:
42
45
46 Bool_t Input(char *filename);
47
48 Bool_t Modify(PParticle **stack, int *decay_done, int *num, int stacksize); //bulk interface
49
50 void ResetInvalidMass(void) {reset_mass=1;};
51
52 ClassDef(PUniGenInput, 0) // Adds particles from an UniGen file into a PReaction
53};
54#endif
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#define MAX_UNIGENUNKNOWNPDG
Bool_t Input(char *filename)
void ResetInvalidMass(void)
Bool_t Modify(PParticle **stack, int *decay_done, int *num, int stacksize)
Definition URun.h:8
TString filename("eta_dalitz_a")