GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Doing collisions and input information.
Doing collisions and input information. [message #13379] Fri, 20 April 2012 15:46 Go to next message
Raghav Kunnawalkam is currently offline  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
Re: Doing collisions and input information. [message #13380 is a reply to message #13379] Fri, 20 April 2012 15:57 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Pythia6 or Pythia8?
In Panda we can use both, but you need pandaroot classes.
Re: Doing collisions and input information. [message #13381 is a reply to message #13380] Fri, 20 April 2012 16:07 Go to previous messageGo to next message
Raghav Kunnawalkam is currently offline  Raghav Kunnawalkam
Messages: 63
Registered: February 2012
Location: Stony Brook, New York
continuous participant
From: *physics.sunysb.edu
I would assume pythia6, but it would not hurt to get both to work.

So when you say there are pandaroot classes, is there a way to implement those classes in fairroot. like maybe just creating those classes. I am also trying to create the magnetic field class in fairroot but without any success.

Also is there an example in pandaroot which does this (use pythia) ?
Re: Doing collisions and input information. [message #13382 is a reply to message #13381] Fri, 20 April 2012 16:40 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
In panda there is a presentation for Pythia8, and a wiki page for pythia6, which could help.
Previous Topic: Detector materials with radiation length not equal to zero
Next Topic: Implementing Magnetic field and Fast simulations in fairroot.
Goto Forum:
  


Current Time: Sat Dec 14 16:43:38 CET 2024

Total time taken to generate the page: 0.00636 seconds