Re: Sorting objects [message #18875 is a reply to message #18872] |
Mon, 11 January 2016 11:27 |
Marcel Tiemens
Messages: 47 Registered: January 2014
|
continuous participant |
From: *kvi-cart.rug.nl
|
|
Hi Tobias,
Thanks for replying so quickly. Yes, I would like to sort using the timestamp. I'm not sure if the object derives from FairTimeStamp, but I think so, since the tasks creating the EmcClusters use calls like FairRunAna::Instance()->IsTimeStamp()... If this isn't related, can you tell me if there's an easy way to check this? And if it does use FairTimeStamp, then how do you use the RingSorter?
Thank you for the GapEventBuilder suggestion, I was aware that I would need to run an additional algorithm for the packaging.
I indeed intend to use FairLinks for the linking, but have no idea if it's bidirectional or not. I use something like cluster->SetLink(FairLink("EmcDigi", iDigi)) to make the links for each cluster (and use the corresponding AddLink function for digis that are added to this cluster). It would go from the sorted branch to the unsorted one.
|
|
|