BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
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
class
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
; }
65
Double_t
GetSqrtS
();
66
Double_t
GetNNSqrtS
();
67
Double_t
GetProjectileEnergy
();
68
Double_t
GetTargetEnergy
();
69
Double_t
GetBetaCM
();
70
Double_t
GetGammaCM
();
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_t
int Int_t
Double32_t
double Double32_t
Double_t
double Double_t
Option_t
const char Option_t
ClassDef
#define ClassDef(name, id)
TNamed.h
TString.h
TNamed::TNamed
TNamed()
TString
URun
Definition
URun.h:8
URun::fPhiMin
Double32_t fPhiMin
Definition
URun.h:25
URun::fBWeight
Int_t fBWeight
Definition
URun.h:22
URun::GetNNSqrtS
Double_t GetNNSqrtS()
Definition
URun.cxx:150
URun::GetBMax
Double_t GetBMax() const
Definition
URun.h:59
URun::GetNEvents
Int_t GetNEvents() const
Definition
URun.h:64
URun::URun
URun()
Definition
URun.cxx:17
URun::SetDecayer
void SetDecayer(TString decayer)
Definition
URun.h:74
URun::GetGammaCM
Double_t GetGammaCM()
Definition
URun.cxx:182
URun::GetATarg
Int_t GetATarg() const
Definition
URun.h:55
URun::GetBWeight
Int_t GetBWeight() const
Definition
URun.h:60
URun::GetAProj
Int_t GetAProj() const
Definition
URun.h:52
URun::GetSigma
Double_t GetSigma() const
Definition
URun.h:63
URun::~URun
virtual ~URun()
Definition
URun.cxx:75
URun::GetDecayer
void GetDecayer(TString &decayer)
Definition
URun.h:51
URun::GetZTarg
Int_t GetZTarg() const
Definition
URun.h:56
URun::fDecayer
TString fDecayer
Definition
URun.h:13
URun::GetTargetEnergy
Double_t GetTargetEnergy()
Definition
URun.cxx:129
URun::GetProjectileEnergy
Double_t GetProjectileEnergy()
Definition
URun.cxx:108
URun::fSigma
Double32_t fSigma
Definition
URun.h:27
URun::GetPhiMax
Double_t GetPhiMax() const
Definition
URun.h:61
URun::SetNEvents
void SetNEvents(Int_t nEvents)
Definition
URun.h:71
URun::fBMin
Double32_t fBMin
Definition
URun.h:20
URun::GetPhiMin
Double_t GetPhiMin() const
Definition
URun.h:62
URun::SetPProj
void SetPProj(Double_t pProj)
Definition
URun.h:72
URun::fBMax
Double32_t fBMax
Definition
URun.h:21
URun::GetSqrtS
Double_t GetSqrtS()
Definition
URun.cxx:161
URun::fComment
TString fComment
Definition
URun.h:12
URun::fPhiMax
Double32_t fPhiMax
Definition
URun.h:26
URun::GetGenerator
void GetGenerator(TString &generator)
Definition
URun.h:49
URun::fATarg
Int_t fATarg
Definition
URun.h:17
URun::GetPTarg
Double_t GetPTarg() const
Definition
URun.h:57
URun::fPProj
Double32_t fPProj
Definition
URun.h:16
URun::fAProj
Int_t fAProj
Definition
URun.h:14
URun::fPTarg
Double32_t fPTarg
Definition
URun.h:19
URun::fZProj
Int_t fZProj
Definition
URun.h:15
URun::GetZProj
Int_t GetZProj() const
Definition
URun.h:53
URun::Print
void Print(Option_t *="") const
Definition
URun.cxx:82
URun::fZTarg
Int_t fZTarg
Definition
URun.h:18
URun::fNEvents
Int_t fNEvents
Definition
URun.h:28
URun::GetPProj
Double_t GetPProj() const
Definition
URun.h:54
URun::GetBetaCM
Double_t GetBetaCM()
Definition
URun.cxx:172
URun::GetBMin
Double_t GetBMin() const
Definition
URun.h:58
URun::SetPTarg
void SetPTarg(Double_t pTarg)
Definition
URun.h:73
URun::fGenerator
TString fGenerator
Definition
URun.h:11
URun::GetComment
void GetComment(TString &comment)
Definition
URun.h:50
generators
unigen_format
URun.h
Generated on
for BmnRoot by
1.17.0