TPC: adding cluster occupancy to timeseries - #13277
Conversation
|
REQUEST FOR PRODUCTION RELEASES: This will add The following labels are available |
|
Hello @miranov25 @shahor02 I also get negative values. @shahor02 do you know if something is missing in the code? |
|
The value should always be positive. This appears to be nonsensical—even the value itself seems off. It looks like uninitialized memory junk. I assume that the algorithm should return something, even if it isn’t initialized properly. |
|
I see that in the GPUParam internally it is interpreted as AliceO2/GPU/GPUTracking/Base/GPUParam.h Line 62 in bdb541f unsigned int. However, this can hardly explain negative values.Could you check the size of vector? It should be ~32*3564/8/16.
Pinging to @davidrohr in case he sees something wrong with this way of extracting the occupancy array. |
|
Hello @matthias-kleiner . |
Thanks, now there are only positive values. The size of the vector is just |
@matthias-kleiner , what data are you reading? Is it 128 HBF/orbit? |
|
Hello @matthias-kleiner and @shahor02 Based on our test with Jens, I would expect to see approximately 900 values for standard settings. As Ruben suggested, it appears that you might be using the 128 HBF/orbit configuration. Are you using the pp 500 kHz data in that test? If it is pp 500 kHz, then the occupancy aligns closely with my expectations. Could you display the occupancy versus time? I suspect the smaller values are at the beginning and the end od the slot . I’m unsure about the spike at the end. |
|
The best will be to give me the access to that particular tree |
|
Here's an improved version of your message for better clarity and formality: I attempted to open the file provided by Matthias Kleiner, but encountered some issues with reading it, which seems to be a separate problem. However, I'm unclear about what happens when you request clusters using the following code: dataRequest->requestClusters(GID::getSourcesMask("TPC"), useMC);We are utilizing the workflow offline , and I'm not certain if we will obtain an occupancy estimator in this context. I had assumed that occupancy is calculated during the tracking phase while reading clusters. Is this approach feasible? |
|
Hello @matthias-kleiner Thank you. Good. Is this information included in the new file you provided? Still the spike at 0 is somehow surprising, so I have to check the content - after recompilation of O2. However, this seems to be bad news. It appears that to obtain occupancy data, we must run the full reconstruction, and we cannot repeat the time series extraction without completing the entire reconstruction process. |
|
The value from your plot, approximately 4.2 x 10^9, seems excessively high. This is likely due to a non-initialized array. It appears we should wait for David's input, as that number seems nonsensical. For reference: |
|
While I'm waiting for the O2 to recompile to the latest version, could you create a histogram for only a subset of the data? Here's the command: I'm trying to determine whether all the data are nonsensical or if only part of it is undefined. |
If you are using |
|
@matthias-kleiner @miranov25 note that the 1st bin of the array gives the integrated Nclusters, the timebins start from offset of 2: AliceO2/GPU/GPUTracking/Interface/GPUO2InterfaceRefit.cxx Lines 125 to 130 in 91ccc94 |
|
@matthias-kleiner do you have the log of the test with reader? As far as I can see the code, the GRP is loaded and for me the log says at 1st TF: |
|
Hello @matthias-kleiner, @shahor02, @davidrohr, We need the code for the apass4 production starting next week. From what we understand, the content of the histogram is reasonable, but the size has not been correctly initialized. I propose temporarily hardwiring the histogram length if this issue isn't resolved today. This approach was already agreed upon in our discussion with Jens. Do you also agree? If so, @matthias-kleiner, could you implement this change? We want to make similar inclusion into the AO2D, I was discussing that notion with David (Chinelatto) in mattermost. Best regards, Marian |
As I understand for the apass4 production the size will be correct, as I observed the problem with the size only when re-running the workflow with the local files. I think we can fix this also later? |
|
Well, as youbsay, you can easily just cut it to the 32 orbit length in the tine series workflow. I think that is the easiest solution before we have a proper fix
I woukd not fix the size, but just cut it if it is longer.
|
|
@matthias-kleiner , can you make fix as @davidrohr suggested? |
I can restrict it to a maximum of 912 and make it configutable. Or is there some way to calculate the size what it should be for given number of orbits per TF? |
|
I suggest to merge and add it to the dependencies for PBpb apass4. Can you post new file to the lustre so I can check the content? |
* TPC: adding cluster occupancy to timeseries * fixing type of vector * Restricting maximum size of occpancy vector (cherry picked from commit fba0d4f)



No description provided.