Hi, For those who use the libTrackUtil located in my brahms_app area, I have added a new module called SaveTrackNoModule. It saves the number of local tracks into BrDataObject objects and store them into the output node. The name of these objects are: "NoTrack MRS" "NoTrack FFS" "NoTrack BFS" The unique ID is used like this: MRS: SetUniqueID(noTpm1*100 + noTpm2); FFS: SetUniqueID(noT1*100 + noT2); BFS: SetUniqueID(noT3*10000 + noT4*100 + noT5); The way to get the information back is: BrDataObject* mrs = inNode->GetObject("NoTrack MRS"); Int_t nTpm1 = mrs->GetUniqueID()/100; // integer division Int_t nTpm2 = mrs->GetUniqueID() - nTpm1*100; same for FFS and BFS. Ciao Djam -- Djamel Ouerdane ------------------------------------------o | Niels Bohr Institute | Home: | | Blegdamsvej 17, DK-2100 Ø | Jagtvej 141 2D, | | Fax: +45 35 32 50 16 | DK-2200 Copenhagen N | | Tel: +45 35 32 52 69 | +45 35 86 19 74 | | http://www.nbi.dk/~ouerdane | | ouerdane@nbi.dk | o---------------------------------------------------------o
This archive was generated by hypermail 2b30 : Mon Apr 15 2002 - 05:43:52 EDT