Well, i think I solved the "singleton"-like problem by removing the static declarations in Event.h: private: [...] static TClonesArray *fgTracks; ^^^^^^ static TH1F *fgHist; ^^^^^^ and by accordingly modifying the Event.cxx (in particular I commented the lines right after ClassImp //TClonesArray *Event::fgTracks = 0; //TH1F *Event::fgHist = 0; and the Reset() member function.) Now it seems to work good.... (well.. at the moment it wroks, then who knows?) Thank you. Tommaso -- ----------------------- Dr. Tommaso Chiarusi Dipartimento di Fisica Universita' di Bologna INFN. Sez. Bologna Tel +39.051.209.5234 Fax +39.051.209.5269 -----------------------
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET