BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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
7class URun : public TNamed
8{
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 Int_t fBWeight; // Impact parameter weighting
23 // 0 for geometrical weights (bdb)
24 // 1 for flat distribution
25 Double32_t fPhiMin; // Event plane minimum angle (rad)
26 Double32_t fPhiMax; // Event plane maximum angle (rad)
27 Double32_t fSigma; // Cross-section (mb)
28 Int_t fNEvents; // Requested number of events
29
30 public:
31 URun();
32 URun(const char* generator,
33 const char* comment,
34 Int_t aProj,
35 Int_t zProj,
36 Double_t pProj,
37 Int_t aTarg,
38 Int_t zTarg,
39 Double_t pTarg,
40 Double_t bMin,
41 Double_t bMax,
42 Int_t bWeight,
43 Double_t phiMin,
44 Double_t phiMax,
45 Double_t sigma,
46 Int_t nEvents);
47 virtual ~URun();
48 void Print(Option_t* = "") const;
49 void GetGenerator(TString& generator) { generator = fGenerator; }
50 void GetComment(TString& comment) { comment = fComment; }
51 void GetDecayer(TString& decayer) { decayer = fDecayer; }
52 inline Int_t GetAProj() const { return fAProj; }
53 inline Int_t GetZProj() const { return fZProj; }
54 inline Double_t GetPProj() const { return fPProj; }
55 inline Int_t GetATarg() const { return fATarg; }
56 inline Int_t GetZTarg() const { return fZTarg; }
57 inline Double_t GetPTarg() const { return fPTarg; }
58 inline Double_t GetBMin() const { return fBMin; }
59 inline Double_t GetBMax() const { return fBMax; }
60 inline Int_t GetBWeight() const { return fBWeight; }
61 inline Double_t GetPhiMax() const { return fPhiMax; }
62 inline Double_t GetPhiMin() const { return fPhiMin; }
63 inline Double_t GetSigma() const { return fSigma; }
64 inline Int_t GetNEvents() const { return fNEvents; }
71 inline void SetNEvents(Int_t nEvents) { fNEvents = nEvents; }
72 inline void SetPProj(Double_t pProj) { fPProj = pProj; }
73 inline void SetPTarg(Double_t pTarg) { fPTarg = pTarg; }
74 inline void SetDecayer(TString decayer) { fDecayer = decayer; }
75
76 ClassDef(URun, 1);
77};
78
79#endif
int Int_t
double Double32_t
double Double_t
const char Option_t
#define ClassDef(name, id)
Definition URun.h:8
Double32_t fPhiMin
Definition URun.h:25
Int_t fBWeight
Definition URun.h:22
Double_t GetNNSqrtS()
Definition URun.cxx:150
Double_t GetBMax() const
Definition URun.h:59
Int_t GetNEvents() const
Definition URun.h:64
URun()
Definition URun.cxx:17
void SetDecayer(TString decayer)
Definition URun.h:74
Double_t GetGammaCM()
Definition URun.cxx:182
Int_t GetATarg() const
Definition URun.h:55
Int_t GetBWeight() const
Definition URun.h:60
Int_t GetAProj() const
Definition URun.h:52
Double_t GetSigma() const
Definition URun.h:63
virtual ~URun()
Definition URun.cxx:75
void GetDecayer(TString &decayer)
Definition URun.h:51
Int_t GetZTarg() const
Definition URun.h:56
TString fDecayer
Definition URun.h:13
Double_t GetTargetEnergy()
Definition URun.cxx:129
Double_t GetProjectileEnergy()
Definition URun.cxx:108
Double32_t fSigma
Definition URun.h:27
Double_t GetPhiMax() const
Definition URun.h:61
void SetNEvents(Int_t nEvents)
Definition URun.h:71
Double32_t fBMin
Definition URun.h:20
Double_t GetPhiMin() const
Definition URun.h:62
void SetPProj(Double_t pProj)
Definition URun.h:72
Double32_t fBMax
Definition URun.h:21
Double_t GetSqrtS()
Definition URun.cxx:161
TString fComment
Definition URun.h:12
Double32_t fPhiMax
Definition URun.h:26
void GetGenerator(TString &generator)
Definition URun.h:49
Int_t fATarg
Definition URun.h:17
Double_t GetPTarg() const
Definition URun.h:57
Double32_t fPProj
Definition URun.h:16
Int_t fAProj
Definition URun.h:14
Double32_t fPTarg
Definition URun.h:19
Int_t fZProj
Definition URun.h:15
Int_t GetZProj() const
Definition URun.h:53
void Print(Option_t *="") const
Definition URun.cxx:82
Int_t fZTarg
Definition URun.h:18
Int_t fNEvents
Definition URun.h:28
Double_t GetPProj() const
Definition URun.h:54
Double_t GetBetaCM()
Definition URun.cxx:172
Double_t GetBMin() const
Definition URun.h:58
void SetPTarg(Double_t pTarg)
Definition URun.h:73
TString fGenerator
Definition URun.h:11
void GetComment(TString &comment)
Definition URun.h:50