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
12class URun : public TNamed {
13
14private:
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
34public:
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
69};
70
71
72#endif
Definition URun.h:12
Double32_t fPhiMin
Definition URun.h:29
Int_t fBWeight
Definition URun.h:26
Double_t GetNNSqrtS()
Definition URun.cxx:152
Double_t GetBMax() const
Definition URun.h:51
Int_t GetNEvents() const
Definition URun.h:56
URun()
Definition URun.cxx:23
void SetDecayer(TString decayer)
Definition URun.h:66
Double_t GetGammaCM()
Definition URun.cxx:186
Int_t GetATarg() const
Definition URun.h:47
Int_t GetBWeight() const
Definition URun.h:52
Int_t GetAProj() const
Definition URun.h:44
Double_t GetSigma() const
Definition URun.h:55
virtual ~URun()
Definition URun.cxx:73
void GetDecayer(TString &decayer)
Definition URun.h:43
Int_t GetZTarg() const
Definition URun.h:48
TString fDecayer
Definition URun.h:17
Double_t GetTargetEnergy()
Definition URun.cxx:130
Double_t GetProjectileEnergy()
Definition URun.cxx:108
Double32_t fSigma
Definition URun.h:31
Double_t GetPhiMax() const
Definition URun.h:53
void SetNEvents(Int_t nEvents)
Definition URun.h:63
Double32_t fBMin
Definition URun.h:24
Double_t GetPhiMin() const
Definition URun.h:54
void SetPProj(Double_t pProj)
Definition URun.h:64
ClassDef(URun, 1)
Double32_t fBMax
Definition URun.h:25
Double_t GetSqrtS()
Definition URun.cxx:163
TString fComment
Definition URun.h:16
Double32_t fPhiMax
Definition URun.h:30
void GetGenerator(TString &generator)
Definition URun.h:41
Int_t fATarg
Definition URun.h:21
Double_t GetPTarg() const
Definition URun.h:49
Double32_t fPProj
Definition URun.h:20
Int_t fAProj
Definition URun.h:18
Double32_t fPTarg
Definition URun.h:23
Int_t fZProj
Definition URun.h:19
Int_t GetZProj() const
Definition URun.h:45
void Print(Option_t *="") const
Definition URun.cxx:81
Int_t fZTarg
Definition URun.h:22
Int_t fNEvents
Definition URun.h:32
Double_t GetPProj() const
Definition URun.h:46
Double_t GetBetaCM()
Definition URun.cxx:175
Double_t GetBMin() const
Definition URun.h:50
void SetPTarg(Double_t pTarg)
Definition URun.h:65
TString fGenerator
Definition URun.h:15
void GetComment(TString &comment)
Definition URun.h:42