Home » PANDA » PandaRoot » General » Access to EventHeader. after Digitization
|
|
|
|
|
|
|
Re: Access to EventHeader. after Digitization [message #19919 is a reply to message #19293] |
Mon, 21 November 2016 10:05 |
Michael Papenbrock
Messages: 24 Registered: September 2014
|
continuous participant |
From: *physics.uu.se
|
|
Dear Radek,
I implemented the change and it seems to be working for the first event, i.e. the event time for the first event is carried over and can be accessed. However, for subsequent events I get the output below. The returned value of GetEventTime() is always the one of the first event.
Error in <TClonesArray::At>: index 0 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 1 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 2 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 3 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 4 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 5 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 6 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 7 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 8 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 9 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 10 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 11 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 12 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 13 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 14 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 15 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 16 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 17 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 18 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 19 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 20 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 21 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 22 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 23 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 24 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 25 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 26 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 27 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 28 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 29 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 30 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 31 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 32 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 33 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 34 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 35 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 36 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 37 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 38 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 39 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 40 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 41 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 42 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 43 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 44 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 45 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 46 out of bounds (size: 0, this: 0x35df510)
Error in <TClonesArray::At>: index 47 out of bounds (size: 0, this: 0x35df510)
Cheers,
Michael
|
|
|
|
|
|
Re: Access to EventHeader. after Digitization [message #19941 is a reply to message #19293] |
Wed, 23 November 2016 12:30 |
Michael Papenbrock
Messages: 24 Registered: September 2014
|
continuous participant |
From: *physics.uu.se
|
|
Dear Radek,
this produced some interesting results. First, let me show you the number I got from a simulation of just 10 events:
ioManager->GetEventTime(): 8.89033 myEventHeader->GetEventTime(): 8.89033
ioManager->GetEventTime(): 239.621 myEventHeader->GetEventTime(): 8.89033
ioManager->GetEventTime(): 290.828 myEventHeader->GetEventTime(): 239.621
ioManager->GetEventTime(): 300.156 myEventHeader->GetEventTime(): 290.828
ioManager->GetEventTime(): 312.479 myEventHeader->GetEventTime(): 300.156
ioManager->GetEventTime(): 382.595 myEventHeader->GetEventTime(): 312.479
ioManager->GetEventTime(): 386.654 myEventHeader->GetEventTime(): 382.595
ioManager->GetEventTime(): 428.155 myEventHeader->GetEventTime(): 386.654
ioManager->GetEventTime(): 439.536 myEventHeader->GetEventTime(): 428.155
ioManager->GetEventTime(): 445.36 myEventHeader->GetEventTime(): 439.536
ioManager->GetEventTime(): 445.36 myEventHeader->GetEventTime(): 445.36
ioManager->GetEventTime(): 445.36 myEventHeader->GetEventTime(): 445.36
ioManager->GetEventTime(): 445.36 myEventHeader->GetEventTime(): 445.36
ioManager->GetEventTime(): 445.36 myEventHeader->GetEventTime(): 445.36
ioManager->GetEventTime(): 445.36 myEventHeader->GetEventTime(): 445.36
ioManager->GetEventTime(): 445.36 myEventHeader->GetEventTime(): 445.36
ioManager->GetEventTime(): 445.36 myEventHeader->GetEventTime(): 445.36
ioManager->GetEventTime(): 445.36 myEventHeader->GetEventTime(): 445.36
ioManager->GetEventTime(): 445.36 myEventHeader->GetEventTime(): 445.36
ioManager->GetEventTime(): 445.36 myEventHeader->GetEventTime(): 445.36
After simulation, I have 10 events in the root file as defined in my macro. After digitization I have 11, which is also expected, but after reconstruction there are 20. However, looking at the output above the last 10 seem to be more or less the same. Also, it is noteworthy that the FairEventHeader lags one event behind the FairRootManager. Overall, it looks like a step in the right direction!
Cheers,
Michael
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Nov 24 06:45:46 CET 2024
Total time taken to generate the page: 0.00614 seconds
|