Re: [ROOT] Inheriting

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Nov 23 2001 - 10:24:50 MET


Alberto,

My guess is that in your class AliITSneuron, you use a forward declaration
for TVector3, instead of #include "TVector3"

Rene Brun

Alberto Pulvirenti wrote:
> 
> Dear all,
> 
> I encountered some problems when creating a class of mine.
> It should inherit from `TVector3', where (as I saw) there isn't any
> default constructor (say, without arguments);
> 
> So, when compiling in the AliRoot systm, when compiling ITSCint.cxx I
> got the message:
> 
> In file included from ITSCint.h:95,
>                   from ITSCint.cxx:5:
> AliITSneuronV3.h:6: base class `TVector3' has incomplete type
> make: *** [tgt_Linux/ITSCint.o] Error 1
> 
> What's the matter? Maybe I may not create an heir of TVector3?
> 
> Alberto



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:09 MET