8 #include "FairLogger.h"
20 : TNamed(
"run",
"Run Header")
56 : TNamed(
"run",
"Run Header")
57 , fGenerator(generator)
72 , fNEvents(nEvents) {}
86 cout <<
"--------------------------------------------------" << endl
87 <<
"-I- Run Header -I-" << endl
91 <<
"Projectile mass : " <<
fAProj << endl
92 <<
"Projectile charge : " <<
fZProj << endl
93 <<
"Projectile momentum (AGeV/c) : " <<
fPProj << endl
94 <<
"Target mass : " <<
fATarg << endl
95 <<
"Target charge : " <<
fZTarg << endl
96 <<
"Target momentum (AGeV/c) : " <<
fPTarg << endl
97 <<
"Minimal impact parameter (fm) : " <<
fBMin << endl
98 <<
"Maximal impact parameter (fm) : " <<
fBMax << endl
99 <<
"Impact parameter weightning : " <<
fBWeight << endl
100 <<
"Minimal azimuthal angle (rad) : " <<
fPhiMin << endl
101 <<
"Maximal azimuthal angle (rad) : " <<
fPhiMax << endl
102 <<
"Cross-section (mb) : " <<
fSigma << endl
103 <<
"Requested number of events : " <<
fNEvents << endl
104 <<
"--------------------------------------------------" << endl;
112 Double_t mProt = 0.938272029;
113 Double_t mNeut = 0.939565360;
114 Double_t mPion = 0.13957018;
124 cout <<
"Warning:: URun: Projectile mass " <<
fAProj <<
" not valid! "
134 Double_t mProt = 0.938272029;
135 Double_t mNeut = 0.939565360;
136 Double_t mPion = 0.13957018;
146 cout <<
"Warning:: URun: Target mass " <<
fATarg <<
" not valid! " << endl;
155 Double_t eSum = TMath::Sqrt(
fPTarg *
fPTarg + 0.938272029 * 0.938272029)
156 + TMath::Sqrt(
fPProj *
fPProj + 0.938272029 * 0.938272029);
158 Double_t ecm = TMath::Sqrt(eSum * eSum - pSum * pSum);
167 Double_t ecm = TMath::Sqrt(eSum * eSum - pSum * pSum);
187 return 1. / TMath::Sqrt(1. - betaCM * betaCM);