CbmRoot
Loading...
Searching...
No Matches
URun.h
Go to the documentation of this file.
1
/* Copyright (C) 2008-2016 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Florian Uhlig [committer] */
4
5
#ifndef URUN_H
6
#define URUN_H
7
8
#include "TNamed.h"
9
#include "TString.h"
10
11
12
class
URun
:
public
TNamed {
13
14
private
:
15
TString
fGenerator
;
// Generator description
16
TString
fComment
;
// Run comment
17
TString
fDecayer
;
// Decayer description
18
Int_t
fAProj
;
// Projectile mass number
19
Int_t
fZProj
;
// Projectile charge
20
Double32_t
fPProj
;
// Projectile momentum per nucleon (GeV)
21
Int_t
fATarg
;
// Target mass number
22
Int_t
fZTarg
;
// Target charge
23
Double32_t
fPTarg
;
// Target momentum per nucleon (GeV)
24
Double32_t
fBMin
;
// Minimum impact parameter
25
Double32_t
fBMax
;
// Maximum impact parameter
26
Int_t
fBWeight
;
// Impact parameter weighting
27
// 0 for geometrical weights (bdb)
28
// 1 for flat distribution
29
Double32_t
fPhiMin
;
// Event plane minimum angle (rad)
30
Double32_t
fPhiMax
;
// Event plane maximum angle (rad)
31
Double32_t
fSigma
;
// Cross-section (mb)
32
Int_t
fNEvents
;
// Requested number of events
33
34
public
:
35
URun
();
36
URun
(
const
char
* generator,
const
char
* comment, Int_t aProj, 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, Double_t phiMin, Double_t phiMax, Double_t sigma,
38
Int_t nEvents);
39
virtual
~URun
();
40
void
Print
(Option_t* =
""
)
const
;
41
void
GetGenerator
(TString& generator) { generator =
fGenerator
; }
42
void
GetComment
(TString& comment) { comment =
fComment
; }
43
void
GetDecayer
(TString& decayer) { decayer =
fDecayer
; }
44
inline
Int_t
GetAProj
()
const
{
return
fAProj
; }
45
inline
Int_t
GetZProj
()
const
{
return
fZProj
; }
46
inline
Double_t
GetPProj
()
const
{
return
fPProj
; }
47
inline
Int_t
GetATarg
()
const
{
return
fATarg
; }
48
inline
Int_t
GetZTarg
()
const
{
return
fZTarg
; }
49
inline
Double_t
GetPTarg
()
const
{
return
fPTarg
; }
50
inline
Double_t
GetBMin
()
const
{
return
fBMin
; }
51
inline
Double_t
GetBMax
()
const
{
return
fBMax
; }
52
inline
Int_t
GetBWeight
()
const
{
return
fBWeight
; }
53
inline
Double_t
GetPhiMax
()
const
{
return
fPhiMax
; }
54
inline
Double_t
GetPhiMin
()
const
{
return
fPhiMin
; }
55
inline
Double_t
GetSigma
()
const
{
return
fSigma
; }
56
inline
Int_t
GetNEvents
()
const
{
return
fNEvents
; }
57
Double_t
GetSqrtS
();
58
Double_t
GetNNSqrtS
();
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
68
ClassDef
(
URun
, 1);
69
};
70
71
72
#endif
URun
Definition
URun.h:12
URun::fPhiMin
Double32_t fPhiMin
Definition
URun.h:29
URun::fBWeight
Int_t fBWeight
Definition
URun.h:26
URun::GetNNSqrtS
Double_t GetNNSqrtS()
Definition
URun.cxx:152
URun::GetBMax
Double_t GetBMax() const
Definition
URun.h:51
URun::GetNEvents
Int_t GetNEvents() const
Definition
URun.h:56
URun::URun
URun()
Definition
URun.cxx:23
URun::SetDecayer
void SetDecayer(TString decayer)
Definition
URun.h:66
URun::GetGammaCM
Double_t GetGammaCM()
Definition
URun.cxx:186
URun::GetATarg
Int_t GetATarg() const
Definition
URun.h:47
URun::GetBWeight
Int_t GetBWeight() const
Definition
URun.h:52
URun::GetAProj
Int_t GetAProj() const
Definition
URun.h:44
URun::GetSigma
Double_t GetSigma() const
Definition
URun.h:55
URun::~URun
virtual ~URun()
Definition
URun.cxx:73
URun::GetDecayer
void GetDecayer(TString &decayer)
Definition
URun.h:43
URun::GetZTarg
Int_t GetZTarg() const
Definition
URun.h:48
URun::fDecayer
TString fDecayer
Definition
URun.h:17
URun::GetTargetEnergy
Double_t GetTargetEnergy()
Definition
URun.cxx:130
URun::GetProjectileEnergy
Double_t GetProjectileEnergy()
Definition
URun.cxx:108
URun::fSigma
Double32_t fSigma
Definition
URun.h:31
URun::GetPhiMax
Double_t GetPhiMax() const
Definition
URun.h:53
URun::SetNEvents
void SetNEvents(Int_t nEvents)
Definition
URun.h:63
URun::fBMin
Double32_t fBMin
Definition
URun.h:24
URun::GetPhiMin
Double_t GetPhiMin() const
Definition
URun.h:54
URun::SetPProj
void SetPProj(Double_t pProj)
Definition
URun.h:64
URun::ClassDef
ClassDef(URun, 1)
URun::fBMax
Double32_t fBMax
Definition
URun.h:25
URun::GetSqrtS
Double_t GetSqrtS()
Definition
URun.cxx:163
URun::fComment
TString fComment
Definition
URun.h:16
URun::fPhiMax
Double32_t fPhiMax
Definition
URun.h:30
URun::GetGenerator
void GetGenerator(TString &generator)
Definition
URun.h:41
URun::fATarg
Int_t fATarg
Definition
URun.h:21
URun::GetPTarg
Double_t GetPTarg() const
Definition
URun.h:49
URun::fPProj
Double32_t fPProj
Definition
URun.h:20
URun::fAProj
Int_t fAProj
Definition
URun.h:18
URun::fPTarg
Double32_t fPTarg
Definition
URun.h:23
URun::fZProj
Int_t fZProj
Definition
URun.h:19
URun::GetZProj
Int_t GetZProj() const
Definition
URun.h:45
URun::Print
void Print(Option_t *="") const
Definition
URun.cxx:81
URun::fZTarg
Int_t fZTarg
Definition
URun.h:22
URun::fNEvents
Int_t fNEvents
Definition
URun.h:32
URun::GetPProj
Double_t GetPProj() const
Definition
URun.h:46
URun::GetBetaCM
Double_t GetBetaCM()
Definition
URun.cxx:175
URun::GetBMin
Double_t GetBMin() const
Definition
URun.h:50
URun::SetPTarg
void SetPTarg(Double_t pTarg)
Definition
URun.h:65
URun::fGenerator
TString fGenerator
Definition
URun.h:15
URun::GetComment
void GetComment(TString &comment)
Definition
URun.h:42
sim
transport
generators
unigen
URun.h
Generated on Sun Dec 22 2024 23:04:19 for CbmRoot by
1.12.0