GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Sorting objects
Re: Sorting objects [message #18875 is a reply to message #18872] Mon, 11 January 2016 11:27 Go to previous messageGo to previous message
Marcel Tiemens is currently offline  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.
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CHEP2016 abstract submission open!
Next Topic: Broken FairLinks?
Goto Forum:
  


Current Time: Thu Dec 05 16:46:45 CET 2024

Total time taken to generate the page: 0.00857 seconds