Pluto v6.3.0
Loading...
Searching...
No Matches
URun.h
Go to the documentation of this file.
1#ifndef URUN_H
2#define URUN_H
3
4#include "TNamed.h"
5#include "TString.h"
6
7
8class URun : public TNamed {
9
10 private:
11 TString fGenerator; // Generator description
12 TString fComment; // Run comment
13 TString fDecayer; // Decayer description
14 Int_t fAProj; // Projectile mass number
15 Int_t fZProj; // Projectile charge
16 Double32_t fPProj; // Projectile momentum per nucleon (GeV)
17 Int_t fATarg; // Target mass number
18 Int_t fZTarg; // Target charge
19 Double32_t fPTarg; // Target momentum per nucleon (GeV)
20 Double32_t fBMin; // Minimum impact parameter
21 Double32_t fBMax; // Maximum impact parameter
22
23 Int_t fBWeight;
24 // Impact parameter weighting
25 // 0 for geometrical weights (bdb)
26 // 1 for flat distribution
27
28 Double32_t fPhiMin; // Event plane minimum angle (rad)
29 Double32_t fPhiMax; // Event plane maximum angle (rad)
30 Double32_t fSigma; // Cross-section (mb)
31 Int_t fNEvents; // Requested number of events
32
33 public:
34 URun();
35 URun(const char *generator, const char *comment, Int_t aProj,
36 Int_t zProj, Double_t pProj, Int_t aTarg, Int_t zTarg,
37 Double_t pTarg, Double_t bMin, Double_t bMax, Int_t bWeight,
38 Double_t phiMin, Double_t phiMax, Double_t sigma, Int_t nEvents);
39 virtual ~URun();
40 using TNamed::Print;
41 void Print(Option_t *option = "");
42 void GetGenerator(TString& generator) {generator = fGenerator;}
43 void GetComment(TString& comment) {comment = fComment;}
44 void GetDecayer(TString& decayer) {decayer = fDecayer;}
45 inline Int_t GetAProj() const {return fAProj;}
46 inline Int_t GetZProj() const {return fZProj;}
47 inline Double_t GetPProj() const {return fPProj;}
48 inline Int_t GetATarg() const {return fATarg;}
49 inline Int_t GetZTarg() const {return fZTarg;}
50 inline Double_t GetPTarg() const {return fPTarg;}
51 inline Double_t GetBMin() const {return fBMin;}
52 inline Double_t GetBMax() const {return fBMax;}
53 inline Int_t GetBWeight() const {return fBWeight;}
54 inline Double_t GetPhiMax() const {return fPhiMax;}
55 inline Double_t GetPhiMin() const {return fPhiMin;}
56 inline Double_t GetSigma() const {return fSigma;}
57 inline Int_t GetNEvents() const {return fNEvents;}
58 Double_t GetSqrtS();
59 Double_t GetProjectileEnergy();
60 Double_t GetTargetEnergy();
61 Double_t GetBetaCM();
62 Double_t GetGammaCM();
63 inline void SetNEvents(Int_t nEvents) {fNEvents = nEvents;}
64 inline void SetPProj (Double_t pProj) {fPProj = pProj;}
65 inline void SetPTarg (Double_t pTarg) {fPTarg = pTarg;}
66 inline void SetDecayer(TString decayer) {fDecayer = decayer;}
67
69};
70
71
72#endif
Double_t GetBMax() const
Definition URun.h:52
Int_t GetNEvents() const
Definition URun.h:57
URun()
Definition URun.cc:18
void SetDecayer(TString decayer)
Definition URun.h:66
Double_t GetGammaCM()
Definition URun.cc:162
Int_t GetATarg() const
Definition URun.h:48
Int_t GetBWeight() const
Definition URun.h:53
Int_t GetAProj() const
Definition URun.h:45
Double_t GetSigma() const
Definition URun.h:56
virtual ~URun()
Definition URun.cc:60
void GetDecayer(TString &decayer)
Definition URun.h:44
Int_t GetZTarg() const
Definition URun.h:49
Double_t GetTargetEnergy()
Definition URun.cc:117
Double_t GetProjectileEnergy()
Definition URun.cc:95
Double_t GetPhiMax() const
Definition URun.h:54
void SetNEvents(Int_t nEvents)
Definition URun.h:63
Double_t GetPhiMin() const
Definition URun.h:55
void SetPProj(Double_t pProj)
Definition URun.h:64
ClassDef(URun, 1)
Double_t GetSqrtS()
Definition URun.cc:139
void GetGenerator(TString &generator)
Definition URun.h:42
Double_t GetPTarg() const
Definition URun.h:50
Int_t GetZProj() const
Definition URun.h:46
Double_t GetPProj() const
Definition URun.h:47
Double_t GetBetaCM()
Definition URun.cc:151
Double_t GetBMin() const
Definition URun.h:51
void SetPTarg(Double_t pTarg)
Definition URun.h:65
void GetComment(TString &comment)
Definition URun.h:43
my_reaction Print()