GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] problem with recoideal_complete.C
[FIXED] problem with recoideal_complete.C [message #16781] Mon, 09 June 2014 07:15 Go to next message
Ajay Kumar is currently offline  Ajay Kumar
Messages: 102
Registered: December 2011
Location: indore
continuous participant

From: 14.139.35*
Dear All,

I am simulating 10^5 events for the ppbar->D*+D*- and ppbar->Jpsi pi+ pi- channels. I have run the script for this job in bellow manner.

root -l -q sim_complete.C
root -l -q digi_complete.C
root -l -q recoideal_complete.C
root -l -q pid_complete.C

when simulation comes to recoideal_complete.C, it regularly print the following message on the screen and after long perid directly comes on the terminal without closing the output file.

could not convert GenfitTrack to PndTrack
could not convert GenfitTrack to PndTrack
could not convert GenfitTrack to PndTrack

*** ERTRGO *** Boundary loop: track 1 stack 0 NTMULT 0 MUON -
Precision now set to 0.250E-04


*** ERTRGO *** Boundary loop: track 1 stack 0 NTMULT 0 MUON -
Precision now set to 0.250E-04

could not convert GenfitTrack to PndTrack
could not convert GenfitTrack to PndTrack
could not convert GenfitTrack to PndTrack
could not convert GenfitTrack to PndTrack
could not convert GenfitTrack to PndTrack
could not convert GenfitTrack to PndTrack
could not convert GenfitTrack to PndTrack
could not convert GenfitTrack to PndTrack
could not convert GenfitTrack to PndTrack
could not convert GenfitTrack to PndTrack
could not convert GenfitTrack to PndTrack


Is something wrong with this code?
what should I do to get out from this problem?

Thanks & Regards
Ajay


AJAY KUMAR
Research scholar
Indian Institute of Technology Indore,Indore
Madhya Pradesh
India

[Updated on: Wed, 02 July 2014 16:47] by Moderator

Report message to a moderator

Re: problem with recoideal_complete.C [message #16782 is a reply to message #16781] Mon, 09 June 2014 07:55 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *ip71.fastwebnet.it
Are you using dec13 external packages?
Re: problem with recoideal_complete.C [message #16783 is a reply to message #16782] Mon, 09 June 2014 08:58 Go to previous messageGo to next message
Ajay Kumar is currently offline  Ajay Kumar
Messages: 102
Registered: December 2011
Location: indore
continuous participant

From: 14.139.35*
Hi Stefano,

I am using Apr13 external package and scrut14 release of pandaroot.


AJAY KUMAR
Research scholar
Indian Institute of Technology Indore,Indore
Madhya Pradesh
India
Re: problem with recoideal_complete.C [message #16784 is a reply to message #16781] Mon, 09 June 2014 09:01 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *ip71.fastwebnet.it
How often do they appear?
Are you running 10^5 events in a single file, or in several smaller files?
Re: problem with recoideal_complete.C [message #16785 is a reply to message #16784] Mon, 09 June 2014 09:11 Go to previous messageGo to next message
Ajay Kumar is currently offline  Ajay Kumar
Messages: 102
Registered: December 2011
Location: indore
continuous participant

From: 14.139.35*
Yes, I have run simulation for 10^5 events in a single file.
again I operated simulation for 10^4 events in a single file and it works for me.
How should I proceed now?


AJAY KUMAR
Research scholar
Indian Institute of Technology Indore,Indore
Madhya Pradesh
India
Re: problem with recoideal_complete.C [message #16786 is a reply to message #16785] Mon, 09 June 2014 09:20 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *ip71.fastwebnet.it
Simply you are running too many files, you saturate the memory of your PC and root exit w/o any message.
You should never run more than 10000 events in a single file, you can run many times the same macros and at the end merge the output.
Re: problem with recoideal_complete.C [message #16787 is a reply to message #16786] Mon, 09 June 2014 09:34 Go to previous messageGo to next message
Ajay Kumar is currently offline  Ajay Kumar
Messages: 102
Registered: December 2011
Location: indore
continuous participant

From: 14.139.35*
Thanks Stefano for your quick reply.

Can we chose the seed no. like 1,2,3..so on for different runs as we need millions events?

Is there any code exists to merge the output root files?
How to merge 100 root files with big size?


AJAY KUMAR
Research scholar
Indian Institute of Technology Indore,Indore
Madhya Pradesh
India
Re: problem with recoideal_complete.C [message #16788 is a reply to message #16787] Mon, 09 June 2014 09:38 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *ip71.fastwebnet.it
Yes, you can use the seed number is such a way.
I suggest to create final root files with only histograms, and after to merge such files. Not the output of reconstruction, i.e. pid_complete.root and so on, but only the histogram files.

How?
http://root.cern.ch/drupal/content/how-merge-histogram-files

We use this method for the analysis running on the grid.
Re: problem with recoideal_complete.C [message #16789 is a reply to message #16788] Mon, 09 June 2014 10:06 Go to previous messageGo to next message
Ajay Kumar is currently offline  Ajay Kumar
Messages: 102
Registered: December 2011
Location: indore
continuous participant

From: 14.139.35*
Ok, I should not try to add 100 pid_complete.root files to get the total 1 millions event. beside this I should run my analysis 100 times with each 10^4 events and create required histogram files and should add that 100 final histogram files.
was that your mean?

if I understood it correctly.

I need to know one more thing.

Why we need parameter file for our analysis?
code part is here.

FairParRootFileIo* parIO = new FairParRootFileIo();
parIO->open(inParFile);
rtdb->setFirstInput(parIO);
rtdb->setOutput(parIO);


Can we perform our analysis only with the output of reconstruction( pid_complete.root)?

Thanks in Advance.


AJAY KUMAR
Research scholar
Indian Institute of Technology Indore,Indore
Madhya Pradesh
India
Re: problem with recoideal_complete.C [message #16790 is a reply to message #16789] Mon, 09 June 2014 10:10 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *ip71.fastwebnet.it
Param files store the geometry and also the pid selections, you have to include it.
Previous Topic: [FIXED] trunk does not compile (GenfitTools/adapters)
Next Topic: Access to geometry with the 13.12 tag
Goto Forum:
  


Current Time: Fri Nov 22 13:32:16 CET 2024

Total time taken to generate the page: 0.00577 seconds