Hallo, in the documentation it is stated that no pointer variable in own classes should be initialized with an object, i.e. list = new TList() is not ok. When looking at the definition of Event.h in the test directory, I observe the following: i) The variable fTracks is only an alias for fgTracks, which is allowed to be initialized because it's static. What is actually the sense of the parallel use of fTracks and fgTracks ? ii) Two variables, fHighPt and fMuons, of type TRefArray* are initialized in the default contructor. These are just reference arrays, but is the memory management different in this case? Best regards, Volker -- Dr. Volker Hejny Tel: 02461/616853 ** Institut f. Kernphysik Fax: 02461/613930 ** ---------------------------------------------------------------- ** ** --- Forschungszentrum Juelich GmbH, D-52425 Juelich **
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:39 MET