FairShip
Loading...
Searching...
No Matches
Pythia8Generator Class Reference

#include <Pythia8Generator.h>

Inheritance diagram for Pythia8Generator:
[legend]
Collaboration diagram for Pythia8Generator:
[legend]

Public Member Functions

 Pythia8Generator ()
 ~Pythia8Generator () override
Bool_t ReadEvent (FairPrimaryGenerator *) override
Bool_t Init () override
Bool_t Init (const char *inFile) override
Bool_t Init (const char *inFile, int startEvent) override
void SetMom (Double_t mom)
void SetId (Double_t id)
void UseRandom1 ()
void UseRandom3 ()
void SetfFDs (Double_t z)
void SetTarget (TString s, Double_t x, Double_t y)
void SetTargetCoordinates (Double_t start_z, Double_t end_z)
Int_t nrOfRetries ()
virtual Bool_t Init (const std::vector< std::string > &inFiles, int startNumber)
virtual Bool_t Init (const std::vector< std::string > &inFiles)
Public Member Functions inherited from SHiP::Generator
 Generator ()=default
 ~Generator () override
virtual void UseExternalFile (std::string x, Int_t i)
virtual void UseExternalFile (std::vector< std::string > &inFiles, Int_t i)
void SetMaxTheta (Double_t thetaX, Double_t thetaY)
Int_t nrOfGeoRejections () const
Long64_t GetCounter (const std::string &name) const
void SetCounter (const std::string &name, Long64_t value)
void IncrementCounter (const std::string &name, Long64_t delta=1)

Protected Attributes

Double_t fMom
Int_t fId
Bool_t fUseRandom1
Bool_t fUseRandom3
Float_t hpx [1]
Float_t hpy [1]
Float_t hpz [1]
Float_t hE [1]
Float_t hM [1]
Float_t mpx [1]
Float_t mpy [1]
Float_t mpz [1]
Float_t mE [1]
Float_t hid [1]
Float_t mid [1]
Float_t ck [1]
Float_t ancestors [16]
Float_t subprocCodes [16]
Int_t fNevents
Int_t fn
Int_t fShipEventNr
TFile * fInputFile
FairLogger * fLogger
 pointer to a file
TTree * fTree
 don't make it persistent, magic ROOT command
Pythia8::Pythia * fPythia
Double_t fFDs
Int_t fnRetries
TString targetName
Double_t xOff
Double_t yOff
Double_t start [3]
Double_t end [3]
Double_t bparam
Double_t mparam [10]
Double_t startZ
Double_t endZ
Bool_t targetFromGeometry
Double_t maxCrossSection
Protected Attributes inherited from SHiP::Generator
std::optional< std::string > fextFile
Int_t firstEvent = 0
Double_t fMaxThetaX = 0
Double_t fMaxThetaY = 0
bool fUseVesselAcceptance = false
Int_t fnGeoRejects = 0
std::unordered_map< std::string, int64_t > fCounters

Private Attributes

std::shared_ptr< Pythia8::RndmEngine > fRandomEngine

Additional Inherited Members

Protected Member Functions inherited from SHiP::Generator
bool IsInVesselAcceptance (Double_t px, Double_t py, Double_t pz) const

Detailed Description

Definition at line 20 of file Pythia8Generator.h.

Constructor & Destructor Documentation

◆ Pythia8Generator()

Pythia8Generator::Pythia8Generator ( )

default constructor

Definition at line 26 of file Pythia8Generator.cxx.

26 {
27 fUseRandom1 = kFALSE;
28 fUseRandom3 = kTRUE;
29 fId = 2212; // proton
30 fMom = 400; // proton
31 fFDs = 7.7 / 10.4; // correction for Pythia6 to match measured Ds production
32 fInputFile = nullptr;
33 targetName = "";
34 xOff = 0;
35 yOff = 0;
36 targetFromGeometry = kFALSE;
37 fPythia = new Pythia8::Pythia();
38}
Pythia8::Pythia * fPythia

◆ ~Pythia8Generator()

Pythia8Generator::~Pythia8Generator ( )
overridedefault

destructor

Member Function Documentation

◆ Init() [1/5]

Bool_t Pythia8Generator::Init ( )
override

Definition at line 42 of file Pythia8Generator.cxx.

42 {
43 if (fUseRandom1) fRandomEngine = std::make_shared<PyTr1Rng>();
44 if (fUseRandom3) fRandomEngine = std::make_shared<PyTr3Rng>();
45 if (fextFile) {
46 if (firstEvent < 0) {
47 LOG(error) << "Pythia8Generator: firstEvent must be >= 0, got "
48 << firstEvent;
49 return kFALSE;
50 }
51 fInputFile = TFile::Open(fextFile->c_str(), "READ");
52 LOG(info) << "Open external file with charm or beauty hadrons: "
53 << *fextFile;
54 if (!fInputFile) {
55 LOG(error) << "Pythia8Generator: error opening input file " << *fextFile;
56 delete fInputFile;
57 fInputFile = nullptr;
58 return kFALSE;
59 }
60 fTree = fInputFile->Get<TTree>("pythia6");
61 if (!fTree) {
62 LOG(error) << "Pythia8Generator: cannot find tree pythia6 in file "
63 << *fextFile;
64 fInputFile->Close();
65 delete fInputFile;
66 fInputFile = nullptr;
67 return kFALSE;
68 }
69 fNevents = fTree->GetEntries();
70 if (firstEvent >= fNevents) {
71 LOG(error) << "Pythia8Generator: firstEvent " << firstEvent
72 << " is out of range for " << fNevents << " entries";
73 fInputFile->Close();
74 delete fInputFile;
75 fInputFile = nullptr;
76 fTree = nullptr;
77 return kFALSE;
78 }
79 fn = firstEvent;
80 bool ok = true;
81 ok &= (fTree->SetBranchAddress("id", &hid) >= 0);
82 ok &= (fTree->SetBranchAddress("px", &hpx) >= 0);
83 ok &= (fTree->SetBranchAddress("py", &hpy) >= 0);
84 ok &= (fTree->SetBranchAddress("pz", &hpz) >= 0);
85 ok &= (fTree->SetBranchAddress("E", &hE) >= 0);
86 ok &= (fTree->SetBranchAddress("M", &hM) >= 0);
87 ok &= (fTree->SetBranchAddress("mid", &mid) >= 0);
88 ok &= (fTree->SetBranchAddress("mpx", &mpx) >= 0);
89 ok &= (fTree->SetBranchAddress("mpy", &mpy) >= 0);
90 ok &= (fTree->SetBranchAddress("mpz", &mpz) >= 0);
91 ok &= (fTree->SetBranchAddress("mE", &mE) >= 0);
92 if (!ok) {
93 LOG(error)
94 << "Pythia8Generator: failed to bind one or more required branches";
95 fInputFile->Close();
96 delete fInputFile;
97 fInputFile = nullptr;
98 fTree = nullptr;
99 return kFALSE;
100 }
101 if (fTree->GetBranch("k")) {
102 fTree->SetBranchAddress("k", &ck);
103 if (fTree->GetBranch("a0")) {
104 for (Int_t i = 0; i < 16; i++) {
105 TString na = "a";
106 na += i;
107 fTree->SetBranchAddress(na, &(ancestors[i]));
108 TString ns = "s";
109 ns += i;
110 fTree->SetBranchAddress(ns, &(subprocCodes[i]));
111 }
112 }
113 } else {
114 ck[0] = 1;
115 subprocCodes[0] = 88;
116 ancestors[0] = 2212;
117 }
118 fPythia->readString("ProcessLevel:all = off");
119 // find all long lived particles in pythia
120 Int_t n = 1;
121 while (n != 0) {
122 n = fPythia->particleData.nextId(n);
123 std::shared_ptr<Pythia8::ParticleDataEntry> p =
124 fPythia->particleData.particleDataEntryPtr(n);
125 if (p->tau0() > 1) {
126 std::string particle = std::to_string(n) + ":mayDecay = false";
127 fPythia->readString(particle);
128 LOGF(info, "Made %s stable for Pythia, should decay in Geant4",
129 p->name().c_str());
130 }
131 }
132 } else {
133 fPythia->setRndmEnginePtr(fRandomEngine);
134 fPythia->settings.mode("Beams:idA", fId);
135 fPythia->settings.mode("Beams:idB", 2212);
136 fPythia->settings.mode("Beams:frameType", 2);
137 fPythia->settings.parm("Beams:eA", fMom); // codespell:ignore parm
138 fPythia->settings.parm("Beams:eB", 0.); // codespell:ignore parm
139 }
140 fPythia->init();
141 if (targetFromGeometry) {
142 // Use geometry-based coordinates passed from run_simScript.py
143 start[0] = xOff;
144 start[1] = yOff;
145 start[2] = startZ;
146 end[0] = xOff;
147 end[1] = yOff;
148 end[2] = endZ;
149 LOG(info)
150 << "Pythia8Generator: Using geometry-based target coordinates startZ="
151 << startZ << " endZ=" << endZ;
152 // find maximum interaction length
155 } else if (targetName != "") {
156 // Fallback to fragile TGeo navigation for backward compatibility
157 TGeoVolume* top = gGeoManager->GetTopVolume();
158 TGeoNode* target = top->FindNode(targetName);
159 if (!target) {
160 LOGF(error, "target not found, %s, program will crash",
161 targetName.Data());
162 }
163 Double_t z_middle = target->GetMatrix()->GetTranslation()[2];
164 TGeoBBox* sha = dynamic_cast<TGeoBBox*>(target->GetVolume()->GetShape());
165 startZ = z_middle - sha->GetDZ();
166 endZ = z_middle + sha->GetDZ();
167 start[0] = xOff;
168 start[1] = yOff;
169 start[2] = startZ;
170 end[0] = xOff;
171 end[1] = yOff;
172 end[2] = endZ;
173 // find maximum interaction length
176 }
177 return kTRUE;
178}
Double_t mparam[10]
Float_t subprocCodes[16]
Float_t ancestors[16]
TTree * fTree
don't make it persistent, magic ROOT command
std::shared_ptr< Pythia8::RndmEngine > fRandomEngine
std::optional< std::string > fextFile
Definition Generator.h:76
int i
Definition ShipAna.py:108
float ns
Definition hepunit.py:96
double MeanMaterialBudget(std::span< const double, 3 > start, std::span< const double, 3 > end, std::span< double, 10 > mparam)

◆ Init() [2/5]

Bool_t Pythia8Generator::Init ( const char * inFile)
inlineoverridevirtual

Implements SHiP::Generator.

Definition at line 33 of file Pythia8Generator.h.

33{ return Init(inFile, 0); };
Bool_t Init() override

◆ Init() [3/5]

Bool_t Pythia8Generator::Init ( const char * inFile,
int startEvent )
inlineoverridevirtual

Implements SHiP::Generator.

Definition at line 35 of file Pythia8Generator.h.

35 {
36 LOG(warning) << "Init with files not implemented for Pythia8Generator. "
37 "Using default Init() instead";
38 return Init();
39 };

◆ Init() [4/5]

virtual Bool_t SHiP::Generator::Init ( const std::vector< std::string > & inFiles)
inlinevirtual

Reimplemented from SHiP::Generator.

Definition at line 33 of file Generator.h.

33 {
34 LOG(warning) << "Multiple input files not implemented for this generator "
35 "- only taking the first!";
36 return Init(inFiles.at(0).c_str(), 0);
37 };

◆ Init() [5/5]

virtual Bool_t SHiP::Generator::Init ( const std::vector< std::string > & inFiles,
int startNumber )
inlinevirtual

Reimplemented from SHiP::Generator.

Definition at line 27 of file Generator.h.

28 {
29 LOG(warning) << "Multiple input files not implemented for this generator "
30 "- only taking the first!";
31 return Init(inFiles.at(0).c_str(), startNumber);
32 };

◆ nrOfRetries()

Int_t Pythia8Generator::nrOfRetries ( )
inline

Definition at line 63 of file Pythia8Generator.h.

63{ return fnRetries; };

◆ ReadEvent()

Bool_t Pythia8Generator::ReadEvent ( FairPrimaryGenerator * cpg)
override

public method ReadEvent

Definition at line 186 of file Pythia8Generator.cxx.

186 {
187 Double_t x, y, z, px, py, pz, dl, e, tof;
188 Int_t im, id, key;
189 fnRetries = 0;
190 if (!fTree) {
191 LOG(fatal) << "Pythia8Generator::ReadEvent: no external input tree is set; "
192 "standalone generation is not implemented. Call "
193 "UseExternalFile() before generating.";
194 return kFALSE;
195 }
196 // take charm hadrons from external file
197 // correct eventually for too much primary Ds produced by pythia6
198 key = 0;
199 bool l = true;
200 while (l) {
201 if (fn == fNevents) {
202 LOG(warning) << "End of input file. Rewind.";
203 }
204 fTree->GetEntry((fn + 1) % fNevents);
205 // check that this and next entry is charm, otherwise continue reading
206 l = false;
207 if (static_cast<int>(mE[0]) == 0) {
208 l = true;
209 }
210 bool isDs = false;
211 if (static_cast<int>(fabs(hid[0])) == 431) {
212 isDs = true;
213 }
214 fTree->GetEntry(fn % fNevents);
215 if (static_cast<int>(mE[0]) == 0) {
216 l = true;
217 }
218 fn++;
219 if (static_cast<int>(fabs(hid[0])) == 431 || isDs) {
220 Double_t rnr = gRandom->Uniform(0, 1);
221 if (rnr > fFDs) {
222 l = true;
223 fn++;
224 }
225 }
226 }
227 Double_t zinter = 0;
228 if (targetFromGeometry || targetName != "") {
229 // calculate primary proton interaction point:
230 // loop over trajectory between start and end to pick an interaction point,
231 // copied from GenieGenerator and adapted to hadrons
232 Double_t prob2int = -1.;
233 Double_t rndm = 0.;
234 Double_t sigma;
235 Double_t zinterStart = start[2];
236 // simulate more downstream interaction points for interactions down in the
237 // cascade
238 Int_t nInter = ck[0];
239 if (nInter > 16) {
240 nInter = 16;
241 }
242 for (Int_t nI = 0; nI < nInter; nI++) {
243 // if (!subprocCodes[nI]<90){continue;} //if process is not inelastic, go
244 // to next. Changed by taking now collision length
245 prob2int = -1.;
246 Double_t intLengthFactor = 1; // for nucleons
247 if (TMath::Abs(ancestors[nI]) < 1000) {
248 intLengthFactor = 1.16;
249 } // for mesons
250 // Fe: nuclear /\ 16.77 cm pion 20.42 cm f=1.22
251 // W: nuclear /\ 9.946 cm pion 11.33 cm f=1.14
252 // Mo: nuclear /\ 15.25 cm pion 17.98 cm f=1.18
253 // The material is counted from the previous interaction point: counting
254 // it from the start of the target only multiplies every trial by the
255 // same survival probability, which leaves the distribution unchanged but
256 // makes the acceptance vanish for interactions deep in the cascade.
257 const Double_t from[3] = {xOff, yOff, zinterStart};
258 constexpr int kMaxTries = 100000;
259 int tries = 0;
260 while (prob2int < rndm && tries < kMaxTries) {
261 ++tries;
262 // place x,y,z uniform along path
263 zinter = gRandom->Uniform(zinterStart, end[2]);
264 Double_t point[3] = {xOff, yOff, zinter};
266 Double_t interLength =
267 mparam[8] * intLengthFactor *
268 1.7; // 1.7 = interaction length / collision length from PDG Tables
269 TGeoNode* node = gGeoManager->FindNode(point[0], point[1], point[2]);
270 TGeoMaterial* mat = nullptr;
271 if (node && !gGeoManager->IsOutside()) {
272 mat = node->GetVolume()->GetMaterial();
273 // no need to multiply with intLengthFactor, it cancels below
275 prob2int = TMath::Exp(-interLength) * sigma / maxCrossSection;
276 } else {
277 prob2int = 0.;
278 }
279 rndm = gRandom->Uniform(0., 1.);
280 }
281 if (prob2int < rndm) {
282 // no material left downstream: keep the previous interaction point
283 zinter = zinterStart;
284 break;
285 }
286 zinterStart = zinter;
287 }
288 zinter = zinter * shipgen::kPythiaLengthPerCm; // to Pythia8 units
289 }
290 for (Int_t c = 0; c < 2; c++) {
291 if (c > 0) {
292 fTree->GetEntry(fn % fNevents);
293 fn++;
294 }
295 fPythia->event.reset();
296 id = static_cast<Int_t>(hid[0]);
297 fPythia->event.append(id, 1, 0, 0, hpx[0], hpy[0], hpz[0], hE[0], hM[0], 0.,
298 9.);
299 // simulate displaced vertex, Pythia8 will not do it
300 Double_t tau0 = fPythia->particleData.tau0(id); // ctau in mm
301 dl = gRandom->Exp(tau0) / hM[0]; // mm/GeV
302 fPythia->next();
303 Int_t addedParticles = 0;
304 if (c == 0) {
305 // original particle responsible for interaction, "mother of charm" from
306 // external file
307 px = mpx[0];
308 py = mpy[0];
309 pz = mpz[0];
310 x = 0.;
311 y = 0.;
312 z = zinter;
313 id = mid[0];
314 cpg->AddTrack(id, px, py, pz, PythiaLengthToCm(x), PythiaLengthToCm(y),
315 PythiaLengthToCm(z), -1, false);
316 addedParticles += 1;
317 }
318 for (Int_t ii = 1; ii < fPythia->event.size(); ii++) {
319 id = fPythia->event[ii].id();
320 Bool_t wanttracking = false;
321 if (fPythia->event[ii].isFinal()) {
322 wanttracking = true;
323 }
324 if (ii > 1) {
325 z = fPythia->event[ii].zProd() + dl * fPythia->event[1].pz() + zinter;
326 x = fPythia->event[ii].xProd() + dl * fPythia->event[1].px();
327 y = fPythia->event[ii].yProd() + dl * fPythia->event[1].py();
328 // the displaced vertex adds the flight time dl * E (mm/c)
329 tof = PythiaTimeToS(fPythia->event[ii].tProd()) +
330 PythiaTimeToS(dl * fPythia->event[1].e());
331 } else {
332 z = fPythia->event[ii].zProd() + zinter;
333 x = fPythia->event[ii].xProd();
334 y = fPythia->event[ii].yProd();
335 tof = PythiaTimeToS(fPythia->event[ii].tProd());
336 }
337 pz = fPythia->event[ii].pz();
338 px = fPythia->event[ii].px();
339 py = fPythia->event[ii].py();
340 e = fPythia->event[ii].e();
341 im = fPythia->event[ii].mother1() + key;
342
343 if (ii == 1) {
344 im = 0;
345 }
346 cpg->AddTrack(id, px, py, pz, PythiaLengthToCm(x), PythiaLengthToCm(y),
347 PythiaLengthToCm(z), im, wanttracking, e, tof, 1.);
348 addedParticles += 1;
349 }
350 key += addedParticles - 1; // pythia counts from 1
351 }
352 // now the underlying event
353 bool lx = true;
354 while (lx) {
355 fTree->GetEntry(fn % fNevents);
356 lx = false;
357 if (mE[0] == 0) {
358 lx = true;
359 fn++;
360 cpg->AddTrack((Int_t)hid[0], hpx[0], hpy[0], hpz[0],
361 PythiaLengthToCm(mpx[0] + fPythia->event[0].xProd()),
362 PythiaLengthToCm(mpy[0] + fPythia->event[0].yProd()),
363 PythiaLengthToCm(mpz[0] + fPythia->event[0].zProd()) +
364 PythiaLengthToCm(zinter),
365 -1, true);
366 // mpx,mpy,mpz are the vertex coordinates with respect to charm hadron,
367 // first particle in Pythia is (system)
368 }
369 }
370
371 return kTRUE;
372}
constexpr double PythiaTimeToS(double t)
A Pythia8 time (mm/c) in VMC units (s).
Definition PythiaUnits.h:20
constexpr double PythiaLengthToCm(double x)
A Pythia8 position (mm) in FairShip units (cm).
Definition PythiaUnits.h:18
c
Definition hnl.py:116
double NuclearCrossSection_mbarn(const TGeoMaterial &material)
constexpr double kPythiaLengthPerCm
Pythia8 lengths are in mm, FairShip lengths in cm.
Definition PythiaUnits.h:13

◆ SetfFDs()

void Pythia8Generator::SetfFDs ( Double_t z)
inline

Definition at line 52 of file Pythia8Generator.h.

52{ fFDs = z; };

◆ SetId()

void Pythia8Generator::SetId ( Double_t id)
inline

Definition at line 42 of file Pythia8Generator.h.

42{ fId = id; };

◆ SetMom()

void Pythia8Generator::SetMom ( Double_t mom)
inline

Definition at line 41 of file Pythia8Generator.h.

41{ fMom = mom; };

◆ SetTarget()

void Pythia8Generator::SetTarget ( TString s,
Double_t x,
Double_t y )
inline

Definition at line 53 of file Pythia8Generator.h.

53 {
54 targetName = std::move(s);
55 xOff = x;
56 yOff = y;
57 };

◆ SetTargetCoordinates()

void Pythia8Generator::SetTargetCoordinates ( Double_t start_z,
Double_t end_z )
inline

Definition at line 58 of file Pythia8Generator.h.

58 {
59 startZ = start_z;
60 endZ = end_z;
61 targetFromGeometry = true;
62 };

◆ UseRandom1()

void Pythia8Generator::UseRandom1 ( )
inline

Definition at line 43 of file Pythia8Generator.h.

43 {
44 fUseRandom1 = kTRUE;
45 fUseRandom3 = kFALSE;
46 };

◆ UseRandom3()

void Pythia8Generator::UseRandom3 ( )
inline

Definition at line 47 of file Pythia8Generator.h.

47 {
48 fUseRandom1 = kFALSE;
49 fUseRandom3 = kTRUE;
50 };

Member Data Documentation

◆ ancestors

Float_t Pythia8Generator::ancestors[16]
protected

Definition at line 75 of file Pythia8Generator.h.

◆ bparam

Double_t Pythia8Generator::bparam
protected

Definition at line 88 of file Pythia8Generator.h.

◆ ck

Float_t Pythia8Generator::ck[1]
protected

Definition at line 74 of file Pythia8Generator.h.

◆ end

Double_t Pythia8Generator::end[3]
protected

Definition at line 87 of file Pythia8Generator.h.

◆ endZ

Double_t Pythia8Generator::endZ
protected

Definition at line 91 of file Pythia8Generator.h.

◆ fFDs

Double_t Pythia8Generator::fFDs
protected

Definition at line 81 of file Pythia8Generator.h.

◆ fId

Int_t Pythia8Generator::fId
protected

Definition at line 70 of file Pythia8Generator.h.

◆ fInputFile

TFile* Pythia8Generator::fInputFile
protected

Definition at line 77 of file Pythia8Generator.h.

◆ fLogger

FairLogger* Pythia8Generator::fLogger
protected

pointer to a file

Definition at line 78 of file Pythia8Generator.h.

◆ fMom

Double_t Pythia8Generator::fMom
protected

Definition at line 69 of file Pythia8Generator.h.

◆ fn

Int_t Pythia8Generator::fn
protected

Definition at line 76 of file Pythia8Generator.h.

◆ fNevents

Int_t Pythia8Generator::fNevents
protected

Definition at line 76 of file Pythia8Generator.h.

◆ fnRetries

Int_t Pythia8Generator::fnRetries
protected

Definition at line 82 of file Pythia8Generator.h.

◆ fPythia

Pythia8::Pythia* Pythia8Generator::fPythia
protected

Definition at line 80 of file Pythia8Generator.h.

◆ fRandomEngine

std::shared_ptr<Pythia8::RndmEngine> Pythia8Generator::fRandomEngine
private

Definition at line 66 of file Pythia8Generator.h.

◆ fShipEventNr

Int_t Pythia8Generator::fShipEventNr
protected

Definition at line 76 of file Pythia8Generator.h.

◆ fTree

TTree* Pythia8Generator::fTree
protected

don't make it persistent, magic ROOT command

Definition at line 79 of file Pythia8Generator.h.

◆ fUseRandom1

Bool_t Pythia8Generator::fUseRandom1
protected

Definition at line 71 of file Pythia8Generator.h.

◆ fUseRandom3

Bool_t Pythia8Generator::fUseRandom3
protected

Definition at line 72 of file Pythia8Generator.h.

◆ hE

Float_t Pythia8Generator::hE[1]
protected

Definition at line 73 of file Pythia8Generator.h.

◆ hid

Float_t Pythia8Generator::hid[1]
protected

Definition at line 74 of file Pythia8Generator.h.

◆ hM

Float_t Pythia8Generator::hM[1]
protected

Definition at line 73 of file Pythia8Generator.h.

◆ hpx

Float_t Pythia8Generator::hpx[1]
protected

Definition at line 73 of file Pythia8Generator.h.

◆ hpy

Float_t Pythia8Generator::hpy[1]
protected

Definition at line 73 of file Pythia8Generator.h.

◆ hpz

Float_t Pythia8Generator::hpz[1]
protected

Definition at line 73 of file Pythia8Generator.h.

◆ maxCrossSection

Double_t Pythia8Generator::maxCrossSection
protected

Definition at line 93 of file Pythia8Generator.h.

◆ mE

Float_t Pythia8Generator::mE[1]
protected

Definition at line 73 of file Pythia8Generator.h.

◆ mid

Float_t Pythia8Generator::mid[1]
protected

Definition at line 74 of file Pythia8Generator.h.

◆ mparam

Double_t Pythia8Generator::mparam[10]
protected

Definition at line 89 of file Pythia8Generator.h.

◆ mpx

Float_t Pythia8Generator::mpx[1]
protected

Definition at line 73 of file Pythia8Generator.h.

◆ mpy

Float_t Pythia8Generator::mpy[1]
protected

Definition at line 73 of file Pythia8Generator.h.

◆ mpz

Float_t Pythia8Generator::mpz[1]
protected

Definition at line 73 of file Pythia8Generator.h.

◆ start

Double_t Pythia8Generator::start[3]
protected

Definition at line 86 of file Pythia8Generator.h.

◆ startZ

Double_t Pythia8Generator::startZ
protected

Definition at line 90 of file Pythia8Generator.h.

◆ subprocCodes

Float_t Pythia8Generator::subprocCodes[16]
protected

Definition at line 75 of file Pythia8Generator.h.

◆ targetFromGeometry

Bool_t Pythia8Generator::targetFromGeometry
protected

Definition at line 92 of file Pythia8Generator.h.

◆ targetName

TString Pythia8Generator::targetName
protected

Definition at line 83 of file Pythia8Generator.h.

◆ xOff

Double_t Pythia8Generator::xOff
protected

Definition at line 84 of file Pythia8Generator.h.

◆ yOff

Double_t Pythia8Generator::yOff
protected

Definition at line 85 of file Pythia8Generator.h.


The documentation for this class was generated from the following files: