Pluto v6.3.0
Loading...
Searching...
No Matches
UEvent.h
Go to the documentation of this file.
1#ifndef UEVENT_H
2#define UEVENT_H
3
4#include "TObject.h"
5#include "TLorentzVector.h"
6
7class TString;
8class TClonesArray;
9class UParticle;
10
11
12class UEvent : public TObject {
13
14 private:
15 Int_t fEventNr; // Event number
16 Double_t fB; // Impact parameter (fm)
17 Double_t fPhi; // Event plane angle
18 Int_t fNes; // Number of event steps
19 Int_t fStepNr; // Event step number
20 Double_t fStepT; // Event step time
21 Int_t fNpa; // Number of particles
22 TClonesArray *fParticles; // Array of particles
23
24 public:
25 UEvent();
26 UEvent(const UEvent& right);
27 virtual ~UEvent();
28 using TObject::Print;
29 void Print(Option_t *option = "");
30 inline Int_t GetEventNr() const {return fEventNr;}
31 inline Double_t GetB() const {return fB;}
32 inline Double_t GetPhi() const {return fPhi;}
33 inline Int_t GetNes() const {return fNes;}
34 inline Int_t GetStepNr() const {return fStepNr;}
35 inline Double_t GetStepT() const {return fStepT;}
36 inline Int_t GetNpa() const {return fNpa;}
37 inline TClonesArray *GetParticleList() const {return fParticles;}
38 UParticle* GetParticle(Int_t index) const;
39 void SetParameters(Int_t eventNr, Double_t b, Double_t phi, Int_t nes,
40 Int_t stepNr, Double_t stepT);
41 inline void SetEventNr(Int_t eventNr) {fEventNr = eventNr;}
42 inline void SetB (Double_t b) {fB = b;}
43 inline void SetPhi (Double_t phi) {fPhi = phi;}
44 inline void SetNes (Int_t nes) {fNes = nes;}
45 inline void SetStepNr (Int_t stepNr) {fStepNr = stepNr;}
46 inline void SetStepT (Double_t stepT) {fStepT = stepT;}
47 void AddParticle(Int_t index, Int_t pdg, Int_t status,
48 Int_t parent, Int_t parentDecay,
49 Int_t mate, Int_t decay, Int_t child[2],
50 Double_t px, Double_t py, Double_t pz, Double_t e,
51 Double_t x, Double_t y, Double_t z, Double_t t,
52 Double_t weight);
53 void AddParticle(Int_t index, Int_t pdg, Int_t status,
54 Int_t parent, Int_t parentDecay,
55 Int_t mate, Int_t decay, Int_t child[2],
56 TLorentzVector mom, TLorentzVector pos,
57 Double_t weight);
58 void AddParticle(const UParticle &particle);
59 using TObject::Clear;
60 void Clear(const Option_t * = NULL);
61 void RemoveAt(Int_t i);
62
64};
65
66
67#endif
double pz
double px
double py
void SetNes(Int_t nes)
Definition UEvent.h:44
void SetPhi(Double_t phi)
Definition UEvent.h:43
Int_t GetEventNr() const
Definition UEvent.h:30
void AddParticle(Int_t index, Int_t pdg, Int_t status, Int_t parent, Int_t parentDecay, Int_t mate, Int_t decay, Int_t child[2], Double_t px, Double_t py, Double_t pz, Double_t e, Double_t x, Double_t y, Double_t z, Double_t t, Double_t weight)
Definition UEvent.cc:107
void RemoveAt(Int_t i)
Definition UEvent.cc:175
Int_t GetNpa() const
Definition UEvent.h:36
void SetParameters(Int_t eventNr, Double_t b, Double_t phi, Int_t nes, Int_t stepNr, Double_t stepT)
Definition UEvent.cc:150
virtual ~UEvent()
Definition UEvent.cc:55
Double_t GetPhi() const
Definition UEvent.h:32
UEvent()
Definition UEvent.cc:21
void SetStepNr(Int_t stepNr)
Definition UEvent.h:45
Int_t GetNes() const
Definition UEvent.h:33
Double_t GetStepT() const
Definition UEvent.h:35
TClonesArray * GetParticleList() const
Definition UEvent.h:37
void SetB(Double_t b)
Definition UEvent.h:42
void Clear(const Option_t *=NULL)
Definition UEvent.cc:165
Int_t GetStepNr() const
Definition UEvent.h:34
UParticle * GetParticle(Int_t index) const
Definition UEvent.cc:91
ClassDef(UEvent, 1)
void SetStepT(Double_t stepT)
Definition UEvent.h:46
void SetEventNr(Int_t eventNr)
Definition UEvent.h:41
Double_t GetB() const
Definition UEvent.h:31
my_reaction Print()
PPDGPlugin * pdg
PDalitzDistribution * decay