Doing collisions and input information. [message #13379] |
Fri, 20 April 2012 15:46 |
Raghav Kunnawalkam
Messages: 63 Registered: February 2012 Location: Stony Brook, New York
|
continuous participant |
From: *physics.sunysb.edu
|
|
Hi Guys
So now i have my detector (EIC) up and running and i started doing some collisions.
Ideally i would like to input a pythia file which has all the necessary primary information regarding particles and stuff. Is there a way for it to read a pythia file as a input for collisions?
Right now i am doing collisions like this:
FairBoxGenerator* boxGen1 = new FairBoxGenerator(11, 1); // 13 = muon; 1 = multipl.
boxGen1->SetXYZ(0., 0., 1200.); // mm o cm ??
boxGen1->SetPRange(-5.0,-5.0005); // GeV/c
boxGen1->SetPhiRange(0.,0.); // Azimuth angle range [degree]
boxGen1->SetThetaRange(0.,0.); // Polar angle in lab system range [degree]
boxGen1->SetCosTheta();
primGen->AddGenerator(boxGen1);
FairBoxGenerator* boxGen2 = new FairBoxGenerator(2212, 1); // 13 = muon; 1 = multipl.
boxGen2->SetXYZ(0., 0., -1200.); // mm o cm ??
boxGen2->SetPRange(5.0,5.0005); // GeV/c
boxGen2->SetPhiRange(0.,0.); // Azimuth angle range [degree]
boxGen2->SetThetaRange(0.,0.); // Polar angle in lab system range [degree]
boxGen2->SetCosTheta();
primGen->AddGenerator(boxGen2);
Is there a better way of doing it?
Thanks a lot
Cheers
Raghav
|
|
|
|
|
|