Hum I’m facing a tough challenge…
Here are the fact:
All my data are in a root file. This root file is filled with a TTree. The TTree presents 24 branches (corresponding to my number of detectors). Each branch is filled with TObjectArray (in this precise case 333). And each TObectArray is filled with TClonesArray (about 12000). Finally each TClonesArray is filled with three datas: Energy, time and a “marker” for each hit on a detector.
In the same branches TClonesArray are ordered in time…
What I want to do, is to fill a TH2F with the energy of hits coming from the first branch and of the second branch only if the time that separate these two hits is smaller than a defined value. I already have a algorithm to do that kind of coincidences… but I fear that the access time is to long. So I would like to kwon what are the fastest root functions I can use to reach my goal…
If someone have any proposition I’m ready to buy it!!
Thank you
Matthieu