GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [WONTBEFIXED] Problem in simulating 100000 particles
[WONTBEFIXED] Problem in simulating 100000 particles [message #15520] Mon, 23 September 2013 10:07 Go to next message
Shyam Kumar is currently offline  Shyam Kumar
Messages: 78
Registered: September 2012
Location: Mumbai, Maharashtra India
continuous participant
From: *ext.kfa-juelich.de
Hi,
I am using the box generator for simulating the particles In one macro I have taken nEvents =50000 after running it terminates at around 10000 and in one lakh events(nEvents =100000) macro it terminates around 26000 Please tell me why this is happening and how can I generate 1 lakh events.
I am showing the ouput for 100000 events for middle and for last


**** GTRIGI: IEVENT= 26431 IDEVT= 26431 Random Seeds = 1733690142 0
[INFO ] FairPrimaryGenerator: (Event 26431) 5 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 265938.772715 (ns)
Error in <TArrayF::At>: index 548533 out of bounds (size: 544960, this: 0x33702c0)
Error in <TArrayF::At>: index 548664 out of bounds (size: 544960, this: 0x33702c0)
Error in <TArrayF::At>: index 548534 out of bounds (size: 544960, this: 0x33702c0)
Error in <TArrayF::At>: index 548665 out of bounds (size: 544960, this: 0x33702c0)
Error in <TArrayF::At>: index 548533 out of bounds (size: 544960, this: 0x33702e0)
Error in <TArrayF::At>: index 548664 out of bounds (size: 544960, this: 0x33702e0)
Error in <TArrayF::At>: index 548534 out of bounds (size: 544960, this: 0x33702e0)
Error in <TArrayF::At>: index 548665 out of bounds (size: 544960, this: 0x33702e0)
Error in <TArrayF::At>: index 548533 out of bounds (size: 544960, this: 0x3370300)
Error in <TArrayF::At>: index 548664 out of bounds (size: 544960, this: 0x3370300)
Error in <TArrayF::At>: index 548534 out of bounds (size: 544960, this: 0x3370300)
Error in <TArrayF::At>: index 548665 out of bounds (size: 544960, this: 0x3370300)
POINT EXECUTION *********************
**** GTRIGI: IEVENT= 26432 IDEVT= 26432 Random Seeds = 1733690142 0

In the last we get this:

INFO ] FairPrimaryGenerator: (Event 26680) 5 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 268420.294198 (ns)
POINT EXECUTION *********************
**** GTRIGI: IEVENT= 26681 IDEVT= 26681 Random Seeds = 1733690142 0
[INFO ] FairPrimaryGenerator: (Event 2668**** GTRIGI: IEVENT= 26431 IDEVT= 26431 Random Seeds = 1733690142 0
[INFO ] FairPrimaryGenerator: (Event 26431) 5 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 265938.772715 (ns)
Error in <TArrayF::At>: index 548533 out of bounds (size: 544960, this: 0x33702c0)
Error in <TArrayF::At>: index 548664 out of bounds (size: 544960, this: 0x33702c0)
Error in <TArrayF::At>: index 548534 out of bounds (size: 544960, this: 0x33702c0)
Error in <TArrayF::At>: index 548665 out of bounds (size: 544960, this: 0x33702c0)
Error in <TArrayF::At>: index 548533 out of bounds (size: 544960, this: 0x33702e0)
Error in <TArrayF::At>: index 548664 out of bounds (size: 544960, this: 0x33702e0)
Error in <TArrayF::At>: index 548534 out of bounds (size: 544960, this: 0x33702e0)
Error in <TArrayF::At>: index 548665 out of bounds (size: 544960, this: 0x33702e0)
Error in <TArrayF::At>: index 548533 out of bounds (size: 544960, this: 0x3370300)
Error in <TArrayF::At>: index 548664 out of bounds (size: 544960, this: 0x3370300)
Error in <TArrayF::At>: index 548534 out of bounds (size: 544960, this: 0x3370300)
Error in <TArrayF::At>: index 548665 out of bounds (size: 544960, this: 0x3370300)
POINT EXECUTION *********************
**** GTRIGI: IEVENT= 26432 IDEVT= 26432 Random Seeds = 1733690142 0

INFO ] FairPrimaryGenerator: (Event 26680) 5 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 268420.294198 (ns)
POINT EXECUTION *********************
**** GTRIGI: IEVENT= 26681 IDEVT= 26681 Random Seeds = 1733690142 0
[INFO ] FairPrimaryGenerator: (Event 26681) 5 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 268423.743886 (ns)
POINT EXECUTION *********************
**** GTRIGI: IEVENT= 26682 IDEVT= 26682 Random Seeds = 1733690142 0
[INFO ] FairPrimaryGenerator: (Event 26682) 5 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 268429.837210 (ns)
kumar@ikp565:/private/kumar/pandaroot/macro/run/shyamana/dedxband> 1) 5 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 268423.743886 (ns)
POINT EXECUTION *********************
**** GTRIGI: IEVENT= 26682 IDEVT= 26682 Random Seeds = 1733690142 0
[INFO ] FairPrimaryGenerator: (Event 26682) 5 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 268429.837210 (ns)
kumar@ikp565:/private/kumar/pandaroot/macro/run/shyamana/dedxband>

[Updated on: Tue, 01 October 2013 10:15] by Moderator

Report message to a moderator

Re: Problem in simulating 100000 particles [message #15521 is a reply to message #15520] Mon, 23 September 2013 10:17 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
Your computer has not enough RAM memory, I think.
Try less events.
Re: Problem in simulating 100000 particles [message #15522 is a reply to message #15521] Mon, 23 September 2013 10:28 Go to previous messageGo to next message
Shyam Kumar is currently offline  Shyam Kumar
Messages: 78
Registered: September 2012
Location: Mumbai, Maharashtra India
continuous participant
From: *ext.kfa-juelich.de
Thank you for reply
can you give me some details of Pid by forward time of flight?
and in the macro plot_pid.C written by you which tof beta(GetToFBeta) you have taken for barrel or fTOF.
Re: Problem in simulating 100000 particles [message #15523 is a reply to message #15522] Mon, 23 September 2013 10:32 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
There is no assigned PID available for tof and ftof, you have to do your own selection using beta or mass2.
Re: Problem in simulating 100000 particles [message #15524 is a reply to message #15523] Tue, 24 September 2013 10:22 Go to previous messageGo to next message
Shyam Kumar is currently offline  Shyam Kumar
Messages: 78
Registered: September 2012
Location: Mumbai, Maharashtra India
continuous participant
From: *ext.kfa-juelich.de
Hi,
I have run the simulation after the compile time of root file why it is giving error? Although I am able to open the root file in TBrowser.

kumar@ikp565:/private/kumar/pandaroot/macro/run/shyamana/dedxband> root -l sim_complete1.root
root [0]
Attaching file sim_complete1.root as _file0...
Error in <TClonesArray::SetClass>: called with a null pointer
root [1]
Re: Problem in simulating 100000 particles [message #15525 is a reply to message #15524] Tue, 24 September 2013 12:22 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 2.235.190*
This is already known and it will be fixed soon. It does not affect the data.
Previous Topic: [FIXED] Bug in PndEmcAsicPulseshape ?
Next Topic: [FIXED] Error in adding a new detector
Goto Forum:
  


Current Time: Tue Nov 12 19:34:56 CET 2024

Total time taken to generate the page: 0.00682 seconds