GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » GEANE: Propagate to Plane not implemented
Re: GEANE: Propagate to Plane not implemented [message #7422 is a reply to message #7418] Wed, 15 October 2008 19:00 Go to previous messageGo to previous message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *
Hi Tobias,
I had a look at the code and here is what I found:

1) in the task the fPro->PropagateFromPlane(startU, startV) is missing;

2) GEANE does not see any magnetic field since in the simulation macro runSimMvd.C the lines to save the magnetic field to the parameter file are missing.

After getting the RuntimeDataBase:
CbmRuntimeDb *rtdb=fRun->GetRuntimeDb();
Bool_t kParameterMerged=kTRUE;
CbmParRootFileIo* output=new CbmParRootFileIo(kParameterMerged);

These lines should be added:
PndMultiFieldPar* fieldPar = (PndMultiFieldPar*) rtdb->getContainer("PndMultiFieldPar");
if ( fField ) { fieldPar->SetParameters(fField); }

In this way GEANE can find the field.

I attach some results I got with this change:
res_withB and res_withoutB are the simple GEANE - MonteCarlo x coordinate; pull_withB and pull_withoutB are the pull distributions.

Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Materials and radiation lengths in pandaroot
Next Topic: PndFlatParticleGenerator
Goto Forum:

Current Time: Sun Jul 21 18:15:01 CEST 2024

Total time taken to generate the page: 0.00868 seconds